Methods Introduced:
The method
wfcSection::AddEntity takes as input the
wfcSectionEntity object that defines the section entity type using the enumerated type
wfcSection2dEntType. The following types of entities are defined:
|
• |
wfcSEC_ENTITY_2D_CENTER_LINE |
|
• |
wfcSEC_ENTITY_2D_CIRCLE |
|
• |
wfcSEC_ENTITY_2D_COORD_SYS |
|
• |
wfcSEC_ENTITY_2D_POLYLINE |
|
• |
wfcSEC_ENTITY_2D_SPLINE |
|
• |
wfcSEC_ENTITY_2D_CONSTR_CIRCLE |
|
• |
wfcSEC_ENTITY_2D_BLEND_VERTEX |
|
• |
wfcSEC_ENTITY_2D_ELLIPSE |
|
• |
wfcSEC_ENTITY_2D_SEC_GROUP |
Some classes in
Creo Object
TOOLKIT C++ allow you to create and modify various types of section entities. The class
wfcSectionEntity is the parent class for the following entity classes:
|
• |
wfcSectionEntityBlendVertex |
|
• |
wfcSectionEntityCenterLine |
|
• |
wfcSectionEntityEllipse |
|
• |
wfcSectionEntityPolyline |
The method wfcSection::AddEntity outputs an integer that is the identifier of the new entity within the section. The Creo Object
TOOLKIT C++ application needs these values because they are used to refer to entities when adding dimensions.
The method wfcSection::DeleteEntity enables you to delete a section entity from the specified section.
The method wfcSection::GetEntity takes as input the integer identifier for a section entity and outputs a copy of the section entity object.
Use the method wfcSection::ListSectionEntities to retrieve the list of entities present in the specified section.
The method wfcSection::GetEntityIds returns the array of integer identifiers for the all the entities in the specified section.
The method wfcSectionEntity::GetSectionEntityType returns the section entity type using the enumerated type wfcSection2dEntType.