Creo Parametric Associative Geometry Interface (*.prt, *.asm)

Before installing the ANSYS application, make sure you have installed Creo Parametric and have run the program at least once under the user login that you will use to install the ANSYS Workbench.

The interface works in both a Plug-in and a Pseudo-Reader on Windows.

The existence of the Plug-in is recognized by Creo Parametric based upon an entry in the configuration file (config.pro) referencing a Pro/Toolkit registry file located in the ANSYS Workbench installation (WBPlugInPE.dat). This is configured during the installation process whenever you select Creo Parametric as a geometry source, but can be modified to enable/disable the Plug-in by using the CAD Configuration Manager. The CAD Configuration Manager can also be used to change the Creo Parametric installation utilized by the Plug-In. If Creo Parametric was not selected in the original installation then the Associative Plug-In will not be available for configuration. In this case you can run the installer and select Creo Parametric under ANSYS Geometry Interfaces to make the Associative Plug-In available.

See CAD Configuration Manager for usage information.

For detailed installation information about the CAD Configuration Manager, see:

Windows: Configuring CAD Products> Using the CAD Configuration Manager

Support

At the time of release, detailed version support information for the Linux and Windows platforms is accessible via Geometry Interface Support.

Information about post-release CAD system compatibility with ANSYS Workbench is viewable via the ANSYS, Inc. website (Support> Platform Support> ANSYS 18.0 - CAD Support). See ANSYS Platform Support.

Document import supported by interface: Part (*.prt) and Assembly (*.asm)

Table 12:  Import Preference Support for Creo Parametric geometry interface

Import SolidsYes
Import SurfacesYes
Import LinesYes - Datum Curves
Parameter Processing and prefix/suffix keyYes
Attribute Processing and prefixYes
Named Selection Processing and prefixYes - from ANSYS Named Selection Manager and programmatically created attributes
Material ProcessingYes
Analysis Type
3D - Yes
2D - Yes- Only surface bodies in the xy plane will be imported
AssociativityYes
Coordinate SystemsYes
Work PointsYes
Reader Save FileNo
InstancingYes
Smart UpdateYes
Enclosure and Symmetry ProcessingNo
Mixed import ResolutionYes - for parts that include both Solid and surface bodies AND the Import Solid and Import Surface preferences are set to Yes
Decompose Disjoint GeometryYes (for use with faces only)

Notations

The Creo Parametric geometry interface also supports the Selective Update feature.

Assembly parts and sub-assemblies that are hidden or suppressed in Creo Parametric are automatically excluded from import into ANSYS Mechanical and DesignModeler.

If you switch between the Master and simplified representations of your geometry in Creo Parametric, you must use the Erase Not Displayed option in Creo Parametric to remove the geometry not shown in Creo Parametric window (but resident in memory) before attaching or refreshing in the ANSYS Mechanical or DesignModeler application.

Importing Feature Types as Line Bodies The Datum Curve feature types can be imported from Creo Parametric into ANSYS Workbench's Mechanical or DesignModeler application as line bodies.

Length Unit The length unit specified in the Creo Parametric part or assembly is transferred into ANSYS Workbench. Assemblies and their component parts should all be constructed using the same length unit. Models with mixed units will trigger a warning indicating the model error. Models with mixed units may not display, mesh, or export to other formats (including SpaceClaim or DesignModeler) as desired.

Parts in a unit system other than the assembly's unit system may have incorrect properties and data. These parts should be modified at their source and the imported models updated in ANSYS Workbench.

PTC provided a workaround for Creo Parametric. This enhancement allows a user to make all parts and sub-assembly components have the same units as the root assembly. To achieve consistent units, perform the following steps:

  1. Add a line to your config.pro stating: allow_multiple_units_conversion yes (This is not required for Creo Parametric 2.0 M070 and later)

  2. Open the assembly within Creo Parametric

  3. Open the Model Properties Utility (File> Prepare> Model Properties)

  4. Specify the desired units by choosing Change Units, then select the desired unit type and check “Include Submodels”

  5. Upon finalizing unit choice via the “Set” button, accept the required field informing you that the “Convert Dimensions” option is being used.

When using an assembly's offset as a parameter, a negative value will cause the direction of the offset to flip and the value will be returned with a positive sign.

Caveats and Known Issues

In no particular order, the caveats and known issues are:

Coordinate System Naming
Capturing a Body in a Named Selection
Surface Body Naming Convention
Layer Considerations
Updating Instances
Material Data
File Versions
Configuration Considerations
Decompose Disjoint Geometry
DesignModeler Considerations
Parametric Updates
Smart Update
Using Seed and Boundary with Named Selections
Limitations
Coordinate System Naming

