| Library | Module | Frames | Expand |
| /* optional */ number | AbsoluteAccuracy | |
| The absolute accuracy of the solid or null, if relative accuracy is used | ||
| /* readonly */ pfcOutline3D | GeomOutline | |
| The outline of the solid with respect to the base coordinate system orientation | ||
| /* readonly */ boolean | IsSkeleton | |
| true if the model is a skeleton model, false otherwise. | ||
| /* optional */ number | RelativeAccuracy | |
| The relative accuracy of the solid or null, if absolute accuracy is used | ||
| void | ActivateSimpRep (pfcSimpRep SimpRep) | |
| Activates the specified simplified representation. | ||
| pfcUnit | CreateCustomUnit (string Name, pfcUnitConversionFactor ConversionFactor, pfcUnit ReferenceUnit) | |
| Creates a custom unit based on name, conversion factor and reference unit. | ||
| pfcFeature | CreateFeature (pfcFeatureCreateInstructions Instructions) | |
| Not implemented in the current release. Creates a feature, based on the instructions provided. | ||
| pfcFeature | CreateImportFeat (pfcIntfDataSource IntfData, /* optional */ pfcCoordSystem CoordSys, /* optional */ pfcImportFeatAttr FeatAttr) | |
| Creates a new import feature in the solid (part). Assembly case is not supported. | ||
| pfcFeatureGroup | CreateLocalGroup (pfcFeatures Members, string Name) | |
| Creates a local group out of the specified set of features. | ||
| pfcModelItem | CreateNote (stringseq Lines, /* optional */ pfcModelItem Owner) | |
| pfcSimpRep | CreateSimpRep (pfcCreateNewSimpRepInstructions Instructions) | |
| Creates a simplified representation based on the supplied instructions. | ||
| pfcFeatureGroup | CreateUDFGroup (pfcUDFGroupCreateInstructions Instructions) | |
| Creates a FeatureGroup, based on the instructions provided. | ||
| pfcUnitSystem | CreateUnitSystem (string Name, pfcUnitSystemType Type, pfcUnits Units) | |
| Creates a new unit system in the model. | ||
| void | DeleteSimpRep (pfcSimpRep SimpRep) | |
| Deletes the specified simplified representation from its owner model. | ||
| pfcOutline3D | EvalOutline ( /* optional */ pfcTransform3D Trf, /* optional */ pfcModelItemTypes ExcludeTypes) | |
| Computes the outline of a solid. | ||
| void | ExecuteFeatureOps (pfcFeatureOperations Ops, /* optional */ pfcRegenInstructions Instrs) | |
| Performs the specified feature operations. | ||
| void | ExportShrinkwrap (pfcShrinkwrapExportInstructions Instructions) | |
| Exports a solid model to shrinkwrap format. | ||
| pfcSimpRep | GetActiveSimpRep () | |
| Returns the current active simplified representation. | ||
| /* optional */ pfcXSection | GetCrossSection (string Name) | |
| Returns a cross-section object, given its name. | ||
| pfcSolidBody | GetDefaultBody () | |
| Returns the default body of the solid. | ||
| pfcSolidBody | GetEdgeSolidBody (pfcEdge thisEdge) | |
| Returns the body to which the edge belongs. | ||
| /* optional */ pfcFeature | GetFeatureById (number Id) | |
| Retrieves the specified feature, given its identifier. | ||
| /* optional */ pfcFeature | GetFeatureByName (string Name) | |
| Locates the feature object, given its name. | ||
| pfcSimpRep | GetGeomRep () | |
| Returns the object representing the solid model's Geometry Rep. | ||
| pfcSimpRep | GetGraphicsRep () | |
| Returns the object representing the solid model's Grpahics Rep. | ||
| pfcMassProperty | GetMassProperty ( /* optional */ string CoordSysName) | |
| Gets the mass properties for the solid. | ||
| pfcMassProperty | GetMassPropertyWithDensity ( /* optional */ string CoordSysName, pfcMPDensityUse DensityOpt, /* optional */ number density) | |
| pfcSimpRep | GetMasterRep () | |
| Returns the object representing the solid model's Master Rep. | ||
| pfcUnitSystem | GetPrincipalUnits () | |
| Gets the system of units assigned to the solid model. | ||
| pfcSimpRep | GetSimpRep (string SimpRepName) | |
| Returns the handle to the specified simplified representation. | ||
| pfcSolidBody | GetSurfaceSolidBody (pfcSurface thisSurf) | |
| Returns the body to which the surface belongs. | ||
| /* optional */ pfcUnit | GetUnit (string Name, /* optional */ boolean ByExpression) | |
| Get the handle to a particular unit based on name or expression. | ||
| boolean | HasRetrievalErrors () | |
| Identifies if a previous call to retrieve the model resulted in errors. | ||
| /* optional */ pfcXSections | ListCrossSections () | |
| Lists the cross-sections in the solid model. | ||
| /* optional */ pfcFeatures | ListFailedFeatures () | |
| Retrieves the list of failed features in the part or assembly. | ||
| /* optional */ pfcFeatures | ListFeaturesByType ( /* optional */ boolean VisibleOnly, /* optional */ pfcFeatureType Type) | |
| Lists the features according to type. | ||
| pfcFeatureGroups | ListGroups () | |
| Collect groups (including UDFs) in the solid. | ||
| pfcUnits | ListUnits ( /* optional */ pfcUnitType Type) | |
| Lists the units available in the model. | ||
| pfcUnitSystems | ListUnitSystems () | |
| Lists the unit systems available in the model. | ||
| void | Regenerate ( /* optional */ pfcRegenInstructions Instrs) | |
| Regenerates the solid. | ||
| pfcSimpRep | SelectSimpRep () | |
| Enables the user to select a simplified representation. | ||
| void | SetPrincipalUnits (pfcUnitSystem Units, pfcUnitConversionOptions Options) | |
| Sets the system of units for the solid. | ||
| /* optional */ number | AbsoluteAccuracy |
|
The absolute accuracy of the solid or null, if relative accuracy is used |
| /* readonly */ pfcOutline3D | GeomOutline |
|
The outline of the solid with respect to the base coordinate system orientation |
| /* readonly */ boolean | IsSkeleton |
|
true if the model is a skeleton model, false otherwise. Exceptions thrown (but not limited to): pfcXToolkitNotValid - Required license not found. |
| /* optional */ number | RelativeAccuracy |
|
The relative accuracy of the solid or null, if absolute accuracy is used |
| void | ActivateSimpRep | (pfcSimpRep SimpRep) |
|
Activates the specified simplified representation. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The specified simplified representation was not found in the model.
|
| pfcUnit | CreateCustomUnit | (string Name, pfcUnitConversionFactor ConversionFactor, pfcUnit ReferenceUnit) |
|
Creates a custom unit based on name, conversion factor and reference unit. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The reference unit was not found in the model.
|
| pfcFeature | CreateFeature | (pfcFeatureCreateInstructions Instructions) |
|
Not implemented in the current release. Creates a feature, based on the instructions provided. Object Toolkit users can use WCreateFeature
|
| pfcFeature | CreateImportFeat | (pfcIntfDataSource IntfData, /* optional */ pfcCoordSystem CoordSys, /* optional */ pfcImportFeatAttr FeatAttr) |
|
Creates a new import feature in the solid (part). Assembly case is not supported. Exceptions thrown (but not limited to): pfcXToolkitUnsupported - Creo Parametric does not support import of the indicated file. pfcXToolkitNotExist - No profile found. pfcXToolkitInvalidFile - profile is not readable.
|
| pfcFeatureGroup | CreateLocalGroup | (pfcFeatures Members, string Name) |
|
Creates a local group out of the specified set of features. The supplied features must represent a contiguous set of features in the part or assembly.
|
| pfcModelItem | CreateNote | (stringseq Lines, /* optional */ pfcModelItem Owner) |
|
| pfcSimpRep | CreateSimpRep | (pfcCreateNewSimpRepInstructions Instructions) |
|
Creates a simplified representation based on the supplied instructions.
|
| pfcFeatureGroup | CreateUDFGroup | (pfcUDFGroupCreateInstructions Instructions) |
|
Creates a FeatureGroup, based on the instructions provided. Exceptions thrown (but not limited to): pfcXToolkitUnsupported - The input model is Multi-CAD model.
|
| pfcUnitSystem | CreateUnitSystem | (string Name, pfcUnitSystemType Type, pfcUnits Units) |
|
Creates a new unit system in the model. Units should include at most one occurrence of each basic unit type. If a unit of a basic type is missing then a corresponding one is taken from the standard system 'Creo Parametric Default'. Exceptions thrown (but not limited to): pfcXToolkitAmbiguous - The units argument contains multiple units for a type.
|
| void | DeleteSimpRep | (pfcSimpRep SimpRep) |
|
Deletes the specified simplified representation from its owner model.
|
| pfcOutline3D | EvalOutline | ( /* optional */ pfcTransform3D Trf, /* optional */ pfcModelItemTypes ExcludeTypes) |
|
Computes the outline of a solid.
|
| void | ExecuteFeatureOps | (pfcFeatureOperations Ops, /* optional */ pfcRegenInstructions Instrs) |
|
Performs the specified feature operations. This method is not supported in No-Resolve mode (default regeneration mode in Creo Elements/Pro). It will throw pfcXToolkitBadContext, if Creo Parametric is running in No-Resolve mode. To continue with the Pro/ENGINEER Wildfire 4.0 behavior in Resolve mode, set the configuration option 'regen_failure_handling' to 'resolve_mode'. Exceptions thrown (but not limited to): pfcXToolkitNotValid - One or more input features is not permitted to be suppressed. pfcXToolkitSuppressedParents - Suppressed parents were found. <reference 4 to unknown entity pfcExceptions::pfcXToolkitInvalidPtr> - Feature operation is invalid
|
| void | ExportShrinkwrap | (pfcShrinkwrapExportInstructions Instructions) |
|
Exports a solid model to shrinkwrap format. Exceptions thrown (but not limited to): pfcXToolkitBadContext - Invalid combination of input arguments. pfcXToolkitLineTooLong - Name length of the output file is more than 31 chars.
|
| pfcSimpRep | GetActiveSimpRep | () |
|
Returns the current active simplified representation.
|
| /* optional */ pfcXSection | GetCrossSection | (string Name) |
|
Returns a cross-section object, given its name. Exceptions thrown (but not limited to): pfcXToolkitNotFound - Model doesn't have cross-sections.
|
| pfcSolidBody | GetDefaultBody | () |
|
Returns the default body of the solid.
|
| pfcSolidBody | GetEdgeSolidBody | (pfcEdge thisEdge) |
|
Returns the body to which the edge belongs.
|
| /* optional */ pfcFeature | GetFeatureById | (number Id) |
|
Retrieves the specified feature, given its identifier. Exceptions thrown (but not limited to): pfcXToolkitNotExist - Item with such id and type does not exist.
|
| /* optional */ pfcFeature | GetFeatureByName | (string Name) |
|
Locates the feature object, given its name. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The item was not found.
|
| pfcSimpRep | GetGeomRep | () |
|
Returns the object representing the solid model's Geometry Rep. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function did not find the simplified representation in the solid.
|
| pfcSimpRep | GetGraphicsRep | () |
|
Returns the object representing the solid model's Grpahics Rep. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function did not find the simplified representation in the solid.
|
| pfcMassProperty | GetMassProperty | ( /* optional */ string CoordSysName) |
|
Gets the mass properties for the solid. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The specified coordinate system was not found.
|
| pfcMassProperty | GetMassPropertyWithDensity | ( /* optional */ string CoordSysName, pfcMPDensityUse DensityOpt, /* optional */ number density) |
|
| pfcSimpRep | GetMasterRep | () |
|
Returns the object representing the solid model's Master Rep. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function did not find the simplified representation in the solid.
|
| pfcUnitSystem | GetPrincipalUnits | () |
|
Gets the system of units assigned to the solid model.
|
| pfcSimpRep | GetSimpRep | (string SimpRepName) |
|
Returns the handle to the specified simplified representation. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The function did not find the simplified representation in the solid.
|
| pfcSolidBody | GetSurfaceSolidBody | (pfcSurface thisSurf) |
|
Returns the body to which the surface belongs.
|
| /* optional */ pfcUnit | GetUnit | (string Name, /* optional */ boolean ByExpression) |
|
Get the handle to a particular unit based on name or expression. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The indicated unit name does not exist in the model.
|
| boolean | HasRetrievalErrors | () |
|
Identifies if a previous call to retrieve the model resulted in errors. Models may be retrieved even if some component models are missing. The missing components will be suppressed, and geometry referencing these models will be frozen. The retrieval methods will not give an indication that this error occurred. Call this method after retrieval to see if any such errors occurred. Exceptions thrown (but not limited to): pfcXToolkitNotFound - Errors were not found for this model.
|
| /* optional */ pfcXSections | ListCrossSections | () |
|
Lists the cross-sections in the solid model. Exceptions thrown (but not limited to): pfcXToolkitNotFound - Model doesn't have cross-sections.
|
| /* optional */ pfcFeatures | ListFailedFeatures | () |
|
Retrieves the list of failed features in the part or assembly.
|
| /* optional */ pfcFeatures | ListFeaturesByType | ( /* optional */ boolean VisibleOnly, /* optional */ pfcFeatureType Type) |
|
Lists the features according to type. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No failed feature was found.
|
| pfcFeatureGroups | ListGroups | () |
|
Collect groups (including UDFs) in the solid. Exceptions thrown (but not limited to): pfcXToolkitNotFound - No groups exist in the solid
|
| pfcUnits | ListUnits | ( /* optional */ pfcUnitType Type) |
|
Lists the units available in the model.
|
| pfcUnitSystems | ListUnitSystems | () |
|
Lists the unit systems available in the model.
|
| void | Regenerate | ( /* optional */ pfcRegenInstructions Instrs) |
|
Regenerates the solid. Regeneration in No-Resolve mode (default mode in Creo Elements/Pro) is not supported. This method will throw pfcXToolkitBadContext, if Creo Parametric is running in No-Resolve mode. To continue with the Pro/ENGINEER Wildfire 4.0 behavior in Resolve mode, set the configuration option 'regen_failure_handling' to 'resolve_mode'. Exceptions thrown (but not limited to): pfcXToolkitUnattachedFeats - Unattached features were detected, but there was no regeneration failure pfcXToolkitRegenerateAgain - The model is too complex to regenerate the first time pfcXToolkitBadContext - Invalid regen flags and/or combination of regeneration flags if mixed with pfcRegenInstructions::SetForceRegen as true.
|
| pfcSimpRep | SelectSimpRep | () |
|
Enables the user to select a simplified representation. Exceptions thrown (but not limited to): pfcXToolkitUserAbort - The user aborted simplified representation selection.
|
| void | SetPrincipalUnits | (pfcUnitSystem Units, pfcUnitConversionOptions Options) |
|
Sets the system of units for the solid. This will regenerate the model.
|