Description:

Returns a volume; if the opt param is a bool "true/false" or "1/0" then open objects are inspected or ignored. if the opt param is a unit system as a string "millimeter" then the volume will be returned if the object is closed and in the specified unit system. Open objects return 0

Syntax:
public static double Volume(
string id,
string opt
)
Returns:
Type: double
Available since:
7.0

Description:

Returns a volume from an object Id. If allowOpenObjects = False objects which are open will return 0.0 as a volume.

Syntax:
public static double Volume(
string id,
string unitSystem,
string allowOpenObjects
)
Returns:
Type: double
Available since:
7.8

Description:

Returns the volume for the selected object id open objects return 0 volume

Syntax:
public static double Volume(
string id
)
Returns:
Type: double
Available since:
7.0

Nothing found