Solid Body Information
The state of the body is derived from the features and geometry in which the body is created.
Methods introduced:
The method
IpfcSolidBody.GetBodyState() specifies the state of the body using the enumerated type
EpfcSolidBodyState. The valid values are:
• EpfcBODY_STATE_MISSING
• EpfcBODY_STATE_CONSUMED
• EpfcBODY_STATE_NO_CONTR_FEAT
• EpfcBODY_STATE_NO_GEOMETRY
• EpfcBODY_STATE_ACTIVE
The method
IpfcSolidBody.IsConstruction() checks if the body is a construction body. The method returns a
True if solid body is a construction body.
The method
IpfcSolidBody.ListSurfaces() lists all the surfaces in the specified body
The method
IpfcSolid.GetDefaultBody() returns the default body in the specified solid.
The method
IpfcSolidBody.GetFeatures() lists the features that are associated with the specified body.
Use the method
IpfcSolidBody.GetOutline() to retrieve the regeneration outline of a solid body, with respect to the base coordinate system orientation. This outline defines the boundary box of the body.
The method
IpfcSolidBody.IsSheetmetal() checks if the specified body is an active sheetmetal body.
The method
IpfcSolidBody.GetDensity() determines the density of the body.
Use the method
IpfcSolidBody.GetMassProperty() to retrieve the mass properties of a body in the specified coordinate system.