When importing a Creo Parametric assembly with a coordinate system, default names starting with numbers are replaced with new names. During the import, typically a warning message is displayed that reads, "feature name not valid due to invalid characters."

In addition, the list of coordinate systems is not updated after refreshing the import operation.

Capturing a Body in a Named Selection

The Named Selection Manager does not directly offer a mechanism for adding solid bodies to a Named Selection Group; however, any solid bodies, features or quilts contained within a Creo Parametric layer matching the named selection key will have their faces and edges included in a group with the same name as the layer. When importing to Mechanical, each Named Selection containing bodies will be divided into two separate Named Selections; one containing each body’s faces, the other containing edges. When the Named Selection Key is left blank, layers will not be processed for named selection. The method of defining named selections requires explicitly matching the prefix of the layer name. If you wish to capture all Creo layers as named selections use the Named Selection Key "Layer".

Surface Body Naming Convention

Surface bodies imported into the ANSYS DesignModeler, ANSYS SpaceClaim Direct Modeler, and the ANSYS Mechanical application include numerical references to the parent part or assembly and Creo Parametric quilt ID. For example, a part named H103 with three Creo Parametric quilts 1, 2, and 3 will be identified as H103[1], H103[2] and H103[3].

Layer Considerations

Solid or Quilt bodies belonging to a hidden Creo layer will be not be imported when the layer is hidden.

Note that changing layer visibility in Creo Parametric does not mark a part/assembly as modified. To pick up such a change in state when importing to Mechanical, SpaceClaim or DesignModeler the Geometry cell's Smart Update preference must be disabled.

Updating Instances

Model Instances If you wish to update a particular instance of a model, it is necessary that the active model in Creo Parametric be the desired instance, otherwise a generic version of the instance will be used for the update.

Part Instances Within the Creo Parametric assembly, any component impacted by any assembly level feature will not be processed as an instance, but the full geometry will be imported. Note that for models where an assembly feature was modified so that component(s) are no longer impacted, you may still be required to update the intersection information manually otherwise the Plug-in will not be able to process them as instances. The following procedure describes the process of manual update of intersection data for Creo 3.0:

  1. Enable feature visibility (Model Tree> Settings> Tree Filters> Display Features)

  2. Select Assembly Feature for Edit

  3. Navigate to the feature's Intersection tab

  4. Disable Automatic Update

  5. Remove all componennts in the list

  6. Check Automatic Updates

  7. Accept the feature changes

Material Data

Material data can be transferred into ANSYS Workbench provided one or more of the material properties are defined for the Creo Parametric material. The properties for a Material are Density, Poisson's Ratio, Young's Modulus, Coefficient of Thermal Expansion, Specific Heat Capacity and Thermal Conductivity.

File Versions

Multiple versions of Creo Parametric files are designated with a .# extension that is appended to the .prt or .asm extension (for example, wrench.prt.1, wrench.prt.2 are names of two Creo Parametric file versions). You can access a specific version of a Creo Parametric file through the ANSYS Workbench Project Schematic.

You are strongly advised to avoid stripping the version numbers from Creo Parametric files for the following reasons:

  • If you open a stripped version of the file in Creo Parametric and import the file via the Plug-in, it will indicate the wrong version if there is any other version of that part file in the same directory.

  • If you attempt to load a stripped version of the file by using the Pseudo-Reader, the highest file version of that model will be loaded.

Regarding the updating of Creo Parametric file versions, updating will be version specific if you use the reader or if you do not open a copy of that model with the same name in a Creo Parametric interactive session. However, if you open one version of a model in Creo Parametric and you request the same model, but a different version for attach or update, the currently active version will be assumed to be the one that you want. This assumption is necessary for the following reasons:

  • Creo Parametric does not allow two different versions of the same part to be active at one time, using the same name.

  • If you save a model in a Creo Parametric session, its version is incremented (for example, if you attach via the Plug-in with version 3, then save the model in Creo Parametric , the version of the active model would be version 4).

Configuration Considerations

If an active Creo Parametric file does not appear under Active CAD Files, either Creo Parametric is not running or the ANSYS Workbench Plug-in for Creo Parametric is not loaded. For this last condition, run the CAD Configuration Manager. See Using the CAD Configuration Manager in the ANSYS, Inc. Windows Installation Guide for detailed information.

