Command Window
- Last UpdatedNov 14, 2025
- 2 minute read
To set the mass representation level (to level 6 for example):
REPRE MASS 6
The Arc Tolerance for graphical representation is also a controlling factor:
REPRE DARCTOL 10mm - This is the default
REPRE DARCTOL 1mm - This is a finer representation.
The basic commands used for calculating Mass Properties are:
-
Volume
NVOL, GVOL, RVOL - For Net, Gross or Rough Volume. Net calculations consider all negatives, whereas Gross ignores negatives, and Rough is a quicker version of Gross often useful when calculating many elements or complex shapes.
-
Surface
NSRF, GSRF, RSRF
-
Weight
NWEI, GWEI, RWEI
-
Centre of Gravity
NCOFG, GCOFG, RCOFG

In addition to these basic commands it is also possible to use the following syntax:
Volume
To calculate the Volume that is ‘within’ an area definition (AREADE) - /room1 for example:
|
!args[1]=‘inside’ !args[2]=/room1 !nvol=!!ce.attribute(‘nvol’,!args) |
Gives the net Volume of the current element that is within the room1 |
|
NVOL(‘inside’ /room1 ) |
This is as above but can be used in the standard Report Utility |
|
GVOL(‘outside’ /room1 ) |
Gives the Gross Volume of the current element that is outside of /room1 |
|
!args[1]=‘free’ !args[2]=/room1 !gvol=!!ce.attribute(‘gvol’,!args) |
Gives the Free space in /room1 |
Surface
To calculate the Surface that is ‘within’ an area definition (AREADE) - /room1 for example:
|
!args[1]=‘inside’ !args[2]=/room1 !nsrf=!!ce.attribute(‘nsrf’,!args) |
Gives the net Surface of the current element that is within the room1 |
|
NSRF(‘inside’ /room1 ) |
This is as above but can be used in the standard Report Utility. |
|
GSRF(‘outside’ /room1 ) |
Gives the Gross Surface of the current element that is outside of /room1. |
Note:
The ‘free’ option is not applicable to surface.
Weight and CofG do not currently support inside/outside qualifiers.
All command line functionality is available in the Mass Properties Utility window.
Other Options
In addition to the inside/outside , options described above, there are other options; namely wet/dry and only/all. for example,
|
NWEI('wet') |
Gives the weight or a pipe or equipment including any fluid weight |
|
NWEI('dry') |
Gives the weight or a pipe or equipment excluding any fluid weight |
|
NWEI('only') |
Gives the weight of an element only, excluding any members of the element |
|
NWEI('all') |
Gives the weight of an element including the weight of any members of the element |
Any of the above options can be combined in any order.