 |
Acad.Application |
This is a singleton class that provides services for accessing the active document object. |
 |
Acad.Application.activedocument.capturePreview |
Use this method to capture an image of the current document. The image is returned as a Base64 encoded bitmap. This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function. |
 |
Acad.Application.activedocument.getHandle |
Use this method to get an array of handles from the OSet . This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function. |
 |
Acad.Application.activedocument.getObjectSet |
Use this function to get the array of object IDs from the handles. This function returns a promise pattern result, it has to be called as a Promise Pattern with .then(onSuccess, onError) function. |
 |
Acad.Application.activedocument.highlight |
Use this function to highlight the list of entities represented by the given OSet . |
 |
Acad.Application.activedocument.startObserving |
Use this function to subscribe to object event notifications for an object. |
 |
Acad.Application.activedocument.stopObserving |
Use this function to unsubscribe from receiving object event notifications for an object. |
 |
Acad.Application.activedocument.transientManager |
Use this function to get the Transient Manager object of the current drawing. |
 |
Acad.Application.activedocument.unhighlight |
Use this function to unhighlight the list of entities represented by the given OSet . |
 |
Acad.Application.addDocWindow |
Use this function to open a HTML document window in AutoCAD. |
 |
Acad.Application.addPalette |
Use this method to launch a palette with the specified URL. |
 |
Acad.Application.displayContextMenu |
Use this function to display a contextual menu in AutoCAD. |
 |
Acad.Application.modalDialogCommit |
Use to set the commit state of the modal dialog. |
 |
Acad.Application.showHTMLDialog |
Use this function to show a HTML dialog with the specified URL. |
 |
Acad.Application.showModalDialog |
Use this function to launch a modal dialog with the specified URL. |
 |
Acad.Bounds3d |
The object represents the 3D geometric extents of an entity. It is similar to AcDbExtents , with minimum and maximum points. |
 |
Acad.CommandFlag |
Use this enum to list the flag associated with AutoCAD command. |
 |
Acad.CursorType |
Provides the type of cursor, which are available. This enum wraps the AcEdJig::CursorType ObjectARX enum. |
 |
Acad.DataItem |
This is the class that represents object type inside Acad.DataItemCollection. |
 |
Acad.DataItem.getProperties |
Returns all the properties of DataItem class. |
 |
Acad.DataItemCollection |
This is the class that represents a dataItems collection. It is returned by DataItemCollectionManager.getKnownCollection() . You can observe dataItemCollection changes through add/removeEventListener function. |
 |
Acad.DataItemCollection.addEventListener |
Use this function to add event listeners for the Acad.DataItemCollection class. |
 |
Acad.DataItemCollection.getName |
Use this function to get the name of the Acad.DataItemCollection class. |
 |
Acad.DataItemCollection.removeEventListener |
Use this function to remove event listeners for the Acad.DataItemCollection class. |
 |
Acad.DataItemCollectionManager |
This is the class that represents DataItemCollection Manager. |
 |
Acad.DataItemCollectionManager.getKnownCollection |
Use this asynchronous function to get a known collection. |
 |
Acad.DBEntity |
The object represents a database resident entity. |
 |
Acad.DBEntity.getExtents |
Returns the object geometric extents defined by minimum and maximum points. |
 |
Acad.DBEntity.getProperties |
Returns all the properties of DBEntity. |
 |
Acad.DragCursor |
Use this enum to list the cursor types that may be used while dragging. |
 |
Acad.DragStatus |
Use this enum to list the status types that may be used while dragging. |
 |
Acad.DrawJig |
This class represents jig class for drawing transient jigging. |
 |
Acad.DrawJig.update |
Adds or updates transient entity during jigging. |
 |
Acad.Editor.addCommand |
Use this method to register an AutoCAD command. |
 |
Acad.Editor.cancelCommand |
Use this method to cancel the last command. |
 |
Acad.Editor.CurrentViewport |
Represents the current viewport and stores view properties like camera position, target, fieldheight, fieldWidth, upVector, and projection. |
 |
