Autodesk.DesignScript.Runtime
Namespace with 14 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.
IsLacingDisabledAttribute
This attribute is applied to a function to indicate whether to
disable lacing strategy on this function or not.
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 type of return object should be reference type, either a
pointer or an array.
KeepReferenceThisAttribute
This attribute is applied to member function of zero touch libary.
It indicates the return object should keep a reference to "this"
object so that even "this" object is out of scope, it will not be
disposed.
Note the type of return object should be reference type, either a
pointer or an array.
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.