| Library | Package | Frames | Expand | Java Toolkit |
Note:Object TOOLKIT uses the same constants for defining Feature Element Trees as Creo Parametric TOOLKIT does. For specific constants describing specific feature types please refer to Creo Parametric TOOLKIT documentation and header files.
| Method Summary | |
|---|---|
| void | ActivateAutomaticSimpRep
(SimpRep SimpRep)
Activate user-defined rep as automatic simplified rep. |
| void | ActivateCombState
(CombState CombState)
Activates a combined state |
| void | ActivateStyleState
(StyleState WStyleState, boolean RedisplayFlag)
Activates the style state |
| FamilyTableStatus | CheckFamilyTable
()
Determines whether the specified solid has a family table, and if that family table is valid and/or empty. |
| void | CollapseDetailTree
(
/*optional*/
Window SolidWindow)
Collapse the tree for the solid in the window. |
| /*optional*/ Collection | CollectCurves
(ChainCollectionUIControls ChainControls,
/*optional*/
CollectCurvesFilter FilterMethod,
/*optional*/
Object AppData,
/*optional*/
CurveCollection AppendColl)
Asks the user to interactively create a collection of chains |
| /*optional*/ Collection | CollectSurfaces
(SurfaceCollectionInstrTypes InstrTypes,
/*optional*/
CollectSurfacesFilter FilterMethod,
/*optional*/
SurfaceCollection AppendColl)
Asks the user to interactively create a collection of surfaces |
| void | ConvertAutomaticSimpRep
(SimpRep SimpRep)
Convert user-defined rep to new automatic simplified rep preserving excluded/substituted data. |
| AnnotationFeature | CreateAnnotationFeature
(
/*optional*/
ComponentPath CompPath, boolean InvokeUI)
LICENSE: 222 Creates a new annotation feature in the model. |
| AnnotationPlane | CreateAnnotationPlaneFromView
(String ViewName)
|
| WSolidBody | CreateBody
()
Create a new body in solid. |
| CombState | CreateCombState
(String CombStateName, CombStateData CombStateData)
Create combined state |
| WFeature | CreateCustomFeature
(String CustomFeatXmlFile, String ElemTreeXmlFile, FeatCreateOptions Options,
/*optional*/
WRegenInstructions Instrs)
Create custom feature |
| Dimension | CreateDimension
(AnnotationPlane AnnotPlane, DimensionAttachments DimAttachs, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location)
LICENSE: 222 |
| AnnotationPlane | CreateFlatToScreenPlane
(boolean ScreenOrMdlPoint)
|
| DetailNoteItem | CreateFreeNote
(DetailTextLines TextLines, FreeAttachment Attach)
|
| LayerState | CreateLayerState
(LayerStateData LayerStateData)
Create Layer state from references. |
| DetailNoteItem | CreateLeaderNote
(DetailTextLines TextLines, Attachment NoteAttach, DetailLeaderAttachments LeadrAttachs)
|
| DetailNoteItem | CreateLeaderWithArrowTypeNote
(DetailTextLines TextLines, Attachment NoteAttach, DetailLeaderAttachments LeadrAttachs, AnnotationPlane AnnotPlane, LeaderArrowTypes Types)
LICENSE: 222 |
| DetailNoteItem | CreateOnItemNote
(DetailTextLines TextLines, AnnotationPlane AnnotPlane, ParametricAttachment Attach)
LICENSE: 222 |
| WDimension | CreateOrdinateDimension
(AnnotationType AnnotType, AnnotationElement AnnotationElement, DimensionAttachment DimAttach, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location)
LICENSE: 222 |
| WXSection | CreateParallelXSection
(String Name, int PlaneId, double Distance)
Create a Cross Section parallel to a given plane. |
| WXSection | CreatePlanarXSection
(String Name, int PlaneId, XSecCutobjType CutObjectType,
/*optional*/
intseq MemberIdTable, int QuiltId, boolean Flip,
/*optional*/
XSectionComponents XSecModels)
DEPRECATED: <incorrect deprecated ref> SUCCESSOR(S): WSolid.CreatePlanarXSectionWithOptions Create a Cross Section through a datum plane. |
| WXSection | CreatePlanarXSectionWithOptions
(String Name, Selection Plane, XSecCutobjType CutObjectType,
/*optional*/
Selection QuiltOrPart, boolean Flip,
/*optional*/
XSectionExcludeItems ExcludeItems,
/*optional*/
XSectionCreateData Data)
|
| Dimension | CreateRefDimension
(AnnotationPlane AnnotPlane, DimensionAttachments DimAttachs, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location)
LICENSE: 222 |
| DetailSymbolDefItem | CreateSymbolDefinition
(DetailSymbolDefInstructions Instructions)
|
| DetailSymbolInstItem | CreateSymbolInstance
(DetailSymbolInstInstructions Instructions, AnnotationPlane AnnotPlane)
LICENSE: 222 |
| WFeature | CreateZoneSectionFeature
(ZoneFeatureReferences RefData, String ZoneName)
Creates a Zone feature. |
| void | DeleteBody
(WSolidBody Body)
Deletes the specified body in solid. |
| void | DeleteCombState
(CombState CombState)
Deletes a combined state |
| void | DeleteFeatures
(intseq FeatIDs, FeatSuppressOrDeleteOptions Options,
/*optional*/
WRegenInstructions Instrs)
Deletes a list of features. |
| void | DisplaySolid
()
Displays the specified object. |
| void | ExpandDetailTree
(
/*optional*/
Window SolidWindow)
Expand the tree for the solid in the window. |
| ShellData | FindShellsAndVoids
()
For each shell and void of solid, returns surface-contour pairs which describe them. |
| CombState | GetActiveCombState
()
Gets the active combined state in solid |
| LayerState | GetActiveLayerState
()
Get active layer state on a model. |
| StyleState | GetActiveStyleState
()
Returns the current active style state |
| /*optional*/ ItemAppearanceAndTexturesSeq | GetAllAppearancesAndTextures
()
Gets the appearance properties, texture placement properties and texture properties applied on a model. These may not be the properties that are currently visible on the model because they may be overriden by other higher level color application. |
| CombStateAnnotations | GetAnnotationsOfActiveState
()
Gets annotations of active combined state |
| WAxis | GetAxis
(int AxisId)
Initializes the Axis handle |
| WCsys | GetCsys
(int CsysId)
>Returns Csys handle |
| WCurve | GetCurve
(int CurveId)
Returns curve handle |
| double | GetDefaultTextHeight
()
Obtains the default text height used for text in annotations and dimensions in the solid model. |
| Outline3D | GetDisplayOutline
(Matrix3D Matrix)
Computes the display outline of a solid. |
| WEdge | GetEdge
(int EdgeId)
Returns Edge handle |
| boolean | GetIsNoResolveMode
()
Get method for attribute "IsNoResolveMode" Returns true if the model regeneration is set to "no resolve mode"; false otherwise. |
| ModelClass | GetModelClass
()
Gets the ISO/DIN model class type for a solid model. |
| WPoint | GetPoint
(int PointId)
Returns Point handle |
| WQuilt | GetQuilt
(int QuiltId)
Returns Quilt handle |
| FeatureStatusFlags | GetSolidFeatureStatusFlags
()
Returns the list of objects representing the status of each feature in the model. |
| StyleState | GetStyleStateFromId
(int StyleStateId)
>Returns the handle to the specified style state |
| StyleState | GetStyleStateFromName
(String StyleStateName)
Returns the handle to the specified style state |
| double | GetTolerance
(ToleranceType Type, int Decimals)
Retreives the tolerance value for the specified solid, for the specified number of decimal places. |
| Feature | ImportAsFeat
(IntfDataSource IntfData,
/*optional*/
CoordSystem CoordSys,
/*optional*/
Boolean CutOrAdd,
/*optional*/
String Profile,
/*optional*/
Boolean DatumCurve)
Creates a new import feature in the solid (part). Assembly case is not supported. |
| /*optional*/ Features | ListChildOfExternalFailedFeatures
()
Returns a list, each element of which is a child of an external failed feature. |
| /*optional*/ Features | ListChildOfFailedFeatures
()
Returns a list, each element of which is a child of a failed feature. |
| CombStates | ListCombStates
()
Returns list of combined states of a solid |
| /*optional*/ DetailItems | ListDetailItems
(
/*optional*/
DetailType Type)
|
| LayerStates | ListLayerStates
()
Gets Layer state list. |
| StyleStates | ListStyleStateItems
()
Returns list of style state in the solid |
| void | LoadToleranceClass
(String ToleranceClassName)
This will load a tolerance class for Hole or Shaft ISO tols. |
| ProjectionInfo | ProjectPoint
(Point3D Point, double Tolerance)
finds a surface from the solid within the maximum distance, and returns the UV point of the projection of the point to that surface. |
| void | QuickPrint
(
/*optional*/
QuickPrintInstructions Instructions,
/*optional*/
String PFCFile)
Executes a quick print of a given solid model. |
| void | RefreshDetailTree
(
/*optional*/
Window SolidWindow)
Rebuild the tree for the solid in the window. |
| void | ReorderFeatures
(intseq FeatIDs, int NewFeatNum,
/*optional*/
WRegenInstructions Instrs)
Reorders a list of features. |
| void | ResumeFeatures
(intseq FeatIDs, FeatResumeOptions Options,
/*optional*/
WRegenInstructions Instrs)
Resumes a list of features. |
| DetailSymbolDefItem | RetrieveSymbolDefItem
(String FileName, DetailSymbolDefItemSource Source,
/*optional*/
String FilePath,
/*optional*/
Integer Version,
/*optional*/
Boolean UpdateUnconditionally)
LICENSE: 222 Retrieve a symbol definition. |
| void | SetModelClass
(ModelClass ModelClass)
Sets the ISO/DIN model class type for a solid model. |
| void | SetTolerance
(ToleranceType Type, int Decimals, double Tolerance)
Sets the solid's tolerance, at the specified number of decimal places, to the specified value. |
| void | SuppressFeatures
(intseq FeatIDs, FeatSuppressOrDeleteOptions Options,
/*optional*/
WRegenInstructions Instrs)
Suppresses a list of features. |
| SurfaceTessellationDataSeq | Tessellate
(double ChordHeight, double AngleControl, boolean IncludeQuilts)
|
| void | UpdateActiveLayerState
()
Update active layer state. |
| WFeature | WCreateFeature
(ElementTree Tree, FeatCreateOptions Options,
/*optional*/
WRegenInstructions Instrs)
Creates a feature from the Feature Element Tree |
| void | WRegenerate
(
/*optional*/
WRegenInstructions Instrs)
Regenerates the model accoding to provided instructions. |
| 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 |
| Methods Inherited from Interface com.ptc.wfc.wfcFamily.WFamilyMember |
|---|
| SelectRows, GetFamilyTableStatus, IsModifiable, EditFamilyTable, EraseFamilyTable, ShowFamilyTable |
| Method Detail |
|---|
| CreateBody |
|---|
| WSolidBody | CreateBody | () |
Create a new body in solid.
|
| DeleteBody |
|---|
| void | DeleteBody | (WSolidBody Body) |
Deletes the specified body in solid.
|
| GetIsNoResolveMode |
|---|
| boolean | GetIsNoResolveMode | () |
Returns true if the model regeneration is set to "no resolve mode"; false otherwise.
|
| WRegenerate |
|---|
| void | WRegenerate | ( /*optional*/ WRegenInstructions Instrs) |
| Regenerates the model accoding to provided instructions. This method generates XToolkitRegenerateAgain if the model is too complex to regenerate the first time.
|
| ListChildOfFailedFeatures |
|---|
| /*optional*/ Features | ListChildOfFailedFeatures | () |
| Returns a list, each element of which is a child of a failed feature. If no such feature found, returns NULL
|
| ListChildOfExternalFailedFeatures |
|---|
| /*optional*/ Features | ListChildOfExternalFailedFeatures | () |
| Returns a list, each element of which is a child of an external failed feature. If no such feature found, returns NULL
|
| GetSolidFeatureStatusFlags |
|---|
| FeatureStatusFlags | GetSolidFeatureStatusFlags | () |
Returns the list of objects representing the status of each feature in the model.
|
| WCreateFeature |
|---|
| WFeature | WCreateFeature | (ElementTree Tree, FeatCreateOptions Options, /*optional*/ WRegenInstructions Instrs) |
| Creates a feature from the Feature Element Tree Refer to the Release Notes for more information on restrictions of using this function with Multi-CAD models. This method cannot be used to create feature in component of the assembly. Use WSelection.CreateFeature(ElementTree, FeatCreateOptions, /*optional*/ WRegenInstructions) for creating feature in the component.
|
| DeleteFeatures |
|---|
| void | DeleteFeatures | (intseq FeatIDs, FeatSuppressOrDeleteOptions Options, /*optional*/ WRegenInstructions Instrs) |
Deletes a list of features.
|
| SuppressFeatures |
|---|
| void | SuppressFeatures | (intseq FeatIDs, FeatSuppressOrDeleteOptions Options, /*optional*/ WRegenInstructions Instrs) |
Suppresses a list of features.
|
| ResumeFeatures |
|---|
| void | ResumeFeatures | (intseq FeatIDs, FeatResumeOptions Options, /*optional*/ WRegenInstructions Instrs) |
| Resumes a list of features. If the input feature list contains features that are already resumed, this method generates an exception and does not resume suppressed features.
|
| ReorderFeatures |
|---|
| void | ReorderFeatures | (intseq FeatIDs, int NewFeatNum, /*optional*/ WRegenInstructions Instrs) |
| Reorders a list of features. This method reorders the list of features so that the location of the first feature will be NewFeatNum after the reorder. The list of feature ids must represent contiguous set of features in the model tree. Note:If reordering a group, all the features in the group (including the Group Header feature) must be included in the list.
|
| ImportAsFeat |
|---|
| Feature | ImportAsFeat | (IntfDataSource IntfData, /*optional*/ CoordSystem CoordSys, /*optional*/ Boolean CutOrAdd, /*optional*/ String Profile, /*optional*/ Boolean DatumCurve) |
| Creates a new import feature in the solid (part). Assembly case is not supported. Exceptions thrown (but not limited to): XToolkitNoLicense - License check failure. XToolkitInvalidFile - This means either:
XToolkitInvalidFile - profile is not readable. XToolkitUnsupported - Creo Parametric does not support import of the indicated file. XToolkitNotExist - No profile found.
|
| QuickPrint |
|---|
| void | QuickPrint | ( /*optional*/ QuickPrintInstructions Instructions, /*optional*/ String PFCFile) |
| Executes a quick print of a given solid model. Exceptions thrown (but not limited to): XToolkitNotFound - pcf_path is null, and no default plotter config file is set. XToolkitNoPermission - The function does not have permission to operate on this model. XToolkitBadContext - The function is not available in Design Test Mode.
|
| CollectCurves |
|---|
| /*optional*/ Collection | CollectCurves | (ChainCollectionUIControls ChainControls, /*optional*/ CollectCurvesFilter FilterMethod, /*optional*/ Object AppData, /*optional*/ CurveCollection AppendColl) |
| Asks the user to interactively create a collection of chains Exceptions thrown (but not limited to): XToolkitUserAbort - The user aborted the collection activity. XToolkitBadContext - The input ProCollection contains instructions that cannot be resolved into a single chain.
|
| CollectSurfaces |
|---|
| /*optional*/ Collection | CollectSurfaces | (SurfaceCollectionInstrTypes InstrTypes, /*optional*/ CollectSurfacesFilter FilterMethod, /*optional*/ SurfaceCollection AppendColl) |
Asks the user to interactively create a collection of surfaces
|
| CreatePlanarXSection |
|---|
| WXSection | CreatePlanarXSection | (String Name, int PlaneId, XSecCutobjType CutObjectType, /*optional*/ intseq MemberIdTable, int QuiltId, boolean Flip, /*optional*/ XSectionComponents XSecModels) |
Create a Cross Section through a datum plane.
|
| CreatePlanarXSectionWithOptions |
|---|
| WXSection | CreatePlanarXSectionWithOptions | (String Name, Selection Plane, XSecCutobjType CutObjectType, /*optional*/ Selection QuiltOrPart, boolean Flip, /*optional*/ XSectionExcludeItems ExcludeItems, /*optional*/ XSectionCreateData Data) |
|
| ListDetailItems |
|---|
| /*optional*/ DetailItems | ListDetailItems | ( /*optional*/ DetailType Type) |
|
| UpdateActiveLayerState |
|---|
| void | UpdateActiveLayerState | () |
| Update active layer state. Exceptions thrown (but not limited to): XToolkitNotFound - No active layer state on the model.
|
| CreateParallelXSection |
|---|
| WXSection | CreateParallelXSection | (String Name, int PlaneId, double Distance) |
| Create a Cross Section parallel to a given plane. Exceptions thrown (but not limited to): XToolkitFound - Cross section with such name already exists.
|
| ListCombStates |
|---|
| CombStates | ListCombStates | () |
| Returns list of combined states of a solid Exceptions thrown (but not limited to): XToolkitNotFound - No combined states found in the model.
|
| GetActiveCombState |
|---|
| CombState | GetActiveCombState | () |
| Gets the active combined state in solid Exceptions thrown (but not limited to): XToolkitNotFound - No active combined state found.
|
| ActivateCombState |
|---|
| void | ActivateCombState | (CombState CombState) |
| Activates a combined state The owner of the combined state must be top model in current active window. Exceptions thrown (but not limited to): XToolkitNotFound - No such combined states in the specified model.
|
| CreateCombState |
|---|
| CombState | CreateCombState | (String CombStateName, CombStateData CombStateData) |
| Create combined state Exceptions thrown (but not limited to): XToolkitInvalidType - Invalid references. Possible errors: - The type of one of the references is not valid. - Reference of some type appears twice or more. - Id and type of a reference don't match.
|
| DeleteCombState |
|---|
| void | DeleteCombState | (CombState CombState) |
| Deletes a combined state Exceptions thrown (but not limited to): XToolkitNotFound - No such combined states in the specified model. XToolkitInUse - Can't delete active combined state.
|
| GetAnnotationsOfActiveState |
|---|
| CombStateAnnotations | GetAnnotationsOfActiveState | () |
| Gets annotations of active combined state Exceptions thrown (but not limited to): XToolkitUnsupported - Not Supported for Creo3 or earlier compatible session handle.Use pfcGetCurrentSessionWithCompatibility(pfcC4Compatible) to get Creo4 or later compatible session handle.
|
| GetStyleStateFromName |
|---|
| StyleState | GetStyleStateFromName | (String StyleStateName) |
Returns the handle to the specified style state
|
| GetStyleStateFromId |
|---|
| StyleState | GetStyleStateFromId | (int StyleStateId) |
>Returns the handle to the specified style state
|
| GetActiveStyleState |
|---|
| StyleState | GetActiveStyleState | () |
Returns the current active style state
|
| ActivateStyleState |
|---|
| void | ActivateStyleState | (StyleState WStyleState, boolean RedisplayFlag) |
Activates the style state
|
| ListStyleStateItems |
|---|
| StyleStates | ListStyleStateItems | () |
| Returns list of style state in the solid Exceptions thrown (but not limited to): XToolkitNotFound - No Comp Displays were found.
|
| ListLayerStates |
|---|
| LayerStates | ListLayerStates | () |
| Gets Layer state list. Exceptions thrown (but not limited to): XToolkitNotFound - No layer states in the model.
|
| CreateLayerState |
|---|
| LayerState | CreateLayerState | (LayerStateData LayerStateData) |
| Create Layer state from references. Note:wfcLayerItem of type wfcLAYER_LAYER cannot be added to Layer States using CreateLayerState. Exceptions thrown (but not limited to): XToolkitInvalidItem - Size of arrays don't match. See description above. XToolkitInvalidName - Layer state name is invalid. The name may be too long or contains invalid characters. XToolkitFound - Provided layer state name already exists in the model.
|
| GetActiveLayerState |
|---|
| LayerState | GetActiveLayerState | () |
| Get active layer state on a model. Exceptions thrown (but not limited to): XToolkitNotFound - No active layer state on the model.
|
| GetTolerance |
|---|
| double | GetTolerance | (ToleranceType Type, int Decimals) |
Retreives the tolerance value for the specified solid, for the specified number of decimal places.
|
| SetTolerance |
|---|
| void | SetTolerance | (ToleranceType Type, int Decimals, double Tolerance) |
Sets the solid's tolerance, at the specified number of decimal places, to the specified value.
|
| LoadToleranceClass |
|---|
| void | LoadToleranceClass | (String ToleranceClassName) |
| This will load a tolerance class for Hole or Shaft ISO tols. Exceptions thrown (but not limited to): XToolkitNotFound - Creo Parametric TOOLKIT could not find the table.
|
| GetModelClass |
|---|
| ModelClass | GetModelClass | () |
| Gets the ISO/DIN model class type for a solid model. Exceptions thrown (but not limited to): XToolkitBadContext - The solid was not using ISO/DIN tolerance tables.
|
| SetModelClass |
|---|
| void | SetModelClass | (ModelClass ModelClass) |
| Sets the ISO/DIN model class type for a solid model. Exceptions thrown (but not limited to): XToolkitCantModify - The model was locked. XToolkitBadContext - The model was not using ISO/DIN tolerance tables.
|
| CheckFamilyTable |
|---|
| FamilyTableStatus | CheckFamilyTable | () |
|
Determines whether the specified solid has a family table,
and if that family table is valid and/or empty.
Exceptions thrown (but not limited to): XToolkitNotFound - The family table was not found for the specified owner. XToolkitEmpty - The family table is found and is empty.
|
| DisplaySolid |
|---|
| void | DisplaySolid | () |
| Displays the specified object. Exceptions thrown (but not limited to): XToolkitFound - The model is already in a window (from calling wfcWSession::OpenSource).
|
| GetDefaultTextHeight |
|---|
| double | GetDefaultTextHeight | () |
Obtains the default text height used for text in annotations and
dimensions in the solid model.
|
| FindShellsAndVoids |
|---|
| ShellData | FindShellsAndVoids | () |
|
For each shell and void of solid, returns surface-contour pairs which describe them.
When the surface is split into a few pieces (has more than one external contour) these pieces may belong to different shells. Hence, each shell face has to be described by a pair (surface id, ProContour). Exceptions thrown (but not limited to): XToolkitNotFound - The solid has no geometry. XToolkitNotValid - the topology of solid is not valid.
|
| ProjectPoint |
|---|
| ProjectionInfo | ProjectPoint | (Point3D Point, double Tolerance) |
|
finds a surface from the solid within the maximum distance, and
returns the UV point of the projection of the point to that surface.
This function supports parts only, not assemblies. Exceptions thrown (but not limited to): XToolkitNotExist - The function failed to find a point on a surface within the tolerance.
|
| GetDisplayOutline |
|---|
| Outline3D | GetDisplayOutline | (Matrix3D Matrix) |
Computes the display outline of a solid.
|
| GetAxis |
|---|
| WAxis | GetAxis | (int AxisId) |
Initializes the Axis handle
|
| GetCurve |
|---|
| WCurve | GetCurve | (int CurveId) |
Returns curve handle
|
| GetCsys |
|---|
| WCsys | GetCsys | (int CsysId) |
>Returns Csys handle
|
| GetEdge |
|---|
| WEdge | GetEdge | (int EdgeId) |
Returns Edge handle
|
| GetPoint |
|---|
| WPoint | GetPoint | (int PointId) |
Returns Point handle
|
| GetQuilt |
|---|
| WQuilt | GetQuilt | (int QuiltId) |
Returns Quilt handle
|
| CreateZoneSectionFeature |
|---|
| WFeature | CreateZoneSectionFeature | (ZoneFeatureReferences RefData, String ZoneName) |
| Creates a Zone feature. Exceptions thrown (but not limited to): XToolkitFound - Zone with given name already exists.
|
| GetAllAppearancesAndTextures |
|---|
| /*optional*/ ItemAppearanceAndTexturesSeq | GetAllAppearancesAndTextures | () |
| Gets the appearance properties, texture placement properties and
texture properties applied on a model. These may not be
the properties that are currently visible on the model because they
may be overriden by other higher level color application.
Exceptions thrown (but not limited to): XToolkitNotFound - Data does not exist.
|
| CreateDimension |
|---|
| Dimension | CreateDimension | (AnnotationPlane AnnotPlane, DimensionAttachments DimAttachs, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location) |
| Exceptions thrown (but not limited to): XToolkitBadDimAttach - A dimension could not be created with the attachments and sense specified.
|
| CreateRefDimension |
|---|
| Dimension | CreateRefDimension | (AnnotationPlane AnnotPlane, DimensionAttachments DimAttachs, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location) |
| Exceptions thrown (but not limited to): XToolkitBadDimAttach - A dimension could not be created with the attachments and sense specified.
|
| RefreshDetailTree |
|---|
| void | RefreshDetailTree | ( /*optional*/ Window SolidWindow) |
| Rebuild the tree for the solid in the window. Exceptions thrown (but not limited to): XToolkitNoChange - There is no change in the detail tree.
|
| ExpandDetailTree |
|---|
| void | ExpandDetailTree | ( /*optional*/ Window SolidWindow) |
| Expand the tree for the solid in the window. Exceptions thrown (but not limited to): XToolkitNoChange - There is no change in the detail tree.
|
| CollapseDetailTree |
|---|
| void | CollapseDetailTree | ( /*optional*/ Window SolidWindow) |
| Collapse the tree for the solid in the window. Exceptions thrown (but not limited to): XToolkitNoChange - There is no change in the detail tree.
|
| CreateFlatToScreenPlane |
|---|
| AnnotationPlane | CreateFlatToScreenPlane | (boolean ScreenOrMdlPoint) |
|
| CreateAnnotationPlaneFromView |
|---|
| AnnotationPlane | CreateAnnotationPlaneFromView | (String ViewName) |
|
| CreateFreeNote |
|---|
| DetailNoteItem | CreateFreeNote | (DetailTextLines TextLines, FreeAttachment Attach) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The note text cannot be varied.
|
| CreateOnItemNote |
|---|
| DetailNoteItem | CreateOnItemNote | (DetailTextLines TextLines, AnnotationPlane AnnotPlane, ParametricAttachment Attach) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The note text cannot be varied. XToolkitNoLicense - License check failure.
|
| CreateLeaderNote |
|---|
| DetailNoteItem | CreateLeaderNote | (DetailTextLines TextLines, Attachment NoteAttach, DetailLeaderAttachments LeadrAttachs) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The note text cannot be varied.
|
| CreateLeaderWithArrowTypeNote |
|---|
| DetailNoteItem | CreateLeaderWithArrowTypeNote | (DetailTextLines TextLines, Attachment NoteAttach, DetailLeaderAttachments LeadrAttachs, AnnotationPlane AnnotPlane, LeaderArrowTypes Types) |
| Exceptions thrown (but not limited to): XToolkitBadContext - The note text cannot be varied. OR Invalid leader type for this note attachment. XToolkitNoLicense - License check failure.
|
| RetrieveSymbolDefItem |
|---|
| DetailSymbolDefItem | RetrieveSymbolDefItem | (String FileName, DetailSymbolDefItemSource Source, /*optional*/ String FilePath, /*optional*/ Integer Version, /*optional*/ Boolean UpdateUnconditionally) |
| Retrieve a symbol definition. Exceptions thrown (but not limited to): XToolkitNotFound - The specified symbol does not exist. XToolkitFound - The specified symbol exist but was not retrieved.
|
| CreateAnnotationFeature |
|---|
| AnnotationFeature | CreateAnnotationFeature | ( /*optional*/ ComponentPath CompPath, boolean InvokeUI) |
| Creates a new annotation feature in the model. Exceptions thrown (but not limited to): XToolkitUserAbort - The user cancelled the feature creation (if InvokeUI = true). XToolkitBadContext - The owner is not the current model (if InvokeUI = true).
|
| CreateSymbolDefinition |
|---|
| DetailSymbolDefItem | CreateSymbolDefinition | (DetailSymbolDefInstructions Instructions) |
|
| CreateSymbolInstance |
|---|
| DetailSymbolInstItem | CreateSymbolInstance | (DetailSymbolInstInstructions Instructions, AnnotationPlane AnnotPlane) |
|
| CreateOrdinateDimension |
|---|
| WDimension | CreateOrdinateDimension | (AnnotationType AnnotType, AnnotationElement AnnotationElement, DimensionAttachment DimAttach, DimSenses Senses, DimOrientationHint OrientHint, Point3D Location) |
| Exceptions thrown (but not limited to): XToolkitBadDimAttach - The dimension cannot be created referencing the given baseline and attachment geometry.
|
| Tessellate |
|---|
| SurfaceTessellationDataSeq | Tessellate | (double ChordHeight, double AngleControl, boolean IncludeQuilts) |
|
| CreateCustomFeature |
|---|
| WFeature | CreateCustomFeature | (String CustomFeatXmlFile, String ElemTreeXmlFile, FeatCreateOptions Options, /*optional*/ WRegenInstructions Instrs) |
| Create custom feature This method is reserved for future use.
|
| ActivateAutomaticSimpRep |
|---|
| void | ActivateAutomaticSimpRep | (SimpRep SimpRep) |
| Activate user-defined rep as automatic simplified rep.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified simplified representation was not found in the model.
|
| ConvertAutomaticSimpRep |
|---|
| void | ConvertAutomaticSimpRep | (SimpRep SimpRep) |
| Convert user-defined rep to new automatic simplified rep preserving excluded/substituted data.
Exceptions thrown (but not limited to): XToolkitNotFound - The specified simplified representation was not found in the model.
|