Follow on Facebook

Design Modeler – Import from Autodesk Inventor directly

Source: Sharcnet

Using the CAD Configuration Manager

The CAD Configuration Manager allows you to configure geometry interfaces for Mechanical APDL and ANSYS Workbench. CAD configuration is typically handled during the product installation; however, if you chose to skip those steps, or if you make changes to your local CAD configuration between releases (for example, you install, move, or update your CAD package, or remove it entirely), you can use this utility.

The CAD Configuration Manager is organized into several tabs:

  • CAD Selection
  • Creo Parametric
  • NX
  • Teamcenter (active on Windows only)
  • CAD Configuration

This document describes how to use the CAD Configuration Manager as a wizard, beginning with the CAD Selection tab and using the Next button to progress through the configuration process. You can also manually select each tab to progress through the configuration process; both methods work the same. However, the applicable tabs will not be enabled until you choose the associated product on the CAD Selection tab.

  1. From Windows 7, click Start > All Programs > ANSYS 16.2 > Utilities > CAD Configuration Manager 16.2. From Windows 8.1, right-click the Start Screen> All apps> ANSYS 16.2> CAD Configuration Manager 16.2.
  2. On the CAD Selection tab, choose the CAD products that you need to configure. Click Next.
  3. If you did not select any CAD interfaces the necessary prerequisites will be registered, enabling Geometry (DesignModeler). You must run the CAD Configuration Manager as an administrative user for some CAD registrations to take place. Select the CAD Configuration tab and click Configure Selected CAD Interfaces to register the prerequisites.
  4. If you selected Creo Parametric as one of your CAD products, you will have to choose which Creo Parametric product to configure:
    1. The Reader option specifies the non-associative source and doesn’t require a Creo Parametric installation. (This reader does not support CAD associativity or parameters.)
    2. The Workbench Associative Plug-In option requires Creo Parametric to be installed. When you choose this option, the Creo Parametric tab opens.
      1. Enter or browse to the Creo Parametric installation location (for example, C:\Program Files\PTC\Creo 2.0\Parametric).
      2. Enter or browse to the Creo Parametric start command (for example, C:\Program Files\PTC\Creo 2.0\Parametric\bin\parametric.bat). Include the complete path if entering the command manually.
      3. Click Next.
    Note:  When ANSYS Workbench is installed by an administrative user, the Creo Parametric plug-in will load for all users of the designated CAD install. However, when multiple Creo Parametric installations are present on the system, the plug-in should only be configured for a single installation of Creo Parametric; otherwise unconfiguring the plug-in will cause load problems for all other installations of the CAD.
  5. If you selected NX as one of your CAD products, you will have to choose which NX product to configure:
    1. The Reader option specifies the non-associative source and doesn’t require an NX installation. (This reader does not support CAD associativity or parameters.)
    2. The Workbench Associative Plug-In option requires NX to be installed. When you choose this option, the NX tab opens.
      1. Enter or browse to the NX installation location (for example, C:\Program Files\Siemens\NX 8.5).
      2. Enter or browse to the NX custom directory file path (for example, C:\Documents and Settings\UserName\Application Data\ANSYS\v162\Unigraphics).Note:  If you are installing as an administrator, this file path will be defined in your administrator’s user space by default and non-administrative users will not be able to run. Use this setting to specify a new location for the custom directory file path that is accessible by all users.
      3. Click Next.
  6. If you selected Inventor and/or SolidWorks as one of your CAD products, you will have to choose which Inventor and/or SolidWorks product to configure:
    1. The Reader option specifies the non-associative source and doesn’t require an Inventor or SolidWorks installation. (This reader does not support CAD associativity or parameters.)
    2. The Workbench Associative Plug-In option requires Inventor or SolidWorks to be installed.
  7. If SpaceClaim Engineer is installed, you will have to choose to configure the ANSYS Workbench Plug-In for either SpaceClaim Direct Modeler or SpaceClaim Engineer. Otherwise you are limited to configuring the SpaceClaim Direct Modeler Plug-In.
  8. If you selected Teamcenter as one of your CAD products, the Teamcenter tab opens:
    1. Enter or browse to the Teamcenter installation location (for example, C:\SIEMENS\Teamcenter2008).
    2. Discriminator is a client-defined identifier for a session. For example, ANSYSWBPlugInTC.
    3. Choose Next.
  9. If you selected Catia V5 as one of your CAD products, you will have the option to choose which CATIA V5 product to configure.
    1. Select the Reader option to configure the CATIA V5 standalone reader that does not require an installation of the CATIA V5 CAD program. (This reader does not support CAD associativity or parameters.)
    2. Select the CADNexus/CAPRI CAE Gateway option to configure the CATIA V5 associative reader that does require an installation of the CATIA V5 CAD program and the CADNexus/CAPRI CAE Gateway (this geometry interface does support CAD associativity and parameter modifications).
    3. Click Next.
  10. The CAD Configuration tab opens.
    1. Click the Configure Selected CAD Interfaces button.
    2. When the configuration for all products is complete, log entries appear, listing those products that were successfully configured and those that were not. Address any errors and reconfigure.
    3. For more details, click the Display Configuration Log File button to see a detailed log file.
  11. When all of your CAD products have been successfully configured, click Exit.

