Arbortext IsoDraw > Macro Language Reference > Object Data Types > Application Object - User Interface Preferences > app.project3D
  
app.project3D
Applies to Arbortext IsoDraw CADprocess only
These properties return and set 3D projection attributes—but they can not be used directly. Any changes made to app.project3D properties in a macro are saved in the Arbortext IsoDraw CADprocess3D Options preferences. (See 3D Options in the Arbortext IsoDraw User's Reference.)
* 
The app.project3D.as… properties below correspond to mutually exclusive options in the Arbortext IsoDraw CADprocess3D Projection-Set dialog box. To ensure the desired 3D projection results, one— and only one—of these properties must be true before the macro executes the 3D PROJECT command.
app.project3D.as3D
Returns and sets the keep 3D data property as boolean. This property corresponds to the keep 3D data option in the 3D Projection-Set dialog box.
true
Projects a 3D view into a 2D illustration and keeps the 3D data.
app.project3D.as3D = true
app.project3D.asShaded
Returns and sets the shaded property as boolean. This property corresponds to the shaded option in the 3D Projection-Set dialog box.
true
Projects a 3D view into a 2D illustration as a shaded raster image. The 2D image matches the display type in 3D mode.
app.project3D.asShaded = true
app.project3D.resolution
For shaded (raster) 3D projection only: Returns and sets the resolution in dots per inch (dpi) of the target 2D raster image as integer. Allowed values are from 1 dpi to 1139 dpi. This property corresponds to the Resolution option in the shaded-Set dialog box. (To access the Resolution setting, select shaded in the 3D Projection-Set dialog box, then click Options.)
app.project3D.resolution = 300
app.project3D.Raster_kind
For shaded (raster) 3D projection only: Returns and sets the color depth of the target 2D raster image as string. This property corresponds to the three color Depth options: Lineart image (1 Bit), Color image (8 Bit), and Color image (32 Bit), in the shaded-Set dialog box. (To access Depth settings, select shaded in the 3D Projection-Set dialog box, and then click Options.)
bitmap
Converts 2D raster image to 1-bit black and white lineart
color8
Converts 2D raster image to 8-bit color
color32
Converts 2D raster image to 32-bit color
app.project3D.Raster_kind = "color32"
app.project3D.level
For shaded (raster) 3D projection only: Returns and sets (as integer) the property that specifies:
If object information is preserved or discarded during 3D projection.
How many layers will be created in the 2D illustration for 3D objects that are converted to 2D objects. Each layer in the 2D illustration contains a separate raster image.
Allowed values are 1 or greater. This property corresponds to the Layer option in the shaded-Set dialog box. (To access the Layer setting, select shaded in the 3D Projection-Set dialog box, then click Options.)
1
Object information is discarded during 3D projection. The target 2D raster image has one layer.
2 or greater
Object information is preserved during 3D projection. The target 2D raster image has the specified number of layers. Each layer contains a raster image of a converted 3D object.
app.project3D.level = 1
app.project3D.onlyPortions
For shaded (raster) 3D projection only: Returns and sets the ability to shade, or not shade, portions of 3D objects that are obscured by 3D objects in front of them as boolean. This property corresponds to the Draw only visible portions option in the shaded-Set dialog box. (To access the Draw only visible portions setting, select shaded in the 3D Projection-Set dialog box, then click Options.)
app.project3D.onlyPortions is only effective when these conditions are met:
The 3D set is placed.
app.project3D.level = 1 (in the shaded-Set dialog box, Layer is set to 1).
true
Do not shade areas that are obscured by 3D objects in front of them.
false
Shade all 3D objects completely. Some 3D parts might obscure others.
# Set application preference OFF (default is ON).
app.project3D.onlyPortions = false

# Set option ON for the active Set (only possible if a set is active)
activeDoc.active_set.project3D.onlyPortions = true
app.project3D.asWireframe
Returns and sets the wireframe property as boolean. This property corresponds to the as wireframe option in the 3D Projection-Set dialog box.
true
Projects a 3D view into a 2D illustration as a wireframe drawing.
app.project3D.asWireframe = true
app.project3D.asHLR
Returns and sets the remove hidden lines property as boolean. This property corresponds to the remove hidden lines option in the 3D Projection-Set dialog box.
true
Projects a 3D view into a 2D illustration with Hidden Line Removal (HLR).
app.project3D.asHLR = true
app.project3D.useThickThin
Returns and sets the use create thick/thin lines property as boolean.
true
Projects a 3D view into a 2D illustration as a wireframe drawing.
app.project3D.useThickThin = true
Use app.project3D.useThickThin to create thick/thin lines in the 2D illustration projected from a 3D view. It corresponds to the use thick/thin lines option in the 3D Projection-Set dialog box; true selects this option; false clears this selection.
app.project3D.createSurfaceBorders
Returns and sets the use create surface borders property as boolean.
app.project3D.createSurfaceBorders = false
app.project3D.HLR_type
For HLR 3D projection only: Returns and sets the HLR 2D element type as string. This determines the type of 2D element—Line, Polyline, or Bézier path—that all 3D data elements are converted into during 3D projection. This property corresponds to the three HLR 3D options: as lines, as polylines, and as Bézier paths, under Optimize in the Options-Set dialog box (accessed by clicking Options in the 3D Projection-Set dialog box).
lines
3D elements convert to 2D Line elements.
polylines
3D elements convert to 2D Polyline elements.
beziers
3D elements convert to 2D Bézier path elements.
app.project3D.HLR_type = "beziers"
app.project3D.HLR_plusEllipses
For HLR 3D projection only: Returns and sets the HLR 2D ellipse element conversion property as boolean. This property corresponds to the HLR 3D option, generate ellipses, under Optimize in the Options-Set dialog box (accessed by clicking Options in the 3D Projection-Set dialog box).
true
Converts ellipses formed by Line, Polyline, or Bézier path elements during 3D projection into Ellipse elements in the 2D illustration.
app.project3D.HLR_plusEllipses = true
app.project3D.HLR_optSpeed
For HLR 3D projection only: Returns and sets the HLR 3D projection speed optimization property as boolean. This property corresponds to the HLR 3D option, Optimize for speed, under Advanced Settings in the Options-Set dialog box (accessed by clicking Options in the 3D Projection-Set dialog box).
true
Accelerates the 3D projection process by performing simpler 3D-to-2D conversion calculations.
app.project3D.HLR_optSpeed = true
app.project3D.smoothSurfaces
Returns and sets the Thin line threshold property as integer. Allowed values are from 0 to 100.
app.project3D.smoothSurfaces = 65
app.project3D.thickPen
Returns and sets the Pen property for thick lines as string. Allowed values are any existing pen name.
app.project3D.thickPen = "$ISO_Thick"
app.project3D.thinPen
Returns and sets the Pen property for thin lines as string. Allowed values are any existing pen name.
app.project3D.thinPen = "$ISO_Thin"
app.project3D.createContour
Returns and sets if an outer contour (outline) is created for the HLR projection as boolean. This property corresponds to the create contour fills option in the 3D Projection-Set dialog box.
# Set application global preference
app.project3D.createContour = true
app.project3D.contourFillColor
Returns and sets the fill color of the created contour in the HLR projection. The type is ColorSpec. It can specify the contour fill color type, tone, and color. This property corresponds to the HLR 3D option settings under Fill contour with color in the Options-Set dialog box (accessed by clicking Options in the 3D Projection-Set dialog box).
# Set application global preference
app.project3D.createContour = true
app.project3D.contourFillColor.type = "colorRef"
app.project3D.contourFillColor.color = "50% Gray"
app.project3D.contourFillColor.tone = 1