Autodesk.DesignScript.Runtime
Namespace with 12 public types
Classes
AllowRankReductionAttribute
This attribute can be applied to methods that return collection of
objects, but with some combination of input parameters it returns a
collection of single object and at designscript side we want the method
to return a single object instead of a collection of single object.
ArbitraryDimensionArrayImportAttribute
This attribute is used to marshal parameters or return value of a method
as arbitrary dimension array in DesignScript VM. Usually this attribute
is expected to be applied on IEnumerable derived object types. This
attribute should be used if you expect the IEnumerable parameters or
return value may hold nested collection.
CanUpdatePeriodicallyAttribute
DefaultArgumentAttribute
This attribute can be applied to parameter to specify a default
argument expressions.
GraphicDataProviderAttribute
This attribute is used to specify the Type of class that implements
IGraphicDataProvider interface in the specified assembly. This
attribute can be used only once at assembly level. Having this attribute
saves the cost of reflection on each exported types to find the type
that implements IGraphicDataProvider interface.
IsObsoleteAttribute
This attribute indicates the node is obsolete
IsVisibleInDynamoLibraryAttribute
This attribute is used to specify whether the item will be displayed
in the library.
KeepReferenceAttribute
This attribute indicates the parameter will be referenced by the return
object, hence its DS wrap object shouldn't be disposed even it is out
of scope. The life-cycle of parameter will have the same life-cycle as
the return object.
Note the return object should be reference type.
MultiReturnAttribute
This attribute describes keys in the returned dictionary of a method.
PreferredShortNameAttribute
This attribute can be applied to class to give a hint for generating
variable name in node to code. For example, generating variable "vec"
for Vector.
RuntimeRequirementAttribute
This attribute can be applied to method which requires some runtime
support from DesignScript, e.g., tracing.
SupressImportIntoVMAttribute
This attribute is used to specify whether the item will be imported
into the VM.