Message 1 of 4

Not applicable
08-13-2012
07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am looking for assitance with the VB code to change the text style within a custom table when it is created from a VB standalone program. I am using Inventor 2013 and VB 2010 Express.
I have a customtable that is created within a .idw, and I would like to have the data cells set to "Table_Cells" style that I have created. I cannot find anything in the help file with a sample code to build off.
I figure it's got to be something with oCustomTable.DataTextStyle but beyond that I am lost.
This is what I have, and VB is kicking it back in my face.
Dim oTextStyle As TextStyle oTextStyle = oCustomTable.DataTextStyle.StyleType("Table_Cells")
Error 2 'Public ReadOnly Property StyleType As Inventor.StyleTypeEnum' has no parameters and its return type cannot be indexed.
Solved! Go to Solution.