Arbortext IsoDraw > Référence du langage macro > Object Data Types > Application Object - Data Exchange Preferences > Import DXF
  
Import DXF
app.dxf.showDialog
Returns and sets if the DXF import dialog is shown as boolean.
app.dxf.showDialog = TRUE
app.dxf.scale
Returns and sets the scale as float. 1 stands for 100% and 0.1 for 10%.
#setting the scale to 37%
app.dxf.scale = 0.37
app.dxf.platformIn
Returns and sets the import platform as integer. Allowed values are 1 for “Mac”, 2 for “MS Win” and 3 for “Unix”.
app.dxf.platformIn = 3
app.dxf.unit
Returns and sets the corresponding unit as integer. Allowed values are:
1
“mm”
2
“inch”
3
“foot”
4
“m”
app.dxf.unit = 1
app.dxf.polyAsElements
Returns and sets if polylines should be converted into lines and circles as boolean.
app.dxf.polyAsElements = FALSE
app.dxf.ignoreVarPolyWidth
Returns and sets if variable width of polylines should be ignored as boolean.
app.dxf.ignoreVarPolyWidth = TRUE
app.dxf.ignoreTextFactor
Returns and sets if the width factor of text elements should be ignored as boolean.
app.dxf.ignoreTextFactor = TRUE
app.dxf.ignoreHeight
Returns and sets if the height and elevation should be ignored as boolean.
app.dxf.ignoreHeight = FALSE
app.dxf.entities
Returns and sets the DXF options as integer. Please use this formula to calculate the allowed values:
value = 2^x
x
Option
0
“LINE“
1
“POINT“
2
“CIRCLE“
3
“SHAPE“
4
“ELLIPSE“
5
“SPLINE“
6
“TEXT“
7
“ARC“
8
“TRACE“
9
“SOLID“
10
“INSERT“
11
“ATTDEF“
12
“ATTRIB“
13
“POLYLINE“
14
“LINE3D“
15
“FACE3D“
16
“DIMENSION“
17
“RAY“
18
“XLINE“
19
“MTEXT”
20
“LEADER“
21
“MLINE“
22
“LWLINE“
23
“PROXY“
24
“HATCH“
25
“VIEWPORT“
Add values to activate different options.
#activating the TEXT-option only
app.dxf.entities = 64
#activating the CIRCLE- (2^2=4), SHAPE-
#(2^3=8) and ELLIPSE-option (2^4=16)
app.dxf.entities = 4 + 8 + 16