iPartFactory Object


Description

The iPartFactory object provides access to the iPart table and provides methods to create additional iPart members ( objects).

Methods

Name Description
CreateCustomMember Method that creates an iPart member for a custom factory using the parameter values in a row. The created iPartMember is returned.
CreateMember Method that creates an iPart member using the parameter values in a row. The created iPartMember is returned.
Delete Method that converts an iPart factory to a regular part. When an iPart factory is converted to a regular part, all of the iPart members created from the factory become sick.
Export Exports the iPartFactory 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.
CustomFactory Property that specifies whether this iPartFactory object represents a custom factory or a standard factory. This property is True in the case where it represents a custom factory.
DefaultRow
DisplayStyleColumn
ExcelWorkSheet Property that returns the Excel spreadsheet that represents the iPart table.
FactoryOptions Property that gets the options for the factory.
FileNameColumn
MaterialColumn
MemberCacheDir Property that returns the directory location for the newly created iPart members.
MemberEditScope
Parent Property that returns the parent PartDocument of the factory.
TableColumns Property that returns the iPartTableColumns collection object.
TableRows Property that returns the iPartTableRows collection object.
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

iPartMember.ParentFactory, iPartTableCell.Parent, iPartTableColumn.Parent, iPartTableRow.Parent, PartComponentDefinition.CreateFactory, PartComponentDefinition.iPartFactory, SheetMetalComponentDefinition.CreateFactory, SheetMetalComponentDefinition.iPartFactory

Samples

Name Description
Adding iPart occurrences to an assembly This sample demonstrates adding iPart occurrences to an assembly.
Create a Configuration Table This sample demonstrates the creation of a configuration (iPart/iAssembly) table in a drawing from a factory document.

Version

Introduced in version 6