Share

PartsList Object


Description

The PartsList object represents a parts list in a drawing sheet.

Methods

Name Description
CopyTo Method that copies the parts list to another sheet.
Delete Method that deletes this PartsList.
Export Method that saves the parts list to an external file.
GetReferenceKey Method that generates and returns the reference key for this entity.
Renumber Method that renumbers all rows in the parts list.
SaveItemOverridesToBOM Saves any overrides to the item values in the balloon to the model BOM.
Sort Method that changes the sort order of items in the parts list.
Sort2 Changes the sort order of items in the parts list.

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.
ColumnHeaderTextStyle Gets and sets the text style used for the column titles (headers).
DataTextStyle Gets and sets the text style used for the contents of the parts list.
FilterSettings Read-only property that returns the filter settings for the parts list.
HeadingPlacement Gets and sets the placement position of the table heading.
HideZeroQuantityRows Gets and sets whether to hide rows of zero quantity.
Layer Gets and sets the layer used by the parts list.
Level Property that returns the type of numbering for the parts list. Possible values are kFirstLevelComponents and kPartsOnly.
MaximumRows Gets and sets the maximum number of rows per section.
MembersToInclude Gets and sets the names of the iPart/iAssembly members to include as columns in the parts list.
NumberingScheme Property that returns the numbering scheme used for a 'parts only' parts list. The property returns an error if this is not a 'parts only' parts list. Possible return values are kNumericNumbering, kLowercaseAlphaNumbering and kUppercaseAlphaNumbering.
NumberOfSections Gets and sets the number of columns to wrap.
Parent Property that gets the parent object from whom this object can logically be reached.
PartsListColumns Gets the PartsListColumns collection object for this parts list table.
PartsListRows Gets the PartsListRows collection object for this parts list table.
Position Gets and sets the origin position of the table.
RangeBox Property that returns a Box2D object which contains the lower-left and upper-right corners of a rectangle that is guaranteed to enclose this object.
ReferencedDocumentDescriptor Property that gets the document referenced by this parts list.
Rotation Gets and sets the absolute rotation angle of the parts list in radians.
RowGap Property that returns the row gap. This value is obtained from the parts list style.
RowLineSpacing Gets and sets the line spacing of the rows.
ShowTitle Gets and sets whether the title is shown or not.
Style Gets and sets the associated PartsListStyle object.
TableDirection Gets and sets the vertical direction of the table.
Title Gets and sets the title of the parts list.
TitleTextStyle Gets and sets the text style used for the title of the parts list.
Type Returns an ObjectTypeEnum indicating this object's type.
WrapAutomatically Gets and sets whether to split the table equally.
WrapLeft Gets whether the parts list wraps to the left.

Accessed From

PartsList.CopyTo, PartsListCell.Parent, PartsListColumn.Parent, PartsListRow.Parent, PartsLists.Add, PartsLists.Item

Samples

Name Description
Creating a parts list This sample demonstrates the creation of a parts list. The parts list is placed at the top right corner of the border if one exists, else it is placed at the top right corner of the sheet.
Parts List Edit This sample illustrates editing the contents of the parts list.
Parts List Query This sample illustrates querying the contents of the parts list.

Version

Introduced in version 5.3

Was this information helpful?