Methods

AEC Auto

Methods

image image image image image image image image image image image image image image image image image image image image image image image image image image

A

Add Adds an object to a collection, or adds two AecProfile objects.

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

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

AttachAnchor Attaches an anchor to an AEC Entity

AttachEntity Anchors one AecGeo object to another.

B

C

Clear Clears AecRings and AecProfiles of segments or rings.

ClosestNode Returns the index of the node closest to a given point.

Contains Tests to see if a ring is inside another ring.

ConvertToCurrentAreaDisplay Converts an area value using the LinearUnit and AreaDisplayUnit settings.

ConvertToCurrentVolumeDisplay Converts a volume value using the LinearUnit and VolumeDisplayUnit settings.

Copy Duplicates the given object to the same location.

CopyFrom Copies AecRings and AecProfiles.

CopyObjects Duplicates multiple objects (deep cloning).

D

Delete Deletes the specified object.

E

ExpandKey Calculates and returns the Layer Name that would be generated given the supplied 'Key'.

ExportFreeForm Exports a Free Form representation to a file.

F

FromPoints Makes a ring from 2D Points.

FromPolyline Makes a ring from a 2D Polyline.

G

GenerateLayer Generate the layer record, given a Layer Key.

GetAnchor Returns the anchor attached to an object.

GetBoundingBox Gets two points of a box enclosing the specified object.

GetExtensionDictionary Gets the extension dictionary associated with an object.

GetXdata Gets the extended data (XData) associated with an object.

H

HandleToObject Gets the object that corresponds to the given handle.

Has Determines if an object is a member of the specified collection.

Highlight Sets the highlight status for the given object, or for all objects in a given selection set.

I

ImportFreeForm Imports a Free Form representation from a file.

Init Initialization function which must be called before the AEC database object can be accessed

Intersect Boolean Intersects an AecProfile with the current AecProfile.

IntersectWith Gets the points where one object intersects another object in the drawing.

Item Returns a member object of a collection.

J

K

L

M

Mirror Creates a mirror image copy of a planar object around an axis.

Mirror3d Creates a mirror image of the given object about a plane.

Move Moves an object along a vector.

N

NodeLocation Returns the location of the node at a given index.

O

ObjectIDToObject Gets the object that corresponds to the given object ID.

P

Q

R

ReleaseAnchor Removes an anchor from an object.

Remove Removes an item from a collection.

Rename Renames an item in an AecDictionary.

Rotate Rotates an object around a base point.

Rotate3d Rotates an object around a 3D axis. Point1 and Point2 define the line that becomes the axis of rotation.

S

SaveAsDefault Saves the DatabasePreferences to the registry.

ScaleEntity Scales an object equally in the

ScaleXY Scales a profile in the X and Y directions.

SetXdata Sets the extended data (XData) associated with an object.

Subtract Subtracts an AecProfile from the current AecProfile.

T

TransformBy Moves, scales, or rotates an object given a 4x4 transformation matrix.

U

Update Updates the object in the drawing window.

V

W

X

Y

Z