VirtualComponentDefinition Object

Derived from: ComponentDefinition Object

Description

This object derives from the ComponentDefinition object. It represents a ComponentDefinition that exists solely for the BOM.

Methods

Name Description
FindUsingPoint Method that finds all the entities of the specified type at the specified location.
FindUsingVector Method that finds all the entities of the specified type along the specified vector using either a cylinder or cone that to define the tolerance within the defined vector.

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.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
BOMQuantity Property that returns the BOMQuantity object.
BOMStructure
ClientGraphicsCollection Property that returns the ClientGraphicsCollection object.
DataIO Gets the object that directly deals with I/O to and from a storage-medium, including Streams(IStream).
DisplayName
Document Property that returns the containing Document object.
ModelGeometryVersion Property that returns a string that can be used to determine if the document has been modified. This version string is changed every time the assembly is modified. By saving a previous version string, you can compare the current version string to see if the assembly has been modified.
Occurrences Property that returns the collection object.
PropertySets Property that gets the PropertySets object associated with the virtual component.
RangeBox Property that returns a Box object which contains the opposing points of a rectangular box that is guaranteed to enclose this object.
SurfaceBodies Property that returns all of the result SurfaceBody objects contained within this ComponentDefinition.
Type Returns an ObjectTypeEnum indicating this object's type.

Samples

Name Description
Using the BOM APIs This sample demonstrates the Bill of Materials API functionality in assemblies.

Version

Introduced in version 10