| Name | Description |
 | ActiveSelection |
Returns an array copy of the active selected entities. , |
 | arc |
Add an arc to the document.
|
 | blockref |
Add a block reference to the document.
|
 | circle |
Add a circle to the document.
|
 | clearCommands |
Clear the script command buffer.
|
 | clearSelection |
Clears - Empty the Active selection. , |
 | color |
Selects the passed color as active.
Commands that create new objects like line set the color of created entities to that color.
|
 | copy |
Copy the passed entities from a point in worldcs to an other in worldcs. It also write to UndoHistory and script buffer
|
 | dim |
Add a dimension block to the document according the the active dimension style properties dimvar.
|
 | dimvar |
Set dimension style properties used to draw a dimension executed be command dim |
 | doubleline |
Add a doubleLine polyline to the document.
|
 | doublelinerect |
Add a doubleLine rect to the document.
|
 | doublelinewidth |
Set the passed value as active width in Drawing units for the double line draw commands.
Commands that create new double line like doubleline and doublelinerect select this value as the width of eah segment in drawing units.
|
 | enableScript |
Enable / Disable the writing to script commands buffer
|
 | erase |
Erase the default active selection entities, and clear the ActiveSelection by calling the clearSelection method.
It also write to UndoHistory and script buffer
|
 | getCommands |
Returns the current script command buffer
|
 | hatch |
Select active hatch properties for hatched filled objects (rect polyline circle arc ellipse).
|
 | image |
Add an image reference to the document.
|
 | isActive |
Returns true is script is enable else false enableScript |
 | layer |
Set the passed layer name as active.
Commands that create new objects like line add the created entities to that layer.
|
 | layout |
Set the passed layout name as active.
Commands that create new objects like line add the created entities to that layout.
|
 | line |
Add a line to the document.
|
 | linetype |
Set the passed linetype name as active.
Commands that create new objects like line select this linetype for the created entities.
|
 | lineweight |
Set the passed lineweight as active.
Commands that create new objects like line select this lineweight for the created entities.
|
 | ltscale |
Set the passed linetypescale as active.
Commands that create new objects like line select this linetypescale for the created entities.
|
 | move |
move the passed entities from a point in worldcs to an other in worldcs. It also write to UndoHistory and script buffer
|
 | parseCommands |
Parse the passed command buffer.
If the passed commands are undefined the it parses the active script command buffer getCommands |
 | penwidth |
Set the passed penwidth as active.
Commands that create new objects like line select this penwidth for the created entities.
|
 | polyline |
Add a polyline to the document.
|
 | rect |
Add a rect to the document.
|
 | redo |
Redone the last item stored in the redo list and the last command in script buffer.If a start group item is last then redones all items of the group in redo history.
|
 | RegisterFigure |
Add the passed figure to the active layout of the selected document and set a new HandleId for the figure.
Also write the add action to the undo history so the figure will be mark as deleted if the user call the undo command.
|
 | rotate |
rotate the passed entities around a point reference in worldcs with passed angle in radians. It also write to UndoHistory and script buffer
|
 | scale |
scale the passed entities by a point reference in worldcs. It also write to UndoHistory and script buffer
|
 | select |
Add passed entities to default active selection
|
 | text |
Add a text to the document.
|
 | textstyle |
Set the passed textstyle name as active.
Commands that create new text objects like text select this textstyle for created entities.
|
 | thickness |
Set the passed thickness value as active.
Commands that create new objects like line select this thickness for the created entities and will be drawn extruded to their extrusion vector.
|
 | tooltip |
Set the passed textvalue as active tooltip for the new added entities
|
 | undo |
Undone the last item stored in the undo list and the last command in script buffer.If an end group item is last then undone all items of the group in undo history.
|
 | undogroup |
Begin/Close a group of commands in order to be undo or redo with one single action.
|