Packagecom.adobe.illustrator
Classpublic class AutoCADFileOptions
InheritanceAutoCADFileOptions Inheritance IllustratorHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5

Options which may be supplied when opening a AutoCAD file.



Public Properties
 PropertyDefined By
  centerArtwork : Boolean
To center the created artwork on the artboard (default: true)
AutoCADFileOptions
  globalScaleOption : AutoCADGlobalScaleOption
How to scale the AutoCAD drawing on import (default: Fit Artboard)
AutoCADFileOptions
  globalScalePercent : Number
Percentage scaling to apply globally on the AutoCAD drawing (default: 1.0)
AutoCADFileOptions
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  mergeLayers : Boolean
To merge the layers of the artwork (default: false)
AutoCADFileOptions
 Inheritedparent : *
[read-only]
IllustratorHostObject
  scaleLineweights : Boolean
To scale lineweights by the same amount as rest of the drawing (default: false)
AutoCADFileOptions
  selectedLayoutName : String
Name of layout in the AutoCAD drawing to import.
AutoCADFileOptions
  unit : AutoCADUnit
Units to which to map (default: Millimeters)
AutoCADFileOptions
  unitScaleRatio : Number
Ratio by which to scale while mapping the units (default: 1.0)
AutoCADFileOptions
Public Methods
 MethodDefined By
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
centerArtworkproperty
centerArtwork:Boolean

Since : CS5

To center the created artwork on the artboard (default: true)


Implementation
    public function get centerArtwork():Boolean
    public function set centerArtwork(value:Boolean):void
globalScaleOptionproperty 
globalScaleOption:AutoCADGlobalScaleOption

Since : CS5

How to scale the AutoCAD drawing on import (default: Fit Artboard)


Implementation
    public function get globalScaleOption():AutoCADGlobalScaleOption
    public function set globalScaleOption(value:AutoCADGlobalScaleOption):void
globalScalePercentproperty 
globalScalePercent:Number

Since : CS5

Percentage scaling to apply globally on the AutoCAD drawing (default: 1.0)


Implementation
    public function get globalScalePercent():Number
    public function set globalScalePercent(value:Number):void
mergeLayersproperty 
mergeLayers:Boolean

Since : CS5

To merge the layers of the artwork (default: false)


Implementation
    public function get mergeLayers():Boolean
    public function set mergeLayers(value:Boolean):void
scaleLineweightsproperty 
scaleLineweights:Boolean

Since : CS5

To scale lineweights by the same amount as rest of the drawing (default: false)


Implementation
    public function get scaleLineweights():Boolean
    public function set scaleLineweights(value:Boolean):void
selectedLayoutNameproperty 
selectedLayoutName:String

Since : CS5

Name of layout in the AutoCAD drawing to import.


Implementation
    public function get selectedLayoutName():String
    public function set selectedLayoutName(value:String):void
unitproperty 
unit:AutoCADUnit

Since : CS5

Units to which to map (default: Millimeters)


Implementation
    public function get unit():AutoCADUnit
    public function set unit(value:AutoCADUnit):void
unitScaleRatioproperty 
unitScaleRatio:Number

Since : CS5

Ratio by which to scale while mapping the units (default: 1.0)


Implementation
    public function get unitScaleRatio():Number
    public function set unitScaleRatio(value:Number):void