SampleApplicationSetVar
Overview
This C# programming manual provides a practical demonstration of how to set variable.
Sample code
For example:
| Name | Value |
|---|---|
| Name | FileDia |
| Value | True |
var app = new Beaver.BcadApplication();
var doc = app.ActiveDocument;
if (doc == null)
doc = app.Documents.Add();
var stp = doc.STEPDocument;
doc.SetVariable("FileDia", "True");