SOLIDOS API - SolidosGetPropertyType(parentHandle, objectName)
SolidosGetPropertyType(nodeHandle, propertyName) - Returns the type of a property of a SOLIDOS object
- Input parameters
- nodeHandle (Dynamo: String, Visual Lisp: Entity Name) - the identifier of the item you want to process
- propertyName (String) - the name of the property you want the type of
- Output (Type) - the type of the property
- Errors that may occur
- InvalidHandle - the nodeHandle provided is not valid or is not supported. of a SOLIDOS object
- InvalidProperty - the property name is not valid, or is not present in the object
- BadArgumentType - the value type is not compatible with the property type
- NotSupportedType - the property is not recognized by Dynamo
Example of usage in Visual Lisp:
(setq device (handent "AF021")
length (SolidosGetPropertyType device "Length3D" nil))
;"Double"
Example usage in Dynamo:
device = "AF021";
length = SolidosAPI.SolidosGetPropertyType(device, "Length3D", null);
#"Double"