Acad.Editor.CurrentViewport.dolly |
Use this function to translate the camera target and position by the specified camera space dolly vector. All other camera parameters are left unaffected. |
 |
Acad.Editor.CurrentViewport.getViewport |
Use this function to retrieve the extents of the viewport in normalized device coordinates. |
 |
Acad.Editor.CurrentViewport.getViewProperties |
Use this function to return the position, target, upVector, fieldWidth and fieldHeight of current Viewport. |
 |
Acad.Editor.CurrentViewport.orbit |
Use this function to orbit the camera. |
 |
Acad.Editor.CurrentViewport.pan |
Use this function to pan the camera. |
 |
Acad.Editor.CurrentViewport.pointToScreen |
Use this function to return the 2D point on the screen. |
 |
Acad.Editor.CurrentViewport.pointToWorld |
Use this function to return the 3D point on the world coordinate system. |
 |
Acad.Editor.CurrentViewport.roll |
Use this function to rotate the camera’s up vector about the eye vector by a specified amount, in radians. |
 |
Acad.Editor.CurrentViewport.setView |
Use this method to set the camera parameters needed to define the transformation from world space to normalized device coordinates. |
 |
Acad.Editor.CurrentViewport.ucsToWorld |
Converts a UCS point to WCS. |
 |
Acad.Editor.CurrentViewport.worldToUCS |
Converts a WCS point to UCS. |
 |
Acad.Editor.CurrentViewport.zoom |
Changes the viewing field (the focal length) of the camera to give the effect of dynamically moving in or out of a scene. |
 |
Acad.Editor.CurrentViewport.zoomExtents |
Use this function to modify the current view such that the input bounding box defined by the two extents points is completely within the view. |
 |
Acad.Editor.CurrentViewport.zoomWindow |
Use this function to modify the current view such that the new window displays the region defined by the input screen coordinates. |
 |
Acad.Editor.drag |
Use this method to drag a transient entity during jigging. |
 |
Acad.Editor.executeCommand |
This method accepts variable number of string arguments, which are the commands passed to native environment and it waits for the command operation to complete. |
 |
Acad.Editor.executeCommandAsync |
This method accepts variable number of string arguments, which are the commands passed to native environment and it does not wait for the command operation to complete. |
 |
Acad.Editor.getAngle |
Use this function to get user input for an angle, taking into account the current value of the ANGBASE system variable. |
 |
Acad.Editor.getCorner |
Use this function to get user input for the corner of a rectangle. |
 |
Acad.Editor.getDistance |
Use this function to get user input for a linear distance. |
 |
Acad.Editor.getDouble |
Use this function to get the double from an user. |
 |
Acad.Editor.getEntity |
Use this function to select an entity by specifying a point. |
 |
Acad.Editor.getInteger |
Use this function to get the integer from an user. |
 |
Acad.Editor.getKeywords |
Use this function to get an user input for a keyword. |
 |
Acad.Editor.getNestedEntity |
Use this function to get the name of an entity selected by an user and the point used to select the entity. |
 |
Acad.Editor.getPoint |
Use this function to get user input for a point. |
 |
Acad.Editor.getSelection |
Use this to return the selection set obtained. |
 |
Acad.Editor.getString |
Use this function to get an user input for string. |
 |
Acad.Editor.isQuiescent |
Use this function to check if the host is busy processing other commands. |
 |
Acad.Enum_Projection |
Use this enum to provide values that describe the mapping projection of the mapper. |
 |
Acad.ErrorStatus |
This is an error status defined for Shaping Layer. |
 |
Acad.isInteger |
Use this function to test whether the number passed is an integer. |
 |
Acad.isNumber |
Use this function to test whether the number passed is a valid float. |
 |
Acad.Jig |
This class represents the base jig class. |
 |
Acad.JigPromptAngleOptions |
This class represents optional parameters for prompt for angle during jigging. |
 |
Acad.JigPromptDistanceOptions |
This class represents optional parameters for prompt for distance during jigging. |
 |
