Configuration File Settings for AutoCAD Translation - SmartSketch - Help

SmartSketch Help

Language
English
Product
SmartSketch
Search by Category
Help
Smart Engineering Manager Version
11
SmartSketch Version
11

The itacad.ini configuration file is delivered with the Translators option. This configuration file is used by translators and provides the capability for customizing the process of translation between the software and an AutoCAD document.

Many of the options found in the itacad.ini file are accessible through the various tabs on the AutoCAD Import Options Dialog Box and AutoCAD Export Options Dialog Box. It is recommended that options modified directly in the .ini file be done so only by an experienced user at their own risk.

The following table defines the supported .INI settings, along with any corresponding default values:

[Name of the Section /Name of the setting]

Description

Import

Export

Default

Value

[Options]

Seed File

Name of a seed file used for export.

N/A

Yes

.dwg file name

Enable Logging

If set, a log file will be created.

Yes

Yes

0

0/1

Read Default Units

Sets the default units used when importing foreign data.

Yes

N/A

64

59=m; 61=mm; 62=cm; 63=km; 64=in; 65=ft; 66=yd; 67=mil

Template File

Sets the document that will be used as a template when importing foreign data.

Yes

N/A

TransAcad.igr or TransAcad.sha

.igr file name
.sha file name (SmartSketch Drawing Editor)

Symbol Template File

Sets the symbol file that will be used as a template when importing foreign data.

Yes

N/A

File name

Dissolve Symbol to Groups

A flag that indicates whether or not to dissolve parametric and multi-representation symbols to groups.

N/A

Yes

0

0/1

Ignore Sheet Scale

If set to 1, the translated file fits to the sheet size by adjusting the sheet scale.

Yes

N/A

1

0/1

Processing Batch Translation

If set, progress bar dialog boxes do not display during the translation.

Yes

Yes

1

0/1

Attribute Sets

Names of attribute sets.

Yes

Yes

String consisting of attribute set names delimited by semicolons

Read Block Options

Sets how the blocks imported from AutoCAD are handled. The first option translates blocks into groups, whereas the second option translates blocks into symbols.

Yes

N/A

Shared embeds

Rigid groups/ Shared embeds

Write Version

Sets what version of the foreign file format is created on export when you invoke the Save As method from the API, or when you save to DWG from a Smart 3D task.

N/A

Yes

2013

2000, 2004, 2007, 2010, 2013

Read Reference Options

Specifies options to process reference files during translation.

Yes

N/A

Translate/Link/Merge

Read Default Width

Sets the width to be assigned to AutoCAD entities that do not have width or color to width mapping.

Yes

N/A

0.25

Millimeters

Write Polyline Width Threshold

Sets the width to determine when polylines with width are created.

N/A

Yes

10.0

Millimeters

Export All Graphics to PaperSpace

This flag deals with the export of files with reference attachments. If set to 0, all graphic objects are exported to Model space. SmartFrames with clipping boundaries do not display properly and detail views are ignored. If set to 1, all graphic objects are exported into Paper space. SmartFrames with clipping boundaries display properly. Detail views are ignored. If set to 2, all graphic objects are exported to Model space and Paper space is populated so that the original SmartSketch sheet is recreated.

N/A

Yes

2

0/1/2

Process Multiple Orientation in Viewports

This flag indicates whether or not to handle multiple orientation in viewports.

Yes

N/A

0

0/1

Max. Nesting
Depth

Determines how deep the translation processes the nested reference files.

Yes

N/A

-1

Number

Application Text Type

Determines if text origin and justification are preserved.

Yes

Yes

1

0 = Text origin is always in the upper left corner

1 = Origin preserved

2 = Reserved for future use

4 = Not Available

BigFonts Location

Provides the location of big fonts that can display text in Asian languages.

Yes

No

Folder location containing the AutoCAD font files and the required text mapping files to be used when importing AutoCAD drawings. The text mapping file name must be the same as the big font name. All character mapping text files require a section called BigFont Mapping. Example:

[BigFont Mapping]
~8 = 189

(ASCII Value of fractional value ½)

Single Text Alignment

If set to 1, horizontal text alignment is set to Horizontal justification. If not specified or if it is set to 0, horizontal text alignment is set to Left.

Yes

No

0/1

Process Non-Displayable Reference Files

Determines if non-displayable reference files are translated.

Yes

Yes

0

0/1

Attributes as Smart Text

Determines if SmartText is created from AutoCAD attributes

Yes

N/A

0

0 = Translates attributes as SmartText

1 = Translates attributes as text boxes

AutoCAD Extended Data

Sets the XData to be imported.

Yes

N/A

ACADASE

String consisting of XData names delimited by semicolons.

Stroke Reference

Determines if attached reference files are stroked on export.

N/A

Yes

0/1

Stroke Text

Determines if text is stroked on export.

N/A

Yes

0/1

Stroke Dimension

If set, dimension objects are stroked on export.

N/A

Yes

1

0/1

Disk-based Symbols

When set to 1, .sym files are created for each block in a .dwg during import.

Yes

N/A

0

0/1

Ignore Non-Displayable Symbols

When set to 1, non-displayable objects are exported.

N/A

Yes

0/1

Preserve Layers on Dissolved Symbols

If set to 1, members of symbol are exported even if their layer is turned off.

N/A

Yes

0/1

Push Owner Attributes to its Children

If set to 1, dynamic attributes are moved from a group (symbol) to its members.

N/A

Yes

1

0/1

Metafile to Raster DPI Resolution

Sets the dpi resolution for raster metadata during export.

N/A

Yes

350

DPI resolution

Stroking Tolerance

Determines the accuracy used when objects are stroked during export.

N/A

Yes

0.1

Millimeters

Hatch supported complexity

