Solid Bodies
This section describes the Web.Link functions that access the functions of a Creo Parametric part with multiple solid bodies.
Solid Body Information
The state of the body is derived from the features and geometry in which the body is created.
Methods Introduced:
  • pfcSolidBody.GetBodyState()
  • pfcSolidBody.IsConstruction()
  • pfcSolidBody.ListSurfaces()
  • pfcSolid.GetDefaultBody()
  • pfcSolidBody.GetFeatures()
  • pfcSolidBody.GetOutline()
  • pfcSolidBody.IsSheetmetal()
  • pfcSolidBody.GetDensity()
  • pfcSolidBody.GetMassProperty()
  • The method pfcSolidBody.GetBodyState() specifies the state of the body using the enumerated type pfcSolidBodyState. The valid values are:
    •  BODY_STATE_MISSING
    •  BODY_STATE_CONSUMED
    •  BODY_STATE_NO_CONTR_FEAT
    •  BODY_STATE_NO_GEOMETRY
    •  BODY_STATE_ACTIVE
    The method pfcSolidBody.IsConstruction() checks if the body is a construction body. The method returns a True if solid body is a construction body.
    The method pfcSolidBody.ListSurfaces() lists all the surfaces in the specified body
    The method pfcSolid.GetDefaultBody() returns the default body in the specified solid.
    The method pfcSolidBody.GetFeatures() lists the features that are associated with the specified body.
    Use the method pfcSolidBody.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 pfcSolidBody.IsSheetmetal() checks if the specified body is an active sheetmetal body.
    The method pfcSolidBody.GetDensity() determines the density of the body.
    Use the method pfcSolidBody.GetMassProperty() to retrieve the mass properties of a body in the specified coordinate system.