Introduction to Solid Body
This section describes how to access, create, or delete bodies in a model.
In Creo+ 7.0.0.0 and later, the term “solid body” denotes a container object for solid geometry.
In earlier versions of Creo+ all solid geometry in a part is considered as one piece of a single material, even when the geometry has disjoint volumes. Starting in Creo+ 7.0.0.0, you can create parts that contain one or more geometric bodies. Each body can be handled individually, and can have different characteristics. For example, you can assign a different material to each body.
Bodies contain only solid geometry. Nonsolid entities, like datums, curves, and quilts, are not contained in any body.
When you create a new part, it has an empty body in it. This body will contain the solid geometry created by the features. If no solid geometry is created, or as long as the part contains only nonsolid geometry, this body remains empty. A part must always have at least one body in it.
When you retrieve a part that was created using a version earlier of Creo+ , it shows a single body in it. This body contains all the solid geometry in the part, if any exists.
Using Creo+ solid body feature, you can create parts with one or more geometric bodies. A body consists of solid geometry of the same material. You can assign a different material to each body and a single part can have more than one material.
Solid Body Objects
The structure ProSolidBody describes the contents of the solid body object. This object uses the same declaration as the ProModelitem object, which is as follows:
typedef struct pro_model_item
{
ProType type;
int id;
ProMdl owner;
} ProSolidBody;