On some Windows systems, where the Plug-in was configured for only the current Administrator, the ANSYS Geometry Interfaces to Creo Parametric are not loaded as expected after being selected for install. This is because Creo Parametric is not detecting the required configuration file in the user's login folder (either %HOME% or %HOMEDRIVE%%HOMEPATH%). Work-around: Copy the file named config.pro from your login directory to Creo Parametric start-up directory which can be determined by either examining the properties for the shortcut used to launch Creo or by running <path to Creo Parametric install>\bin\ptcsetup.bat.

On the Windows platform, users without write access to their ANSYS Workbench installation may encounter the following error when attempting to import Creo Parametric models without an active CAD session: "No write access, please choose another start-up directory for trail file creation". This issue can be addressed by specifying an alternate location for Creo Parametric to create trail files. The trail_dir directive for the config.pro file is the mechanism offered by PTC. For example, adding the line trail_dir $TEMP to the config.pro file will force Creo Parametric to create trail files in the location referenced by the TEMP environment variable.

Administrative users should avoid configuring the Creo Parametric Associative Geometry interface both for “All Users” and “Current User”. Non-Administrative users should avoid configuring the interface for the same Creo installation that an Administrator has already setup for “All Users”. When a non-Administrative user configures for a Creo version different than that already configured for all users, that user’s import will work normally for only the CAD version specified by the non-admin user.

Creo Parametric can potentially leave behind the ANSYS ribbon tab after unconfiguring the Plug-In. In this case, the ribbon tab can be manually removed by deleting %APPDATA%\PTC\ProENGINEER\ Wildfire\.wf.\Settings\creo_parametric_customization.ui. In cases where the config.pro directive “load_ui_customization_run_dir” is set to yes this file will instead be located in the Creo start in directory.

Decompose Disjoint Geometry

Creo Parametric supports surfaces with multiple external contours; prior to Workbench 14.0 these were represented as a single, disjoint face when transferred to the ANSYS Mechanical application. To add greater flexibility in the ANSYS Mechanical, DesignModeler, or SpaceClaim Direct Modeler application and preserve unique IDs, a preference has been added to break apart the Creo Parametric surfaces into a single face for each external contour during import. In DesignModeler and SCDM, decomposition will always be attempted. In Mechanical, decomposition is the default pre-selected behavior, but can be disabled when desired.

Associativity will be maintained for sub-faces as long as the edges composing the external contour are static. Adjusting the sketch elements from which the external contour is defined, such that their internal identifiers change, will likely result in lost associativity.

DesignModeler Considerations

When a Creo Parametric model does not attach in the DesignModeler application but does attach in the ANSYS Mechanical application,

  1. A possible cause is a Round or Fillet radius in Creo Parametric that is failing to translate. You may find the cause by suppressing some or all of the Rounds or Fillets in the Creo Parametric model and then try to attach in the DesignModeler application.

  2. Creo Parametric Model tolerance (Accuracy) is too loose. You may be able attach the model successfully by setting Creo Parametric to use Absolute Accuracy along with a tighter tolerance.

To do so, edit the file named “config.pro” in the Creo Parametric.

  1. In Config.pro, add:

    enable_absolute_accuracy yes

    accuracy_lower_bound 1.0e-7

  2. Open the model in Creo Parametric

  3. Accuracy>Absolute>[Enter new value]>-->-->Regen>Yes

    For example, if the Absolute Accuracy Value is [1.2000e-03 mm], then try entering a new value that is 0.5 times that [0.6000e-04 mm]

Future Creo Parametric models can be created with tighter tolerance from the start (two orders of magnitude tighter than default) although may result in increased memory use and diminished performance. Note that after tightening a model’s tolerance it can fail to regenerate. If so, you can attempt less restrictive values until you find the one that will regenerate and translate into the DesignModeler application. However, not every model can regenerate at a tight enough tolerance to successfully translate.

In cases where adjusting the absolute tolerance does not work, you may need to defeature parts of the model until it imports successfully.

Parametric Updates

There is a known problem performing parametric updates of Creo Parametric models which contain parameters with "locked" access. The Creo Parametric API does not provide information regarding the access state of parameters and the Creo/Toolkit does not detect assembly parameter relationships driven by dimensions. This can result in refresh failure. Work-around: Ensure that locked parameters do not have a prefix/suffix corresponding to the existing parameter filter to prevent their import.

Model regenerations will fail when you have the configuration setting regen_failure_handling set to resolve_mode. This setting must either be left undefined or given the value no_resolve_mode for successful parametric updates.

When working in Creo Parametric's Simulation environment (Applications->Simulate) specifying an out of range parameter value can leave the CAD model in an undesirable state following update.

Smart Update

