Returns the default item of the given type. In most cases this will be the element with an element ID of "default".
"machineElements_var" is a variable referencing a MachineElements object.
|
"machineElements_var" is a variable referencing a MachineElements object.
|
Type | Description |
MachineElement | Returns the specified Element or null if no matching type ID is found. |
Name | Type | Description |
typeId | string | Element typeId to get the default for. See staticTypeId for the desired element type. |