AutoCAD Associative Geometry Interface (*.dwg, *.dxf)

The interface works in both Plug-in and Pseudo-Reader mode.

See the Product & CAD Configuration Manager for usage information.

Support

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

For information about post-release CAD system compatibility with Ansys Workbench, see the Platform Support section of the Ansys Website.

Document import supported by interface: *.dwg, *.dxf

Table 3: Import Preference Support for AutoCAD Geometry Interface

Import Solid BodiesYes
Import Surface BodiesYes
Import Line BodiesYes
Parameter Processing and prefix/suffix keyNo
Attribute Processing and prefixNo
Named Selection Processing and prefixYes – AutoCAD Layers can be imported as Named Selections
Material ProcessingNo
Analysis Type
3D - Yes
2D - Yes; surface and line bodies on the xy plane may be imported
AssociativityNo
Coordinate SystemsNo
Work PointsNo
Reader Save FileNo
Instancing Yes
Smart UpdateNo
Enclosure and Symmetry ProcessingNo
Mixed Import ResolutionYes: for parts that include more than one body type (solid, surface, line) with these selected for import.
Decompose Disjoint GeometryNo
Import Facet QualityYes


Note:  AutoCAD LT is not supported. You must have the full version of the product to perform an import.


Notations

Entities which belong to layers which are invisible, frozen or turned off will be skipped during import.

AutoCAD mesh bodies, of type Polygon Mesh and Polyface Mesh, are not supported for import. Note that when exporting Revit models to DWG the default solid type is Polyface. To generate a DWG file with Workbench importable bodies, it is required that the Revit user select "ACIS Solids" in the Solids tab of the DWG/DFX Export Setup dialog.

Body Arrays  —  Geometry created by using the AutoCAD "Array" command will not automatically be imported into Ansys Workbench. To make such bodies importable: (a) load the drawing file into AutoCAD, (b) select the array, and (c) issue the "Explode" command.

Color Processing  —  AutoCAD bodies can be automatically grouped in Named Selections based upon their color by adding the keyword "Color" to the Named Selection Key list. The resultant selection groups will be named with the form, Color:R.G.B. Here R, G and B are values ranging from 0 to 255, which represent the amount of color saturation of Red, Green and Blue color components. For example Color:0.0.0 is black, Color:255.255.255 is white, and Color:255.0.0 is red.

Within the Mechanical application, body colors can be visually altered to match what is displayed in the AutoCAD session by executing the following steps:

  1. Prior to attach/refresh, enable the Attributes preference.

  2. Add the keyword "Color" to the Attributes Key list.

  3. After attach/refresh is complete, within Mechanical perform Tools->Run Macro and designate this script to be run: <install dir>\v<version>\aisol\DesignSpace\DSPages\macros\BodyColorByCADColorAttribute.js

Layer Processing  —  AutoCAD entities can be automatically assigned to Named Selections based upon their layer assignment. This can be accomplished by enabling the Named Selection preference, and adding the keyword "Layer" to the Named Selection Key list. Subsequent attach/refresh actions will import with selection groups named with the form, Layer:<AutoCAD Layer Name>.

Localization Considerations  —  To change the Ansys Ribbon to match Workbench localization follow these steps:

  1. Unconfigure the AutoCAD Plug-In using Product & CAD Configuration Manager

  2. Run AutoCAD one time, then close.

  3. Under the options menu, change locale setting within Workbench.

  4. Configure the AutoCAD Plug-In using Product & CAD Configuration Manager.

  5. Run AutoCAD.

Pseudo-Reader Attach/Refresh  —  When importing and no active session of AutoCAD is running, Ansys Workbench will automatically launch the last run version of AutoCAD for the current user account. Import will fail if the current user has never launched AutoCAD. In this case launching the CAD system one time will resolve the failure. When DWG TrueView is present and has been run prior to the most recent execution of AutoCAD, pseudo-reader attach will fail. In this case, launching AutoCAD one time will correct the problem.

Uninstall Considerations  —  When the AutoCAD associative interface is configured for a non-admin user the Ansys ribbon tab will remain after the product is uninstalled. To avoid this the non administrative user should manually unconfigure the product prior to removing the installation, using the Product & CAD Configuration Manager.

Units  —  AutoCAD does maintain an internal length unit scale factor. However, by default the length unit is undefined for all layouts Block Table Records such as Model Space and Paper Space. This conflicts with the model unit specification within the drawing file. To reconcile the potential discrepancy the geometry interface will interpret AutoCAD models as if they have the same length unit system specified within Ansys Workbench, with no conversion attempted.

Limitations

The following limitation is specific to the Ansys 2024 R2 Associative Geometry Interface to AutoCAD. There is a known library conflict with earlier releases of this Plug-In, which causes the 2024 R2 Ansys Plug-In to fail loading into AutoCAD when a previous version of the Plug-In is configured to load into AutoCAD.

Use the following procedure to enable these versions to be loaded side-by-side in AutoCAD.

  1. Use Product & CAD Configuration Manager to configure the AutoCAD Associative Geometry Interface for 2024 R2.

  2. Unconfigure all other versions of the AutoCAD Associative interface, also using the corresponding version of Product & CAD Configuration Manager.

  3. Open AutoCAD, the 2024 R2 version of the Ansys Geometry Interface will automatically load. All other versions will need to be manually started by:

    • Start the Application

      • Within AutoCAD open a model such as a DWG or DFX file.

      • Manage >>Load Application

      • Browse to <Path to Ansys Installation>\aisol\CADIntegration\DWG\winx64

      • Select WB<version>PlugInDWG2021.arx and click Load

    • Load the Robbon Tab

      • Manage >> User Interface

      • Select Partial Customization Files in the tree, and Right Mouse Button >> Load Partial Customization File

      • Browse to <Path to Ansys Installation>\aisol\CADIntegration\DWG\Language\<language>

      • Open Workbench241.cuix

    • Note for future startup of AutoCAD step (b) will not be needed; however, you must complete the steps to start the application enumerated under (a).