SOLIDOS API - SolidosGetNodeParam
SolidosGetNodeParam(nodeHandle, propertyName, runtimeData) - Returns the value of a property of a SOLIDOS object
- Input parameters
- nodeHandle (Dynamo: String, Visual Lisp: Entity Name) - the identifier of the object to be processed
- propertyName (String) - the name of the property from which to retrieve the value
See the topic Property Categorization to identify the name of the properties
- runtimeData (Object) - a parameter for certain properties
by default it is null
- Output (Object) - the property value, or null if it does not exist
- Errors that may occur
- InvalidHandle - the nodeHandle provided is not valid, or is not from a SOLIDOS object
- InvalidProperty - the property name is not valid, or is not present in the object
- NotSupportedType - the property is not recognized by Dynamo
Example of usage in Visual Lisp:
(setq device (handent "AF021")
length (SolidosGetNodeParam device "Length3D" nil))
;35.78
Example usage in Dynamo:
device = "AF021";
length = SolidosAPI.SolidosGetNodeParam(device, "Length3D", null);
#35.78