Share

iAssemblyFactory Object


Description

The iAssemblyFactory object provides access to the iAssembly table and provides methods to create iAssembly members.

Methods

Name Description
CreateMember Method that creates an iAssembly member using the parameter values in a row. The created iAssemblyMember is returned. If the member already exists, the member is updated and the iAssemblyMember object is returned.
Delete Method that converts the iAssembly factory to a regular assembly. When an iAssembly factory is converted to a regular assembly, all of the iAssembly members created from the factory become sick.
Export Method that exports the iAssemblyFactory to an external file.

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.
DefaultRow Read-write property that gets and sets the default row for this iAssemblyFactory.
ExcelWorkSheet Property that returns the excel spreadsheet that represents the iAssembly table.
FactoryOptions Property that gets the options for the factory.
FileNameColumn Read-write property that gets and sets the column to use as the file name column.
MemberCacheDir Property that returns the directory location for the newly created iAssembly members.
MemberEditScope Read-write property that gets and sets whether the edits to a member should affect just the active member or all members within the factory.
Parent Property that returns the parent AssemblyComponentDefinition of the factory.
TableColumns Property that returns the iAssemblyTableColumns collection object.
TableRows Property that returns the iAssemblyTableRows collection object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

AssemblyComponentDefinition.CreateFactory, AssemblyComponentDefinition.iAssemblyFactory, iAssemblyMember.ParentFactory, iAssemblyTableCell.Parent, iAssemblyTableColumn.Parent, iAssemblyTableRow.Parent, WeldmentComponentDefinition.CreateFactory, WeldmentComponentDefinition.iAssemblyFactory

Samples

Name Description
Adding iAssembly occurrences This sample demonstrates adding iAssembly occurrences to an assembly.

Version

Introduced in version 11

Was this information helpful?