Split Custom Table

Split Custom Table

clemm225
Explorer Explorer
261 Views
1 Reply
Message 1 of 2

Split Custom Table

clemm225
Explorer
Explorer

Does anyone know of a work around to splitting a custom table through Inventor API. Looking there does not appear to be a property or method that allows you to split a table similar to clicking on a row and using the split table feature. This would be a nice option to have but it appears in even Inventor 2022 that it does not exist. Any help would be appreciated. 

clemm225_0-1661964660583.png

 

0 Likes
262 Views
1 Reply
Reply (1)
Message 2 of 2

WCrihfield
Mentor
Mentor

Hi @clemm225.  To split an existing CustomTable object, you can simply set its MaximumRows property to fewer rows than it currently has.  That automatically creates another section and puts it beside the existing one.

 

Edit:  You can also set its NumberOfSections property to 2, instead of changing its MaximumRows property.  They both have the same effect as when you are editing the table and use the 'Wrap Table At Row' tool.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes