Insert for MoxyDraw

Inserts a block reference.


Syntax:

Insert
position point X
position point Y
block name
scale X
scale Y
rotation
is exploded

position point X:

Sets the position point X.

position point Y:

Sets the position point Y.

block name:

Sets the block name if the block is resident (already in the drawing). Or a filename with its complete path if the block is not resident. Ex.: testblock if block is resident; C:\MoxyDraw\testblock.dwg if block is not resident.

scale factor X:

Optional. Sets scale factor along the X axis. If omitted, it will be set to 1.

scale factor Y:

Optional. Sets scale factor along the Y axis. If omitted, it will be set to 1.

rotation:

Optional. Sets the rotation angle. Angles are in degrees and counter-clock wise. If omitted, it will be set to 0.

angle

is exploded:

Optional. Sets whether the block is exploded or not. Set it to "True" to explode the new inserted block, "False" or omitted will keep the block unexploded.