| Library | File | Frames | Expand |
| void | AddAnnotationPlaneToGallery (xrstring AnnotPlaneName) | |
| Add annotation plane with specified name to gallery. | ||
| xbool | CanCreateSectionFeature () | |
| Determines if Cross Section can be created as feature in specified model | ||
| wfcParamTablesets_ptr | CollectParamTablesets () | |
| Obtains all table sets that are available for use in the given model. This includes all sets that are loaded from files setup in this session, and any sets that were previously stored in the model. | ||
| pfcSelections_ptr | ComputeRayIntersections (xreal ApertureRadius, wfcRay_ptr Ray) | |
| Returns a list of ray intersections with a model. The function computes the intersection points of both the original ray and its "negative" with the geometry of the model. The output array is sorted in order of increasing signed distance. | ||
| void | ConvertOldXSectionsToNew () | |
| Convert all legacy cross sections to features | ||
| void | CopyLayerRules (xrstring LayerName, pfcModel_ptr RefModel) | |
| Copy the rules of a layer LayerName in ReferenceModel into a layer LayerName in CurrentModel, overwriting any rules <p><b>Note: </b>This function copies both the rules definitions and the rules options set interactively (including option "Associative") | ||
| wfcGTol_ptr | CreateGTol (wfcGTolType Type, wfcGTolAttach_ptr GtolAttach, xrstring Value) | |
| Creates new Gtol with specified placement and value string | ||
| wfcSetDatumTag_ptr | CreateSetDatumTag (pfcSelection_ptr Selection, xrstring Label, optional wfcAnnotationPlane_ptr Plane) | |
| LICENSE: 222 Create a new datum feature symbol annotation. |
||
| wfcSurfaceFinish_ptr | CreateSurfaceFinish (pfcDetailSymbolInstInstructions_ptr SymbolInstructions, wfcAnnotationPlane_ptr AnnotPlane) | |
| LICENSE: 222 Create a surface finish in the specified model. wfcSurfaceFinish::Show() should be called after creating the surface finish in order for the surface finish to be displayed. |
||
| pfcUnit_ptr | CreateUnitByExpression (xrstring UnitName, xrstring UnitExpression) | |
| Creates a derived unit. | ||
| void | DesignateSymbol (xrstring SymbolName) | |
| void | ExecuteLayerRules () | |
| Execute the layer rules on the CurrentModel if rules are enabled. | ||
| optional pfcSelections_ptr | GenerateSelectionsFromCollection (wfcCollection_ptr Collection) | |
| Generates selections based on instructions and rules insided the specified collection object | ||
| wfcAnnotationPlane_ptr | GetActiveAnnotationPlane () | |
| Get last used Annotation plane in the specified model. | ||
| optional wfcAnnotationPlane_ptr | GetAnnotationPlaneByName (xrstring AnnotPlaneName) | |
| Get Annotation plane from specified name. | ||
| optional xstringsequence_ptr | GetAnnotationPlanes () | |
| Collect the names of all the named annotation planes in the model. | ||
| optional xstringsequence_ptr | GetAnnotationPlanesFromGallery () | |
| Collect the names of all annotation planes in gallery. | ||
| xstring | GetDefaultName () | |
| Returns the next available default name for given object type. | ||
| wfcLayerItem_ptr | GetLayerItem (wfcLayerType LayerType, xint LayerId) | |
| Initializes the layer item structure. | ||
| wfcMdlfileDescriptor_ptr | GetMdlfileDescriptor () | |
| Creates a filetype descriptor from the model and returns it. | ||
| wfcModelSubType | GetSubType () | |
| Returns the subtype of a model. | ||
| wfcTIMInfo_ptr | GetTIMInfo () | |
| Gets the TIM related information of the model | ||
| xbool | IsDesignatedSymbol (xrstring SymbolName) | |
| xbool | IsStandardLocation () | |
| Returns true if the model was loaded from a local folder. | ||
| xbool | IsVariantFeatModel () | |
| Identifies if a model pointer is from an inheritance feature or flexible component. | ||
| pfcLayers_ptr | ListLayers () | |
| Collects an array containing the layers in the model. | ||
| void | MarkATBModelAsOutOfDate (optional xintsequence_ptr FeatIds) | |
| Mark the ATB model/feature as out of date. | ||
| void | MarkForSaving (xrstring marker) | |
| xbool | MatchLayerRules (xrstring LayerName, pfcModel_ptr RefModel) | |
| Compare the rules of a layer LayerName in ReferenceModel to the rules in layer LayerName in CurrentModel. | ||
| void | RefreshMdlTree () | |
| Refreshes the display of the model tree. | ||
| void | RelinkATB (xrstring MasterModelPath, optional xint FeatId) | |
| Relink the model/feature that have lost the link to the master model. Relinking a model here will represent searching for the master model (using the master model name) in the location specified in the 'MasterModelPath' argument. If the master model with the same name is found, the Creo Parametric TIM model is linked to that master model. | ||
| void | RemoveAnnotationPlaneFromGallery (xrstring AnnotPlaneName) | |
| Remove annotation plane with specified name from gallery. | ||
| void | SaveLayerDisplayStatus () | |
| Permanently saves all the changes to the display status of all layers in the owner, and all its submodels (and views, for drawings). | ||
| void | UndesignateSymbol (xrstring SymbolName) | |
| void | UpdateATB (optional xintsequence_ptr FeatIds, optional xstringsequence_ptr SearchPaths) | |
| Update the ATB model(s)/feature(s). | ||
| wfcATBVerificationResults_ptr | VerifyATB (optional xintsequence_ptr FeatIds, optional xstringsequence_ptr SearchPaths) | |
| To Verify if the ATB models are out of date. This function will first check to see if the model specified is a TIM (of some master model). If model is not a TIM, it will check to see if the model contains one or more features which are TIM representations. | ||
| wfcStatus | VisitDetailItems (wfcVisitingClient_ptr visitingClient, pfcDetailType detailType, xint Sheet) | |
| wfcStatus | VisitItems (wfcVisitingClient_ptr visitingClient, pfcModelItemType itemType) | |
| wfcATBVerificationResults_ptr | VerifyATB | (optional xintsequence_ptr FeatIds, optional xstringsequence_ptr SearchPaths) |
|
To Verify if the ATB models are out of date. This function will first check to see if the model specified is a TIM (of some master model). If model is not a TIM, it will check to see if the model contains one or more features which are TIM representations. Exceptions thrown (but not limited to): pfcXToolkitNoChange - The function successfully verified the model and didn't find any ATB models out of date nor any models of old version nor any models with broken link. pfcXToolkitNotValid - The function successfully verified the model, found ONE or more models of older version and found no ATB models out of date. pfcXToolkitBadContext - The function successfully verified the model, found ONE or more models with broken link and found no ATB models out of date and no ATB models of older version pfcXToolkitUnsupported - The input model is Multi-CAD model.
|
| void | MarkATBModelAsOutOfDate | (optional xintsequence_ptr FeatIds) |
|
Mark the ATB model/feature as out of date. Exceptions thrown (but not limited to): pfcXToolkitUnsupported - The input model is Multi-CAD model.
|
| void | UpdateATB | (optional xintsequence_ptr FeatIds, optional xstringsequence_ptr SearchPaths) |
|
Update the ATB model(s)/feature(s). Exceptions thrown (but not limited to): pfcXToolkitNoChange - The function runs successfully and found no ATB models out of date. pfcXToolkitCantModify - During ATB update the regeneration failed. pfcXToolkitBadContext - There are non-displayed models in the session. pfcXToolkitNotDisplayed - The input model is not displayed. pfcXToolkitAmbiguous - Both: there are non-displayed models in the session AND the input model is not displayed. pfcXToolkitUnsupported - The input model is Multi-CAD model.
|
| void | RelinkATB | (xrstring MasterModelPath, optional xint FeatId) |
|
Relink the model/feature that have lost the link to the master model. Relinking a model here will represent searching for the master model (using the master model name) in the location specified in the 'MasterModelPath' argument. If the master model with the same name is found, the Creo Parametric TIM model is linked to that master model. Exceptions thrown (but not limited to): pfcXToolkitUnsupported - The input model is Multi-CAD model.
|
| optional xstringsequence_ptr | GetAnnotationPlanesFromGallery | () |
|
Collect the names of all annotation planes in gallery.
|
| optional xstringsequence_ptr | GetAnnotationPlanes | () |
|
Collect the names of all the named annotation planes in the model.
|
| optional wfcAnnotationPlane_ptr | GetAnnotationPlaneByName | (xrstring AnnotPlaneName) |
|
Get Annotation plane from specified name.
|
| void | AddAnnotationPlaneToGallery | (xrstring AnnotPlaneName) |
|
Add annotation plane with specified name to gallery. Exceptions thrown (but not limited to): <reference 4 to unknown entity pfcExceptions::pfcXToolkitNotFound> - No annotation plane exists with specified name. <reference 4 to unknown entity pfcExceptions::pfcXToolkitFound> - Annotation plane with same name already exist in the gallery.
|
| void | RemoveAnnotationPlaneFromGallery | (xrstring AnnotPlaneName) |
|
Remove annotation plane with specified name from gallery. Exceptions thrown (but not limited to): <reference 4 to unknown entity pfcExceptions::pfcXToolkitNotFound> - No annotation plane exists with specified name.
|
| wfcAnnotationPlane_ptr | GetActiveAnnotationPlane | () |
|
Get last used Annotation plane in the specified model.
|
| wfcTIMInfo_ptr | GetTIMInfo | () |
|
Gets the TIM related information of the model
|
| void | ConvertOldXSectionsToNew | () |
|
Convert all legacy cross sections to features
|
| xbool | CanCreateSectionFeature | () |
|
Determines if Cross Section can be created as feature in specified model
|
| pfcLayers_ptr | ListLayers | () |
|
Collects an array containing the layers in the model. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No layers were found and collected.
|
| void | SaveLayerDisplayStatus | () |
|
Permanently saves all the changes to the display status of all layers in the owner, and all its submodels (and views, for drawings). Exceptions thrown (but not limited to): pfcXToolkitNoChange - No layers have been changed since the last save.
|
| wfcLayerItem_ptr | GetLayerItem | (wfcLayerType LayerType, xint LayerId) |
|
Initializes the layer item structure. Exceptions thrown (but not limited to): pfcXToolkitNotExist - Item with such identifier and type does not exist.
|
| wfcModelSubType | GetSubType | () |
|
Returns the subtype of a model. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The model has no subtype.
|
| xstring | GetDefaultName | () |
|
Returns the next available default name for given object type. Exceptions thrown (but not limited to): pfcXToolkitUnsupported - the type is not supported.
|
| xbool | IsVariantFeatModel | () |
|
Identifies if a model pointer is from an inheritance feature or flexible component.
|
| pfcUnit_ptr | CreateUnitByExpression | (xrstring UnitName, xrstring UnitExpression) |
|
Creates a derived unit. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The reference unit was not found in the model.
|
| pfcSelections_ptr | ComputeRayIntersections | (xreal ApertureRadius, wfcRay_ptr Ray) |
|
Returns a list of ray intersections with a model. The function computes the intersection points of both the original ray and its "negative" with the geometry of the model. The output array is sorted in order of increasing signed distance. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No objects were found in the workspace.
|
| wfcParamTablesets_ptr | CollectParamTablesets | () |
|
Obtains all table sets that are available for use in the given model. This includes all sets that are loaded from files setup in this session, and any sets that were previously stored in the model. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No parameter table sets are available for this model.
|
| optional pfcSelections_ptr | GenerateSelectionsFromCollection | (wfcCollection_ptr Collection) |
|
Generates selections based on instructions and rules insided the specified collection object Exceptions thrown (but not limited to): pfcXToolkitOutOfMemory - There was a memory error. pfcXToolkitAmbiguous - The curve collection chain cannot be regenerated because there is an ambiguity which could not be resolved. pfcXToolkitNotFound - The curve collection chain cannot be regenerated because a reference could not be found while collecting edges/curves/points. pfcXToolkitNotValid - The checking of the curve collection failed.
|
| void | MarkForSaving | (xrstring marker) |
|
Exceptions thrown (but not limited to): pfcXExternalDataTKError - The function failed. pfcXExternalDataInvalidObject - The specified model or class name is invalid. pfcXExternalDataClassOrSlotExists - The specified class name already exists. pfcXExternalDataNamesTooLong - The specified class name exceeds the length 32 Chars.
|
| void | RefreshMdlTree | () |
|
Refreshes the display of the model tree. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The model tree is not present.
|
| wfcMdlfileDescriptor_ptr | GetMdlfileDescriptor | () |
|
Creates a filetype descriptor from the model and returns it. The created descriptor has no information about the initial descriptor used to create this model. It contains the model name stripped of its extension, version and location. Exceptions thrown (but not limited to): pfcXToolkitInvalidPtr - the model argument does not represent a correct model.
|
| xbool | IsStandardLocation | () |
|
Returns true if the model was loaded from a local folder. Exceptions thrown (but not limited to): pfcXBadArgument - the model is null.
|
| void | DesignateSymbol | (xrstring SymbolName) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoChange - The symbol is already designated.
|
| void | UndesignateSymbol | (xrstring SymbolName) |
|
Exceptions thrown (but not limited to): pfcXToolkitNoChange - The symbol is not currently designated.
|
| xbool | IsDesignatedSymbol | (xrstring SymbolName) |
|
| wfcStatus | VisitItems | (wfcVisitingClient_ptr visitingClient, pfcModelItemType itemType) |
|
Exceptions thrown (but not limited to): pfcXToolkitNotFound - Either no supported items exist, or they were all filtered out by the filter function.
|
| wfcStatus | VisitDetailItems | (wfcVisitingClient_ptr visitingClient, pfcDetailType detailType, xint Sheet) |
|
Exceptions thrown (but not limited to): pfcXToolkitNotFound - Either no supported items exist, or they were all filtered out by the filter function.
|
| wfcSurfaceFinish_ptr | CreateSurfaceFinish | (pfcDetailSymbolInstInstructions_ptr SymbolInstructions, wfcAnnotationPlane_ptr AnnotPlane) |
| LICENSE: 222
Create a surface finish in the specified model. wfcSurfaceFinish::Show() should be called after creating the surface finish in order for the surface finish to be displayed. Exceptions thrown (but not limited to): pfcXToolkitInvalidType - Invalid type of leader or attachment for creation of a surface finish. pfcXToolkitFound - Leader or attachment to surface which already has a surface finish. pfcXToolkitNoLicense - License check failure
|
| wfcGTol_ptr | CreateGTol | (wfcGTolType Type, wfcGTolAttach_ptr GtolAttach, xrstring Value) |
|
Creates new Gtol with specified placement and value string
|
| wfcSetDatumTag_ptr | CreateSetDatumTag | (pfcSelection_ptr Selection, xrstring Label, optional wfcAnnotationPlane_ptr Plane) |
| LICENSE: 222
Create a new datum feature symbol annotation.
|
| xbool | MatchLayerRules | (xrstring LayerName, pfcModel_ptr RefModel) |
|
Compare the rules of a layer LayerName in ReferenceModel to the rules in layer LayerName in CurrentModel.
|
| void | CopyLayerRules | (xrstring LayerName, pfcModel_ptr RefModel) |
|
Copy the rules of a layer LayerName in ReferenceModel into a layer LayerName in CurrentModel, overwriting any rules <p><b>Note: </b>This function copies both the rules definitions and the rules options set interactively (including option "Associative")
|
| void | ExecuteLayerRules | () |
|
Execute the layer rules on the CurrentModel if rules are enabled.
|