SketchBlocks.AddByDefinition Method
Parent Object:
SketchBlocks
Description
Method that creates a sketch block instance based on the \input definition. The newly created SketchBlock object is returned.
Syntax
SketchBlocks.
AddByDefinition(
Definition As
SketchBlockDefinition,
Position As
Point2d ) As
SketchBlock
Parameters
Definition |
SketchBlockDefinition |
Input SketchBlockDefinition that specifies the definition to create the instance from. |
Position |
Point2d |
Input Point2d object that specifies the placement point for the block in sketch space. The block is placed such that the insertion point of the sketch block definition coincides with this point. |
Samples
Version
Introduced in version 2010