PartGroup class is used to specify a part group.
The class can be called from GroupList class.
.
More...
Public Member Functions | |
| double | Area () |
| Returns the area for a PartGroup in 2D model. More... | |
| String | GetName () |
| Returns the name of part group. More... | |
| Part * | GetPart (Variant &var) |
| Returns a Part object by specifying part ID or name. More... | |
| Part * | GetPartByIndex (int index) |
| Returns a Part object by specifying the index. More... | |
| Variant | GetPartIDs () |
| Returns the part ID list. More... | |
| bool | IsValid () |
| Returns True if an object is valid. More... | |
| int | NumParts () |
| Returns number of parts. More... | |
| double | Volume () |
| Returns the volume for a part group in 3D model. More... | |
PartGroup class is used to specify a part group.
The class can be called from GroupList class.
.
Example of obtaining the class object:
| double PartGroup::Area | ( | ) |
| String PartGroup::GetName | ( | ) |
Returns the name of part group.
| Part * PartGroup::GetPart | ( | Variant & | var | ) |
| Part * PartGroup::GetPartByIndex | ( | int | index | ) |
| Variant PartGroup::GetPartIDs | ( | ) |
Returns the part ID list.
| bool PartGroup::IsValid | ( | ) |
Returns True if an object is valid.
| int PartGroup::NumParts | ( | ) |
Returns number of parts.
| double PartGroup::Volume | ( | ) |
Returns the volume for a part group in 3D model.