Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am having difficulty trying to figure out how to create a new Table Style definition.
I don't want to create a table on a sheet, I want to define a new style and then assign the style to the existing table.
I have no problem assigning the style once it is defined in the drawing to the existing table.
Dim oTableStyle As Inventor.TableStyle oTableStyle = oDrawingDoc.StylesManager.TableStyles("BOM") Dim oTable As Inventor.CustomTable oTable = oSheet.CustomTables.Item(1) oTable.Style = oTableStyle
There doesn't seem to be a TableStyles collection with an add or create event. I stumbled upon the "TableFormat" object but that seems to only override an existing style.
looked at the "StylesManager" but again I am not finding a create method.
Any help would be appreciated. I have searched the DevBlogs and the discussion groups but have come up empty.
Dave
Solved! Go to Solution.