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
DataTextStyle
HeadingPlacement
HideZeroQuantityRows
Layer
Level Property that returns the type of numbering for the parts list. Possible values are kFirstLevelComponents and kPartsOnly.
MaximumRows
MembersToInclude
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
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
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
RowGap Property that returns the row gap. This value is obtained from the parts list style.
RowLineSpacing
ShowTitle
Style
TableDirection
Title
TitleTextStyle
Type Returns an ObjectTypeEnum indicating this object's type.
WrapAutomatically
WrapLeft

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