Class DesignVariableAPI
Last update: 16.07.2025Namespace: VM.API.Pre
Assembly: VM.API.Pre.dll
This class implements APIs for
public static class DesignVariableAPI
Inheritance
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Methods
CreateDesignVariable(IDocument, string, ExpressionValueVariable, SymmetricType)
Create
[NotNullOrEmpty(new string[] { "value" })]
public static Obj CreateDesignVariable(this IDocument document, string name, ExpressionValueVariable value, SymmetricType symmetricType = SymmetricType.None)
Parameters
document IDocument
The document to create the design variable.
name string
The name of the design variable.
value ExpressionValueVariable
The value to create the design variable.
symmetricType SymmetricType
The symmetric type of the new
Returns
The new
Exceptions
Will be thrown if 'value' argument is null.