CustomTable Object


Description

The CustomTable object allows the creation of user-defined tables with the specified number of rows and columns, headings, content, and so on. See the Custom Tables overview for more information.

Methods

Name Description
AddLink Method that adds a link to the specified document. If a link to a foreign file type already exists, the link is replaced if the input is also a foreign file.
CopyTo Method that copies the table to another sheet, either within the same document or in another document.
Delete Method that deletes the CustomTable.
Export Method that saves the custom table to an external file.
GetReferenceKey Method that generates and returns the reference key for this entity.
Renumber Method that renumbers all rows in the table. This method applies only to bend tables and returns an error for all other tables.
Sort Method that sorts the table.
Update Method that updates the custom table if it is out of date with respect to its linked files. The method returns a success and returns trivially if no update is required.

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.
BendDirectionReversed
ColumnHeaderTextStyle
Columns Property that returns the Columns collection object.
DataTextStyle
HeadingPlacement
Layer
MaximumRows
NumberOfSections
OverrideFormat
Parent Property that returns the parent object from whom this object can logically be reached.
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 returns either a DocumentDescriptor object (for Inventor references) or a FileDescriptor object (for foreign file references). The property returns Nothing if no links have been specified for the table.
Rotation
RowGap Property that returns the row gap.
RowLineSpacing
Rows Property that returns the Rows collection object.
ShowTitle
Style
TableDirection
TableSource Property that returns the source type for this table.
Title
TitleTextStyle
Type Returns an ObjectTypeEnum indicating this object's type.
WrapAutomatically
WrapLeft

Accessed From

Cell.Parent, Column.Parent, CustomTable.CopyTo, CustomTables.Add, CustomTables.AddBendTableWithOptions, CustomTables.AddConfigurationTable, CustomTables.AddCSVTable, CustomTables.AddExcelTable, CustomTables.Item, Row.Parent

Samples

Name Description
Custom Table - create This sample demonstrates how to create a custom table.
Create a Bend Table This sample demonstrates the creation of a bend table in a drawing from a sheet metal part.
Create a Configuration Table This sample demonstrates the creation of a configuration (iPart/iAssembly) table in a drawing from a factory document.
Create a drawing Excel Table This sample demonstrates the creation of a table based on an Excel file in a drawing.

Version

Introduced in version 9