Share

SketchedSymbolDefinitions Object


Description

The SketchedSymbolDefinitions collection object provides access to all the existing objects in a drawing document and provides methods to create additional sketched symbol definitions. See the article in the overviews section.

Methods

Name Description
Add Method that creates a new sketched symbol definition. This method will fail in the case where a sketch is currently active. You can check for this case using the ActiveEditObject property of the Application object to see if a sketch is active.
AddFromLibrary Imports a new sketched symbol definition from library.
SaveAllToLibrary Saves all the sketched symbol definitions in current document to the specified library.

Properties

Name Description
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 the collection.
Item Method that returns the specified SketchedSymbolDefinition object from the collection.
SketchedSymbolDefinitionLibraries Read-only property that returns the SketchedSymbolDefinitionLibraries collection object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

DrawingDocument.SketchedSymbolDefinitions

Samples

Name Description
Create SketchedSymbol Definition This sample illustrates creating a new sketched symbol definition object and inserting it into the active sheet.
Create sketched symbol and leader This sample illustrates creating sketched symbol with a leader.

Version

Introduced in version 5.3

Was this information helpful?