AddMInsertBlock Method

Inserts an array of blocks.

See Also | Example

Signature

RetVal = object.AddMInsertBlock(InsertionPoint, Name, XScale, YScale, ZScale, Rotation, NumRows, NumColumns, RowSpacing, ColumnSpacing [, Password])

Object

ModelSpace Collection, PaperSpace Collection, Block
The object or objects this method applies to.

InsertionPoint

Variant (three-element array of doubles); input-only
The 3D WCS coordinates at which to insert the array of blocks.

Name

String; input-only
The name of the MInsertBlock.
NOTE: You cannot precede the name of an MInsertBlock with an asterisk to separate the block's objects during insertion, as you can with a standard Block.

XScale

Double; input-only
The X scale factor.

YScale

Double; input-only
The Y scale factor.

ZScale

Double; input-only
The Z scale factor.

Rotation

Double; input-ony
The rotation angle in radians.

NumRows

Long; input-only
A positive integer representing the number of rows for the array.

NumColumns

Long; input-only
A positive integer representing the number of columns for the array.

RowSpacing

Long; input-only
The distance between the array rows.

ColumnSpacing

Long;input-only
The distance between the array columns.

Password

Variant; input-only; optional

RetVal

MInsertBlock object
The newly created array of blocks.

Remarks

The following illustration shows an array of inserted blocks.

 

 

Original block 

Array of inserted blocks 

 

   Comments? 
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.