Home Search

DriveWorks Pro 21
Calculate Estimated Volume Data 

Send Feedback

Calculate Estimated Volume Data

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 NameDescription
Preview Control NameName of the 3D Preview control.
Source File PathThe path to the Drive3D file that will be imported. The path can be absolute or relative to the project file.
Decimal PlacesThe number of decimal places to round the result to between 0 and 15.

Using the Task in a Specification Macro

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'.

Status Outputs

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:


  • The Source file was successfully read.

Success with Warnings

  • N/A - should never be fulfilled.

Failed (one of the following occurred)

  • General failure - Check the specification report for more details.