Arbortext IsoDraw > Macro Language Reference > Object Data Types > Application Object - Data Exchange Preferences > Import VRML
  
Import VRML
app.vrml.showDialog
Returns and sets if the VRML import dialog is shown as boolean.
app.vrml.showDialog = TRUE
app.vrml.scale
Returns and sets the scale as float. 1 stands for 100% and 0.1 for 10%.
#setting the scale to 37%
app.vrml.scale = 0.37
app.vrml.selectGroups
Returns and sets if assemblies should be selected as boolean.
app.vrml.selectGroups = FALSE
app.vrml.createInfo
Returns and sets if the object info for assemblies should be created as boolean.
app.vrml.createInfo = FALSE
app.vrml.hsType
Returns and sets the hotspot type as integer. Allowed values are 0 for “no Hotspot” and 1 for “lines of object”.
app.vrml.hsType = 1
app.vrml.readflag
Returns and sets if the buffers should be read for all file sizes as integer. Allowed values are 1 for “off” and 17 for “create reading buffer for all file sizes”.
app.vrml.readflag = 17
app.vrml.entities
Returns and sets the VRML options as integer. Please use this formula to calculate the allowed values:
value = 2^x
x
Option
0
“Box“
1
“Cube“
2
“Cone“
3
“Cylinder“
4
“Sphere“
5
“Elevation Grid“
6
“Point Set“
7
“Indexed Line Set“
8
“Indexed Face Set“
9
“Extrusion“
Add values to activate different options.
#activating the Cone-option only
app.vrml.entities = 4

#activating the Cone- (2^2=4), Cylinder-
#(2^3=8) and Sphere-option (2^4=16)
app.vrml.entities = 4 + 8 + 16
app.vrml.viewpointFlag
Returns and sets the VRML Viewpoints option as integer. Use 0 to not use viewpoints, use 1 to Use viewpoints; Select from list and use 3 to Use viewpoints; Predefined viewpoint.
app.vrml.viewpointFlag = 0
app.vrml.viewpointPredef
Returns and sets the Predefined viewpoint option as string. The option to Use viewpoints; Predefined viewpoint must be selected for this setting to take affect.
app.vrml.viewpointPredef = "test"