When the task is run, it will calculate the volume of the 3D file at the specified source file path (rounded to the specified number of decimal places) and assign this to the Volume data output.
It will also calculate the centroid (rounded to the specified number of decimal places and converted to a pipe-delimited string) and assign this to the Centroid data output.
Property Name | Description |
---|---|
Preview Control Name | Name of the 3D Preview control. |
Source File Path | The path to the Drive3D file that will be imported. The path can be absolute or relative to the project file. |
Decimal Places | The number of decimal places to round the result to between 0 and 15. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros.
Volume
The estimated volume of the imported model (in cubic meters)
Centroid
The estimated centroid of the imported model (in millimeters) as a pipe bar delimited string in the format 'X|Y|Z'.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed (one of the following occurred)