The state of the body is derived from the features and geometry in which the body is created.
Methods introduced:
The method
pfcSolid.SolidBody.GetBodyState specifies the state of the body using the enumerated type
pfcSolid.SolidBodyState. The valid values are:
|
• |
BODY_STATE_NO_CONTR_FEAT |
The method pfcSolid.SolidBody.IsConstruction checks if the body is a construction body. The method returns a True if solid body is a construction body.
The method pfcSolid.SolidBody.ListSurfaces lists all the surfaces in the specified body.
The method pfcSolid.Solid.GetDefaultBody returns the default body in the specified solid.
The method pfcSolid.SolidBody.GetFeatures lists the features that are associated with the specified body.
Use the method pfcSolid.SolidBody.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 pfcSolid.SolidBody.IsSheetmetal checks if the specified body is an active sheetmetal body.
The method pfcSolid.SolidBody.GetDensity determines the density of the body.
Use the method pfcSolid.SolidBody.GetMassProperty to retrieve the mass properties of a body in the specified coordinate system.