| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| int | AddEntity
(SectionEntity Ent)
Add an entity to section. |
| void | AutoDimension
()
|
| void | DeleteEntity
(int EntId)
Delete an entity from section. |
| SectionEntity | GetEntity
(int EntId)
Get an entity from section. |
| intseq | GetEntityIds
()
Get Identifier of all valid entities in the section |
| double | GetEpsilon
()
Gets epsilon value of the section |
| boolean | GetIntentManagerMode
()
Check if Intent Manager mode is used for the specified section |
| Matrix3D | GetLocation
()
Gets location of the section |
| /*optional*/ String | GetName
()
Gets name of the section |
| SectionDimIds | GetSectionDimensions
()
Returns corresponding arrays of section dimension identifiers and solid dimension identifiers. |
| SectionEntities | ListSectionEntities
()
Lists entities present in the section |
| void | Regenerate
()
|
| void | ReplaceEntity
(int OriginalEntId, int NewEntId)
Replaces an entity from the specified section with another entity from the same section (for redefine purposes). |
| void | SetActive
()
Set a copy of the section to be a current active sketcher section. |
| void | SetEpsilon
(double Value)
Sets epsilon value of the section |
| void | SetIntentManagerMode
(boolean Value)
Set Intent manager mode ON or OFF.Section conversion invoking section resolve is done here. |
| void | SetName
(String Name)
Sets name of the section |
| Methods Inherited from Interface com.ptc.pfc.pfcBase.ActionSource |
|---|
| AddActionListener, RemoveActionListener, AddActionListenerWithType |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Parent |
|---|
| GetChild |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ParameterOwner |
|---|
| GetParam, CreateParam, ListParams, SelectParam, CreateParamWithUnits, SelectParameters |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WParameterOwner |
|---|
| ExportParameterTable, ApplyParameterTableset, MathcadParametersSet, MathcadInputParametersGet |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.RelationOwner |
|---|
| DeleteRelations, GetRelations, SetRelations, RegenerateRelations, EvaluateExpression |
| Methods Inherited from Interface com.ptc.wfc.wfcModelItem.WRelationOwner |
|---|
| GetRelationConstraints, UnitsUsed, UseUnits, EvaluateExpressionWithUnits |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.ModelItemOwner |
|---|
| GetItemByName, GetItemById, ListItems |
| Methods Inherited from Interface com.ptc.pfc.pfcView.ViewOwner |
|---|
| RetrieveView, GetView, SaveView, GetCurrentViewTransform, SetCurrentViewTransform, CurrentViewRotate, ListViews, GetCurrentView |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Method Detail |
|---|
| AddEntity |
|---|
| int | AddEntity | (SectionEntity Ent) |
| Add an entity to section. Exceptions thrown (but not limited to): XToolkitOutOfMemory - There was a memory error. XToolkitLineTooLong - In the case of a Pro2dTextdef being added, the text string exceeded the internal limitation of Creo Parametric. XToolkitInvalidName - In the case of a Pro2dTextdef being added, the text font is not supported by Creo Parametric. XToolkitInvalidItem - Invalid entity type
|
| DeleteEntity |
|---|
| void | DeleteEntity | (int EntId) |
Delete an entity from section.
|
| GetEntity |
|---|
| SectionEntity | GetEntity | (int EntId) |
| Get an entity from section. Exceptions thrown (but not limited to): XToolkitOutOfMemory - There was a memory error. XToolkitLineTooLong - In the case of Pro2dTextdef, the text string exceeded the internal limitation of Creo Parametric. XToolkitInvalidName - In the case of Pro2dTextdef, the text font name violated the Pro2dTextdef conventions. XToolkitInvalidType - This Creo Parametric entity type is not available in Creo Parametric TOOLKIT environment.
|
| ReplaceEntity |
|---|
| void | ReplaceEntity | (int OriginalEntId, int NewEntId) |
Replaces an entity from the specified section with another entity from the same section (for redefine purposes).
|
| SetIntentManagerMode |
|---|
| void | SetIntentManagerMode | (boolean Value) |
| Set Intent manager mode ON or OFF.Section conversion invoking section resolve is done here. By default Intent Manager is OFF.
|
| GetIntentManagerMode |
|---|
| boolean | GetIntentManagerMode | () |
Check if Intent Manager mode is used for the specified section
|
| GetName |
|---|
| /*optional*/ String | GetName | () |
Gets name of the section
|
| SetName |
|---|
| void | SetName | (String Name) |
| Sets name of the section Exceptions thrown (but not limited to): XToolkitFound - Could not rename the section because another section with this name already exists.
|
| GetEpsilon |
|---|
| double | GetEpsilon | () |
Gets epsilon value of the section
|
| SetEpsilon |
|---|
| void | SetEpsilon | (double Value) |
Sets epsilon value of the section
|
| GetLocation |
|---|
| Matrix3D | GetLocation | () |
Gets location of the section
|
| ListSectionEntities |
|---|
| SectionEntities | ListSectionEntities | () |
| Lists entities present in the section Array size returned by this method may be different from Section.GetEntityIds() since this method does not list dummy entities. Exceptions thrown (but not limited to): XToolkitOutOfMemory - There was a memory error. XToolkitLineTooLong - In the case of Pro2dTextdef, the text string exceeded the internal limitation of Creo Parametric. XToolkitInvalidName - In the case of Pro2dTextdef, the text font name violated the Pro2dTextdef conventions. XToolkitInvalidType - This Creo Parametric entity type is not available in Creo Parametric TOOLKIT environment.
|
| GetEntityIds |
|---|
| intseq | GetEntityIds | () |
Get Identifier of all valid entities in the section
|
| SetActive |
|---|
| void | SetActive | () |
| Set a copy of the section to be a current active sketcher section. Caller is responsible for the section validity. This section will also be added to Undo/Redo stack. The section must be solved or to be in Intent Manager mode. Exceptions thrown (but not limited to): XToolkitBadContext - Section not in sketcher mode or IntentManager is Off.
|
| Regenerate |
|---|
| void | Regenerate | () |
|
| AutoDimension |
|---|
| void | AutoDimension | () |
|
| GetSectionDimensions |
|---|
| SectionDimIds | GetSectionDimensions | () |
Returns corresponding arrays of section dimension identifiers and solid dimension identifiers.
|