Supported hatch complexity of output format.

N/A

Yes

3

1 = only supports a single independent hatch line with dashes and gaps)

Need hatch description and stroke

If true, then stroke hatch even when hatch name and description are included in symbology.

N/A

Yes

1

0/1

Style Resource Name

Sets the style filename to be used on export.

N/A

Yes

acadpat.igr

File name

Delete Symbol Definitions

If set, symbol definitions are deleted after the translation.

Yes

N/A

1

0/1

Merge References

If set to 1 or 2, linked and embedded references are translated to AutoCAD block references and merged into a single master DWG file. Image references are also merged. If set to 0, separate DWG files will be generated for each linked and embedded reference.

No

Yes

1

0 = No Merge

1 = Merge with BIND

2 = Merge with INSERT

AutoCAD Background

Specifies the background color to apply to blank entities. This setting is used if AutoCAD is not on the machine where the translation occurs. If the AutoCAD Background option is not specified, the color of blank entities displays as black and white in AutoCAD.

If AutoCAD is on the machine where the translation occurs, the AutoCAD registry model background color is used, regardless of the AutoCAD Background value.

No

Yes

-1

Convert the hexadecimal color value to a decimal number. For example, define the hexadecimal value for black, 000000, as 0, and define the hexadecimal value for white, FFFFFF, as 16777215.

Export Graphic Groups

If this option is set to 1, SmartSketch groups translate to AutoCAD as groups. If the option is set to 0, SmartSketch groups translate to AutoCAD as individual objects.

No

Yes

1

0/1

Override Layers on Export

The OLOE ini setting is used only when the itacad.ini file has a seed file entry.

No

Yes

1

0 = Seed file layer controls the visibility and symbology of the graphics

1 = RAD document layer controls the visibility and symbology of the graphics

2 = Actual block is placed on the correct layer

Export Transparency Threshold

Specifies how objects with transparency are translated. Any object with a transparency that is less than or equal to the Export Transparency Threshold is translated. Otherwise, the object is not translated.

  • If you open the .dwg file in a version of AutoCAD that does not support transparency, then any translated objects display with no transparency.

  • AutoCAD displays all objects with a transparency of 90 and above with a transparency of 90. To completely hide an object with a transparency of 90 or greater, adjust the Export Transparency Threshold. For example, to hide objects with 100 transparency, set the Export Transparency Threshold to 99.

No

Yes

100

0-100

0 = Objects with transparency are not translated.

100 = Objects with transparency are translated.

Clipping Boundary Growth

Enables you to create and accommodate larger cross-reference clipping boundaries.

Yes

No

0

Enter the required size. For the size units, the software uses the unit value of the Length Readout Units setting in File > Properties > Units.

Image Border

Uses the border visibility settings of embedded images while exporting an .igr file to AutoCAD (.dwg).

Border Enabled

Border Enabled [OLEFRAME = 1]

Border Hidden

Border Hidden [OLEFRAME = 0]

N/A

Yes

Embed image into .dwg file

Set the variables below in the AutoCAD seed file, and then place the seed file in the same folder as the itacad.ini file.

Image type: Embed image (default)
Variable: OLEFRAME
Value (Border visibility): 1 or 0

Image type: Raster image
Variable: IMAGEFRAME
Value (Border visibility): 1 or 0

Values: 1 displays the border; 0 hides the border.

Specify the Seed File name in the itacad.ini file as shown below:

[Options]
Image border = 0
Enable Logging = 0
Write Version = 2018
Seed File=frameOff.dwg

[Read Default View] and [Write Default View]

Type

Describes the view type of the AutoCAD file to be imported or the SmartSketch file to be exported.

Yes

Yes

Read: Standard

Write: Transformation Matrix

Standard, Transformation Matrix, Active

Name

Specifies the name of the view. This is used when Type is set to Standard.

Yes

N/A

Top

Top, Front, Right, Bottom, Left, Back, NW Isometric, NE Isometric, SW Isometric, SE Isometric

Transformation

Specifies the transformation matrix when the view type is set to Transformation Matrix.

Yes

Yes

1000010000100001

4x4 matrix

Reference Point

Yes

Yes

Read: 0.0 0.0 0.0

Write: 0.0 1.0 0.0

X Y Z value

Normal

Yes

Yes

Read: 1.0 0.0 0.0

Write: 0.0 0.0 1.0

X Y Z value

Projection Vector

Yes

N/A

1.0 1.0 1.0

X Y Z value

[Write Linestyles]

Determines the mapping of linestyles between RAD and the foreign file format.

You can also map a user-defined fill pattern name to the required AutoCAD pattern name. If no mapping is provided in the itacad.ini file, the software defaults to the AutoCAD user-defined pattern (_USER).

No

Yes

Example:

RAD_ELEC_DIRECT_PAVING=CROSS

Where RAD_ELEC_DIRECT_PAVING is the user-defined fill pattern and CROSS is the AutoCAD fill pattern.

[Read Text Fonts] and [Write Text Fonts]

FontNameOriginal=FontNameMapped: LangId

Translator configuration files can optionally store the language identifier of the translated font in the Read Text Fonts section. If no identifier exists in the configuration file, RAD uses the identifier set under the regional settings of the control panel.

Yes

Yes

[Read Widths] and [Write Widths]

Determines the mapping of the line widths between the foreign file format and RAD.

Yes

Yes

Process Groups and Symbols for SmartFrames

Determines if SmartFrames present in groups and symbols are translated on export.

N/A

Yes

0

0/1

0 = Turns off the setting.

1 = Allows the translation of SmartFrames in groups and symbols for export. However, be aware that the setting decreases performance. We recommend turning on this setting (1) only when required.

See Also

Accuracy of AutoCAD Data During Import