# DWG This will export an AutoCAD dwg. ## Inventor Drawing **Conversion method**: [DataIO]()\ **Supported files**: *idw, dwg* **Important** ```{note} When exporting **multisheet IDW or DWG** files, Inventor creates foreach Sheet a own dwg file.\ By setting the flag *USE TRANSMITTAL* to Yes, a zip file with same name as the destination dwg file will be created instead. ``` ### Sample configuration (Drawing) ```{code-block} :caption: DWG_2D.ini [EXPORT SELECT OPTIONS] Export_Acad_IniFile=C:\ProgramData\coolOrange\powerJobs\Modules\Export\DWG_2D.ini AUTOCAD VERSION=AutoCAD 2000 CREATE AUTOCAD MECHANICAL=No USE TRANSMITTAL=No USE CUSTOMIZE=No CUSTOMIZE FILE=C:\Users\Public\Documents\Autodesk\Inventor 2015\Design Data\DWG-DXF\FlatPattern.xml CREATE LAYER GROUP=No PARTS ONLY=No REPLACE SPLINE=No CHORD TOLERANCE=0.001000 [EXPORT PROPERTIES] SELECTED PROPERTIES= [EXPORT DESTINATION] SPACE=Model SCALING=Geometry ALL SHEETS=Yes MAPPING=MapsBest MODEL GEOMETRY ONLY=No EXPLODE DIMENSIONS=No SYMBOLS ARE BLOCKED=Yes AUTOCAD TEMPLATE= DESTINATION DXF=No USE ACI FOR ENTITIES AND LAYERS=No [EXPORT LINE TYPE & LINE SCALE] LINE TYPE FILE=C:\Users\Public\Documents\Autodesk\Inventor 2015\COMPATIBILITY\Support\invANSI.lin Continuous=Continuous;0. Dashed=DASHED;0. Dashed Space=DASHED_SPACE;0. Long Dash Dotted=LONG_DASH_DOTTED;0. Long Dash Double Dot=LONG_DASH_DOUBLE_DOT;0. Long Dash Triple Dot=LONG_DASH_TRIPLE_DOT;0. Dotted=DOTTED;0. Chain=CHAIN;0. Double Dash Chain=DOUBLE_DASH_CHAIN;0. Dash Double Dot=DASH_DOUBLE_DOT;0. Dash Dot=DASH_DOT;0. Double Dash Dot=DOUBLE_DASH_DOT;0. Double Dash Double Dot=DOUBLE_DASH_DOUBLE_DOT;0. Dash Triple Dot=DASH_TRIPLE_DOT;0. Double Dash Triple Dot=DOUBLE_DASH_TRIPLE_DOT;0. ``` ## Inventor Model **Conversion method**: [DataIO]()\ **Supported files**: *iam*,*ipt* ### Sample configuration (Model) ```{code-block} :caption: DWG_3D.ini [EXPORT SELECT OPTIONS] Solid=True Surface=True Sketch=True DwgVersion=23 ``` ## Inventor Sheet Metal **Conversion method**: [DataIO]()\ **Supported files**: *sheetmetal ipt* **Important** The **full list of arguments** for the DataIO addin can be found [here](https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=GUID-9F5075D3-00C5-47B3-8BF9-F97E8680B39E). ### How the Sheetmetal Settings relate to the Inventor User Interface ```{image} /jobprocessor/code_reference/cmdlets/export-document/img/pj_config_inv_dwg_sheetmetal.png ``` ```{warning} It is **NOT possible to use .ini-files created by Inventor** for this export!\ The sheetmetal export internally uses DataIO, which is not compatible to the configuration files created in the Inventor user interface (see the [Autodesk forum](http://forums.autodesk.com/t5/inventor-customization/dxf-flatpattern-export-with-ini-file/td-p/3796796) for more details). ``` ### Sample configuration (Sheet Metal) ```{code-block} :caption: DWG_SheetMetal.ini [EXPORT SELECT OPTIONS] AcadVersion=2000 TangentLayer=IV_TANGENT OuterProfileLayer=Outer ArcCentersLayer=IV_ARC_CENTERS InteriorProfilesLayer=IV_INTERIOR_PROFILES BendLayer=IV_BEND BendUpLayer=IV_BEND BendDownLayer=IV_BEND_DOWN ToolCenterLayer=IV_TOOL_CENTER ToolCenterUpLayer=IV_TOOL_CENTER ToolCenterDownLayer=IV_TOOL_CENTER_DOWN FeatureProfilesLayer=IV_FEATURE_PROFILES FeatureProfilesUpLayer=IV_FEATURE_PROFILES FeatureProfilesDownLayer=IV_FEATURE_PROFILES_DOWN AltRepFrontLayer=IV_ALTREP_FRONT AltRepBackLayer=IV_ALTREP_BACK UnconsumedSketchesLayer=IV_UNCONSUMED_SKETCHES TangentRollLinesLayer=IV_ROLL_TANGENT RollLinesLayer=IV_ROLL ExportUnconsumedSketchProperties=1 SimplifySplines=1 SplineTolerance=0.01 AdvancedLegacyExport=1 MergeProfilesIntoPolyline=0 RebaseGeometry=0 InvisibleLayers= ``` ### Spline A [spline](https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/AutoCAD-Core/files/GUID-58316136-30EB-499C-ACAD-31D0C653B2B2-htm.html?us_oa=akn-us&us_si=8511eb6d-c164-45e0-940e-e0dbd9c8d28e&us_st=About%20Splines) is a curve that passes through a set of points which influence the shape of the curve.\ To disable the replacement of **splines with linear segments**, the flag `SimplifySplines` must be turned off. This setting is activated by default and the corresponding **chord tolerance** can be ajusted with the option `SplineTolerance` (see *(A)* in the screenshot above).\ When this double value is set to 0, the spline passes directly through the fit points. With larger tolerance values, the spline passes near the fit points.