SketchBlocks Object
Description
The SketchBlocks collection object provides access to all sketch block instances within a sketch and provides methods to create additional block instances.
Methods
Add |
Method that creates a sketch block instance using existing sketch objects. A sketch block definition is implicitly created. The newly created SketchBlock object is returned. |
AddByDefinition |
Method that creates a sketch block instance based on the \input definition. The newly created SketchBlock object is returned. |
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
Count |
Property that returns the number of items in this collection. |
Item |
Returns the specified SketchBlock object from the collection. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
Accessed From
PlanarSketch.SketchBlocks,
PlanarSketchProxy.SketchBlocks,
SketchBlockDefinition.SketchBlocks,
SketchBlockDefinitionProxy.SketchBlocks
Samples
Version
Introduced in version 2010