Acad.JigPromptGeometryOptions |
This is the base class for jig prompt options used in various types of data acquisition. |
 |
Acad.JigPromptOptions |
This is the base class for jig prompt options. |
 |
Acad.JigPromptPointOptions |
This class represents optional parameters for prompt for point during jigging. |
 |
Acad.JigPromptStringOptions |
This class represents optional parameters for prompt for string during jigging. |
 |
Acad.Matrix3d |
This class wraps the AcGeMatrix3d ObjectARX class. Matrix3d represents an affine transformation of 3D space, including translation. |
 |
Acad.Menu |
Use this function to add menu items to a contextual menu. |
 |
Acad.MenuItem |
Use this function to define a menu item to add to a contextual menu. |
 |
Acad.OSet |
The object contains a collection of object identifiers. It is similar to ads_name , and valid only while you are working on a drawing with AutoCAD. The identifiers are invalid when exiting from AutoCAD or switching to another drawing. |
 |
Acad.OSet.add |
Use this method to add the input object id to the collection. |
 |
Acad.OSet.clear |
Use this method to remove all the IDs from the collection. |
 |
Acad.OSet.contains |
Use this method to to test if the ID is present in the collection. |
 |
Acad.OSet.getAllIds |
Use this method to return all the IDs in the collection. |
 |
Acad.OSet.getCount |
Use this method to return the number of items in the collection. |
 |
Acad.OSet.getId |
Use this method to return the id given the index of the item in the collection. |
 |
Acad.OSet.indexOf |
Use this method to return the index of the input ID in the collection. |
 |
Acad.OSet.remove |
Use this method to remove the input object ID from the collection. |
 |
Acad.Point2d |
This class wraps AcGePoint2d ObjectARX class. It represents a point in 2-dimensional space. It can be viewed as a structure consisting of two doubles. |
 |
Acad.Point3d |
This class wraps AcGePoint3d ObjectARX class. It represents a point in 3-dimiensional space. It can be viewed as a structure consisting of three doubles. |
 |
Acad.Promise |
This is the base class, designed to achieve Promise Pattern. |
 |
Acad.Promise.then |
Use this function to register callback. |
 |
Acad.PromptAngleOptions |
This class represents optional parameters for an angle prompt. |
 |
Acad.PromptCornerOptions |
This class represents optional parameters for a corner prompt. |
 |
Acad.PromptDistanceOptions |
This class represents optional parameters for a distance prompt. |
 |
Acad.PromptDoubleOptions |
This class represents optional parameters for a prompt for a double . |
 |
Acad.PromptDoubleResult |
This class holds the result of a prompt, which returns a double as its primary result. |
 |
Acad.PromptEditorOptions |
This is the base class for command prompt options used in various types of data acquisition. |
 |
Acad.PromptEntityOptions |
This class represents optional parameters for an entity prompt. This function is derived from [Acad.PromptEditorOptions][]. |
 |
Acad.PromptEntityOptions.addAllowedClass |
Use this method to add type to the internal list of classes allowed for the selection. |
 |
Acad.PromptEntityOptions.removeAllowedClass |
Use this method to remove the class indicated by type from the internal list of classes allowed for this selection. |
 |
Acad.PromptEntityResult |
This class holds the result of a prompt that returns an entity as its primary result. |
 |
Acad.PromptIntegerOptions |
This class represents optional parameters for a prompt for an integer . |
 |
Acad.PromptIntegerResult |
This class holds the result of a prompt that returns an integer as its primary result. |
 |
Acad.PromptKeywordOptions |
This class represents optional parameters for a prompt for a keyword. |
 |
Acad.PromptNestedEntityOptions |
This class represents optional parameters for a prompt for a nested entity. |
 |
Acad.PromptNestedEntityResult |
This class holds the result of a prompt that returns a nested entity as its primary result. |
 |
Acad.PromptNumericalOptions |
This is the base class for types that represent optional parameters for numerical prompts. |
 |
