The addin can either be used via the commmand buttons added to the Inventor UI or by using the API with your own code.
C:\ProgramData\Autodesk\ApplicationPlugins
If using the Addin’s API outside of iLogic:
The Sheet List panel is added to the Annotate tab when a drawing document is open.
The GetSheetListAddin()
extension method for Inventor.Aplication
can be used to get the instance of SheetListAutomation
.
SheetListAutomation
includes the following methods that can be used:
Method Name | Description |
---|---|
CreateSheetList(Sheet , Point2d ) |
Creates a sheetlist using the detault settings |
CreateSheetList(Sheet , Point2d , SheetListSettings ) |
Creates a sheetlist using the provided settings |
var dwgDoc = (DrawingDocument)inventorApp.Documents.Open(@"C:\Work\MyDrawing.idw");
var sheetListAddin = inventorApp.GetSheetListAddin();
sheetListAddin.CreateSheetList(dwgDoc.ActiveSheet);
AddReference "SheetList"
Imports SheetList
Dim sheetListAddin As SheetListAutomation
sheetListAddin = ThisApplication.GetSheetListAddin()
sheetListAddin.CreateSheetList(ThisDoc.Document.ActiveSheet)
If using the addin in the Inventor UI, settings can be set by clicking the Configure button in the Sheet List Ribbon Panel. If using the addin API, customizations are made by passing in SheetListSettings
into the CreateSheetList
methods.
[!IMPORTANT] The API methods will not use the same settings that are set using the addin’s configure window.
SheetListSettings
Setting | Type | Description |
---|---|---|
Title | string | Title of the Sheet List Table |
ShowTitle | boolean | Whether the Title is shown on the Table |
ColumnNames | string[] | Column names for the table |
ColumnWidths | double[] | Column widths (in centimeters) for the table |
Direction | TableDirectionEnum | Direction of the Table (Top Down / Bottom up) |
HeadingPlacement | HeadingPlacementEnum | Placement of the column headings |
WrapLeft | boolean | Wrap table to the left |
EnableAutoWrap | boolean | Enables auto wrapping of the table base on MaxRows and NumberOfSections |
MaxRows | int | Maximum number of rows before the table is wrapped |
NumberOfSections | int | The number of vertical sections the table should wrap to |
This application does not collect or store any personal data.