In order for the Geometry Interface to effectively identify and skip retrieval of unchanged assembly components the following requirements must be met:

  1. Mass Density must be defined for all assembly components.

  2. Model must be fully regenerated.

  3. Model must be saved before being retrieved using Reader mode (Creo Parameteric session is not active at time attach/refresh is initiated).


Note:  Mass density can be applied to assembly components without a preexisting setting by either of the following methods:

  • Either: File> Prepare> Model Properties> Mass Properties> Change > Specify Density Value -> Generate Report. Then accept the prompts for each component to which the value is to be applied.

  • Or: Defining a model parameter MP_DENSITY and specifying the value in the column next to each component. The model parameter can be created from Setting Menu> Tree Columns> Type: Model Params> Name: MP_DENSITY> Click right arrow to move into Displayed Column.


2D Analysis Considerations. Some surfaces which appear eligible for 2D analysis in Creo Parametric may be filtered during import, because their Z extent is beyond tolerance from the XY plane. Tolerance is considered to be 10e-5 multiplied by the surfaces diagonal length.

Using Seed and Boundary with Named Selections

The Associative Geometry Interface supports the Creo's Seed and Boundary selection technique as a means of adding groups of surfaces to a Named Selection.  Seed and Boundary selection can be performed as follows:

  1. Choose "Geometry" as the Creo selection filter.

  2. Select a surface as Seed

  3. Press SHIFT-Key (keep pressed)

  4. Select another surface, or set of surfaces, as Boundary

  5. Release the SHIFT-Key

The result is that all surfaces from Seed to the Boundary are selected excluding the Boundary surface.  These can then be added to a Named Selection via the Create and replace options in the Named Selection Manager.

Limitations

Creo Platform Agent Corrupt When the installation of this PTC utility is broken it will block the startup of the ANSYS Creo plug-in.   To work around this problem you can either (a) set the environment variable PROTK_DELAYINIT_NO_DELAY=TRUE, or (b) reinstall Creo to correct the problem with Creo Agent.

Interface load failure A regression was introduced to Creo Parametric 2.0 M150 and Creo Parametric 3.0 M040 which prevents the ANSYS plug-in from automatically loading into the CAD.    PTC has resolved this problem in Creo Parametric 2.0 M170 and Creo Parametric M050.   If you are running one of the effected versions it is recommended that you upgrade to the newer maintenance release.    If you are unable to move from the effected versions, an alternate work-around is to copy %AWP_ROOT170%\CADIntegration\ProE\ProEPages\config\WBPlugInPE.dat to your Creo Parametric start-in folder.

Mixed Unit Support All parts and sub-assemblies should be in the same unit. Models with mixed units imported into the ANSYS Mechanical application will trigger a warning indicating the mixed unit. Note that Siemens NX and PTC Creo are the only CAD systems that can provide mixed unit assembly data correctly to ANSYS Workbench.

Missing faces in Named Selections from Layers There is a known problem where some disjoint faces belonging to Creo Parametric Layers are incorrectly left out of a Workbench Named Selection or AIM Selection Set. The work-around to this problem is to import with the Decompose Disjoint Geometry preference disabled.

Parameter Value Out of Allowable Range There is a known problem performing model update when one or more parametric values are outside the CAD's allowable range for a given dimension or parameter.  In such cases the geometry interface will retrieve the model with parameter value matching the last successful regeneration in Creo, but the Workbench Project page will indicate the parameter's value to be the last requested value (out of range).  This behavior is only observed with Creo Parametric 3.0.  Updates performed with Creo Parametric 2.0 and Wildfire 5 will clearly indicate "Regeneration Failure" when supplied with a parameter which is out of range.

Relationship Driven Sketch Parameters Feature parameters linked to relation defined sketch or section dimensions will import to Workbench as Independent parameters due to a known problem in Creo. Any attempts to refresh/update the model with a changed value for such parameters will result in either an unexpected parameter value or aborted update due to a Creo regeneration failure.

Web Homepage It has been occasionally observed that setting Creo Parametric 2.0 to load certain webpages at startup, via the config.pro directive web_browser_homepage, can invalidate import of arc type edges.  This issue can result in mesh failures within Mechanical and non manifold geometry in DesignModeler.  To resolve this issue you can either update to the latest datecode of Creo Parametric 2.0 or remove the web_browser_homepage from your config.pro file.

Windchill Conflicts The environment variable PTC_WF_ROOT, used to define the default workspace cache location, can break import models not residing in the Creo start-in folder. The workaround is to us PTC_WLD_ROOT instead of PTC_WF_ROOT.


Release 18.2 - © ANSYS, Inc. All rights reserved.