







JsPropertiesExtractor | Send comments on this topic. |
AddBlockSymbol Method | |
See Also Example |
![]() |
vdWebLibrary Namespace > vdrawObj Class : AddBlockSymbol Method |
- blockname
- The name of the desired block to be used. Block must be with exact name in the Blocks collection.
- insertionPt
- The point where the block will be created in world coordination system.
- scale
- The scale applied on the drawn object over the original Block.
- rotation
- The vdInsert's rotation in radians.
- drawit
- Defines if the vdInsert object will be drawn.
- entities
- The entities collection where the block symbol will be added. This can be the entities of layout or a block.
JScript | |
---|---|
public function AddBlockSymbol( blockname : String, insertionPt : Object, scale : double, rotation : double, drawit : boolean, entities : Object ) : Object; |
Parameters
- blockname
- The name of the desired block to be used. Block must be with exact name in the Blocks collection.
- insertionPt
- The point where the block will be created in world coordination system.
- scale
- The scale applied on the drawn object over the original Block.
- rotation
- The vdInsert's rotation in radians.
- drawit
- Defines if the vdInsert object will be drawn.
- entities
- The entities collection where the block symbol will be added. This can be the entities of layout or a block.
Return Value
The created vdInsert object.For example we create a new block which contains two lines and then we insert it using the AddBlockSymbol method.
C# | ![]() |
---|---|
|
You can create new points by using the newpoint method.
Attention, the source .vds file is not modified.