NumMUParts (MUs)

Syntax

<MU-Path>.NumMUParts → integer

The read-only attribute NumMUParts returns the number of MUs located on the MU designated by <MU-Path> as a whole or in part.

For length-oriented objects an MU may have exited the object with its front part while the rear is still on the object. In this case NumMUParts counts both lengths occupied separately, although they form part of a single MU.

Note:

The method NumMu returns the number of MUs whose booking point is located on the object. On point-oriented objects the methods NumMUParts and NumMU always return the same value.

Return Value

The return value has the data type integer.

Example

print .Models.container:2.NumMuParts

Related Topic

NumMu