Solid Operations
Methods Introduced:
The method
pfcSolid::GetGeomOutline returns the three-dimensional bounding box for the specified solid.
|
Do not use pfcSolid::GetGeomOutline to calculate the outline of a solid as the dimensions of the boundary box could be slightly bigger than the outline dimensions of the geometry. Use pfcSolid::EvalOutline to compute an accurate outline of a solid.
|
The method
pfcSolid::GetSurfaceSolidBody returns the body to which the surface belongs.
The method
pfcSolid::GetEdgeSolidBody returns the body to which the edge belongs.
The method
pfcSolid::EvalOutline also returns a three-dimensional bounding box, but you can specify the coordinate system used to compute the extents of the solid object.
The method
pfcSolid::GetIsSkeleton determines whether the part model is a skeleton or a concept model. It returns a true value if the model is a skeleton, else it returns a false.
The method
pfcSolid::ListGroups returns the list of groups including UDFs in the solid.
The method
wfcWSolid::GetSolidFeatureStatusFlags returns a list of objects representing the status of each feature in the model.
The method
wfcWSolid::GetIsNoResolveMode returns
True if the model regeneration is set to no resolve mode.
The method
wfcStyleState::IsStyleStateDefault determines if the display style of the solid component is the default style for the owner model.
The method wfcStyleState::GetStyleStateFromName returns the handle to the specified style state in the component with the style state name as the input argument.
The method
wfcWSolid::GetStyleStateFromId returns the handle to the specified style state in the component with the style state ID as the input argument.
Use the method
wfcWSolid::GetActiveStyleState to get the current active style state in the solid.
The method
wfcWSolid::ActivateStyleState activates the specified style state as current display style. The input arguments to this method are:
• WStyleState—Specifies the handle to the style state.
• RedisplayFlag—Specifies if the assembly must be displayed to the set display style in the call to the method. If set to True, user must call the required methods to regenerate the assembly.
The method
wfcWSolid::ListStyleStateItems returns a list of style states in the solid.
The method
wfcWSolid::GetDisplayOutline returns the maximum and minimum values of x, y, and z coordinates for the display outline of the solid, with respect to the default coordinate system.
The method
wfcWSolid::FindShellsAndVoids returns a list of surface-contour pairs for each shell and void in the solid as a
wfcShellData object. When a surface is split it has more than one external contour. In this case the contours may belong to different shells.
The method
wfcShellData::GetShellOrders returns information about the ordered list of surface-contour pairs in a solid.
The method
wfcShellOrder::GetOrientation returns an integer value to indicate the orientation of the shell.
1 specifies that the shell is oriented outward and
-1 specifies that the shell is oriented inward, that is, it is a void.
The method
wfcShellOrder::GetFirstFace returns the index of the first face for the specified shell or void.
The method
wfcShellOrder::GetNumberOfFaces returns the number of faces in the shell.
A single shell or void can consist of many shells or voids within it. The method
wfcShellOrder::GetAmbientShell returns the index of the ambient shell, that is, the smallest shell inside which the specified shell is located. The method returns
-1 if the specified shell is external and is not located inside any other shell.
The method
wfcShellData::GetShellFaces returns information about the shell surface and contour.
The method
wfcShellFace::GetSurfaceId returns the ID of the shell surface.
The method
wfcShellFace::GetContour returns the information about the contour as a
pfcContour object.
Use the method wfcSolid::CheckFamilyTable to check if the specified solid has a family table associated with it. The method also checks whether the associated family table is empty.