You can review the CAD Configuration Manager log file, CADConfigurationMgr.log, in \ANSYS Inc.

Important:  If you change your source from reader to associative plug-in or vice-versa (Creo Parametric, NX, SolidWorks, Autodesk Inventor, or Catia V5), you must first unconfigure the existing source and then configure using the new source.

8.1.1. Unconfiguring

If you need to unconfigure any of your CAD products, follow the steps above, but choose Unconfigure Selected CAD Interfaces on the CAD Configuration tab.

8.1.2. Running the CAD Configuration Manager in Batch Mode

You can configure ANSYS Geometry Interfaces by supplying the CAD Configuration Manager with arguments specific to the CAD sources you want to make available. The following table contains a list of supported arguments.

The command to run the CAD Configuration Manager in batch mode on Windows is:

"<installpath>\commonfiles\CAD\bin\winx64\Ans.CadInt.CADConfigurationUtility.exe" 
     -arguments
ArgumentValueComment
UNCONFIGURE_SPECIFIEDNoneResults in any specified CAD sources being unconfigured. When this flag is absent, the CAD Configuration Manager will attempt to configure all designated CAD sources.
UNCONFIGURENoneResults in all CAD sources being disabled along with prerequisite libraries.
Either: PE_CONFIG_WB or PE_CONFIG_WBSPATIALNoneSpecify Creo Parametric source as either the associative plug-in or the reader (Spatial, no Creo Parametric install required). When the plug-in is specified, additional arguments PROELOADPOINT and PROE_START_CMD are required.
PROELOADPOINTFull path to Creo Parametric installation (quotes required on Windows).Not required with unconfigure operation.
PROE_START_CMDFull path to command used to launch Creo Parametric (quotes required on Windows)Not required with unconfigure operation.
Either: UG_CONFIG_WB or UG_CONFIG_WBSPATIALNoneSpecify NX source as either the associative plug-in or the reader (Spatial, no NX install required). When the plug-in is specified, the argument UGII_BASE_DIR must also be specified.
UGII_BASE_DIRFull path to NX installationThis should agree with environment variable UGII_BASE_DIR. Not required with unconfigure operation.
Either: CATIA_SPATIAL or CATIA_CAPRINoneSpecify Catia V5 source as either the Reader (Spatial, no Catia install required) or CAPRI (CADNexus install required).
OSDM_CONFIGNoneConfigure/unconfigure Creo Elements/Direct Modeling.
Either: INVENTOR_CONFIG or INVENTOR_CONFIG_WBSPATIALNoneSpecify Inventor source as either the associative plug-in or the reader (Spatial, no Inventor install required).
Either: SOLIDWORKS_CONFIG or SW_CONFIG_WBSPATIALNoneSpecify SolidWorks source as either the associative plug-in or the reader (Spatial, no SolidWorks install required).
SOLIDEDGE_CONFIGNoneConfigure/unconfigure Solid Edge.
ACAD_CONFIGNoneConfigure/unconfigure AutoCAD.
TEAMCENTER_CONFIGNoneConfigure/unconfigure Teamcenter; for configuration requiresTC_ROOT flag.
IMAN_ROOTPath to Teamcenter installation.Not required with unconfiguration operation.
JTOPEN_CONFIGNoneConfigure/unconfigure JT.
CATIA4_CONFIGNoneConfigure/unconfigure CATIA v4.

Note:  All arguments require a dash (-) before them in order to be properly recognized by the CAD Configuration Manager. Arguments’ values should not have a dash preceding them.

For example, you can configure Creo Parametric and SolidWorks Geometry Interfaces to ANSYS Workbench from the command line by using the following:

"<installpath>\commonfiles\CAD\bin\winx64\Ans.CadInt.CADConfigurationUtility.exe" 
-SW_CONFIG -PE_CONFIG_WB -PROELOADPOINT "C:\Program Files\PTC\Creo 2.0\Parametric" 
-PROE_START_CMD "C:\Program Files\PTC\Creo 2.0\Parametric\bin\parametric.bat"

where installpath is the same as the value of environment variable %AWP_ROOT162%platform is the value of environment variable %ANSYS_SYSDIR%, and Creo Parametric is installed to C:\Program Files\PTC\Creo 2.0\Parametric.

To unconfigure the same CAD Interfaces, the command would be:

"<installpath>\commonfiles\CAD\bin\winx64\Ans.CadInt.CADConfigurationUtility.exe" 
-unconfigure -SW_CONFIG -PE_CONFIG_WB

Although the argument order does not matter, an argument value must immediately follow its argument.

Be the first to comment

Leave a comment

Your email address will not be published.


*