A Methods Reference (ActiveX)

These ActiveX methods all start with 'A'.

Methods

  • Activate

    Makes the specified drawing active.

  • Add

    Creates a member object and adds it to the appropriate collection.

  • Add3DFace

    Creates a 3DFace object given four vertices.

  • Add3DMesh

    Creates a free-form 3D mesh, given the number of points in the M and N directions and the coordinates of the points in the M and N directions.

  • Add3DPoly

    Creates a 3D polyline from the given array of coordinates.

  • AddArc

    Creates an arc given the center, radius, start angle, and end angle of the arc.

  • AddAttribute

    Creates an attribute definition at the given location with the specified properties.

  • AddBox

    Creates a 3D solid box with edges parallel to the axes of the WCS.

  • AddCircle

    Creates a circle given a center point and radius.

  • AddCone

    Creates a 3D solid cone with the base on the XY plane of the WCS.

  • AddCustomInfo

    Adds a custom property field at the end of the existing list of fields.

  • AddCustomObject

    Creates a custom object.

  • AddCylinder

    Creates a 3D solid cylinder whose base is on the XY plane of the WCS.

  • AddDim3PointAngular

    Creates an angular dimension using 3 points.

  • AddDimAligned

    Creates an aligned dimension object.

  • AddDimAngular

    Creates an angular dimension for an arc, two lines, or a circle.

  • AddDimArc

    Creates an arc length dimension for an arc.

  • AddDimDiametric

    Creates a diametric dimension for a circle or arc given the two points on the diameter and the length of the leader line.

  • AddDimOrdinate

    Creates an ordinate dimension given the definition point and the leader endpoint.

  • AddDimRadial

    Creates a radial dimension for the selected object at the given location.

  • AddDimRadialLarge

    Creates a jogged radial dimension for an arc, circle, or polyline arc segment.

  • AddDimRotated

    Creates a rotated linear dimension.

  • AddEllipse

    Creates an ellipse in the XY plane of the WCS given the center point, a point on the major axis, and the radius ratio.

  • AddEllipticalCone

    Creates a 3D solid elliptical cone on the XY plane of the WCS given the Center, MajorRadius, MinorRadius, and Height.

  • AddEllipticalCylinder

    Creates a 3D solid elliptical cylinder whose base is on the XY plane of the WCS, given the Center, MajorRadius, MinorRadius, and Height.

  • AddExtrudedSolid

    Creates an extruded solid given the Profile, Height, and TaperAngle.

  • AddExtrudedSolidAlongPath

    Creates an extruded solid given the profile and an extrusion path.

  • AddFitPoint

    Adds the fit point to the spline at a given index.

  • AddHatch

    Creates a Hatch object.

  • AddItems

    Adds one or more objects to the specified selection set.

  • AddLeader

    Creates a leader line based on the provided coordinates or adds a new leader cluster to the MLeader object.

  • AddLeaderLine

    Adds a leaderLine to the leader cluster with specified index.

  • AddLeaderLineEx

    Adds a leaderLine to the leader cluster with specified index.

  • AddLightWeightPolyline

    Creates a lightweight polyline from a list of vertices.

  • AddLine

    Creates a line passing through two points.

  • AddMenuItem

    Adds a popup menu item to a popup menu.

  • AddMInsertBlock

    Inserts an array of blocks.

  • AddMLeader

    Creates an mleader line, given coordinates.

  • AddMLine

    Creates multiple lines passing through an array of points.

  • AddMText

    Creates an MText entity in a rectangle defined by the insertion point and width of the bounding box.

  • AddObject

    Adds an object to a named dictionary.

  • AddPoint

    Creates a Point object at a given location.

  • AddPolyfaceMesh

    Creates a polyface mesh from a list of vertices.

  • AddPolyline

    Creates a polyline from a list of vertices.

  • AddPViewport

    Adds a paper space viewport, given the center, height, and width.

  • AddRaster

    Creates a new raster image based on an existing image file.

  • AddRay

    Creates a ray passing through two unique points.

  • AddRegion

    Creates a region from a set of entities. The given entities must form a closed coplanar region.

  • AddRevolvedSolid

    Creates a revolved solid, given the region around an axis.

  • AddSection

    Creates a section plane.

  • AddSeparator

    Adds a separator to an existing menu or toolbar.

  • AddShape

    Creates a Shape object based on a template identified by name, at the given insertion point, scale factor, and rotation.

  • AddSolid

    Creates a 2D solid polygon.

  • AddSphere

    Creates a sphere given the center and radius.

  • AddSpline

    Creates a quadratic or cubic NURBS (nonuniform rational B-spline) curve.

  • AddSubMenu

    Adds a submenu to an existing menu.

  • AddTable

    Adds a table to a drawing.

  • AddText

    Creates a single line of text.

  • AddTolerance

    Creates a tolerance entity.

  • AddToolbarButton

    Adds a toolbar item to a toolbar at a specified position.

  • AddTorus

    Creates a torus at the given location.

  • AddTrace

    Creates a Trace object from an array of points.

  • AddVertex

    Adds a vertex to a lightweight polyline or a section.

  • AddWedge

    Creates a wedge with edges parallel to the axes given the length, width, and height.

  • AddXLine

    Creates an xline (an infinite line) passing through two specified points.

  • AddXRecord

    Creates an XRecord object in any dictionary.

  • AngleFromXAxis

    Gets the angle of a line from the X axis.

  • AngleToReal

    Converts an angle as a string to a real (double) value.

  • AngleToString

    Converts an angle from a real (double) value to a string.

  • AppendInnerLoop

    Appends an inner loop to the hatch.

  • AppendItems

    Appends one or more entities to the specified group.

  • AppendOuterLoop

    Appends an outer loop to the hatch.

  • AppendVertex

    Appends a vertex to the end of a 3DPolyline, Polyline, or PolygonMesh object.

  • ArrayPolar

    Creates a polar array of objects given a NumberOfObjects, AngleToFill, and CenterPoint.

  • ArrayRectangular

    Creates a 2D or 3D rectangular array of objects.

  • AttachExternalReference

    Attaches an external reference (xref) to the drawing.

  • AttachToolbarToFlyout

    Attaches a toolbar to a toolbar button defined as a flyout.

  • AuditInfo

    Evaluates the integrity of the drawing.