Acad.PromptOptions |
This is the base class for types that represent optional parameters for prompts. |
 |
Acad.PromptOptions.setMessageAndKeywords |
Use this method to set the prompt message to the first part of the messageAndKeywords string and set the display keywords to the latter part of the same string. |
 |
Acad.PromptPointOptions |
This class represents optional parameters for a point prompt. |
 |
Acad.PromptPointResult |
This class holds the result of a prompt that returns a point as its primary result. |
 |
Acad.PromptResults |
This is the base class for classes that hold the result of a prompt operation. |
 |
Acad.PromptSelectionOptions |
This class provides optional parameters to a selection set prompt. |
 |
Acad.PromptSelectionResult |
This class represents the result of a prompt for a selection of objects. |
 |
Acad.PromptStatus |
This enum wraps the Acad::PromptStatus ObjectARX class. |
 |
Acad.PromptStringOptions |
This class represents optional parameters for a prompt for string. |
 |
Acad.Rectangle2d |
This class wraps the lowerLeft and upperRight Acad.Point2d objects. |
 |
Acad.ResultValueType |
Use this enum to provide values that describe the value data type of a system variable. |
 |
Acad.SelectedObject |
This is the base class for a selected object. |
 |
Acad.SystemVariable |
This class represents system variables. |
 |
Acad.SystemVariable.postValue |
Use this function to set system variable value using command. |
 |
Acad.SystemVariableCollection |
This class represents system variable collection. |
 |
Acad.SystemVariableCollection.addEventListener |
Use this function to add callback. |
 |
Acad.SystemVariableCollection.getSystemVariable |
Use this function to return the system variable. |
 |
Acad.SystemVariableCollection.parseSysVarValue |
Use this function to return the raw value of the system variable. |
 |
Acad.SystemVariableCollection.removeEventListener |
Use this function to remove callback. |
 |
Acad.TaskDialog.showDeleteConfirmationTaskDialog |
Shows a task dialog with a confirmation message to delete. |
 |
Acad.TaskDialog.showTaskDialog |
Shows a custom task dialog. |
 |
Acad.TaskDialogButton |
Use this enum to list the button that can be set for a task dialog. |
 |
Acad.TaskDialogResult |
Use this enum to list the return result from a task dialog. |
 |
Acad.Transient |
This is the controller object that is used to create and manage the transients. |
 |
Acad.Transient.addEventListener |
Use this function to add a callback. |
 |
Acad.Transient.getId |
Use this function to get the ID assigned to the transient object. |
 |
Acad.Transient.removeEventListener |
Use this function to remove callback. |
 |
Acad.TransientManager |
This is the controller object that is used to create and manage the transients. |
 |
Acad.TransientManager.addTransient |
Use this function to add an Acad.Transient object to the AutoCAD transient manager. |
 |
Acad.TransientManager.eraseTransient |
Use this function to erase the the Acad.Transient object from the AutoCAD transient Manager. |
 |
Acad.TransientManager.eraseTransients |
Use this function to erase the the Acad.Transient objects from the AutoCAD transient Manager. |
 |
Acad.TransientManager.getCursor |
Use this function to get the current cursor assigned to the Acad.Transient object. |
 |
Acad.TransientManager.showTransients |
Use this function to show or hide the Acad.Transient objects in the AutoCAD transient manager. |
 |
Acad.TransientManager.updateTransient |
Use this function to update an Acad.Transient object in the AutoCAD transient Manager. |
 |
Acad.UserInputControls |
Use this enum for returning the bitwise OR'd value of all user input control settings in effect, at the present time, for a particular jig. |
 |
Acad.Vector2d |
This class wraps the AcGeVector2d ObjectARX class. Vector2d represents a vector in 2D space. It can be viewed as a structure consisting of two doubles. |
 |
Acad.Vector3d |
This class wraps the AcGeVector3d ObjectARX class. Vector3d represents a vector in 3D space. It can be viewed as a structure consisting of three doubles. |
 |
Acad.ViewProperties |
Creates a container object which holds Viewport related properties. |