We are aware of this limitation and intend to address it in a future
release. I can't really comment on when it will be available, but this is
high on our priorities.
Sanjay-
wrote in message news:5646292@discussion.autodesk.com...
In Inventor v11 SP2
We require an API method to determine which CustomTable rows are hidden.
This has been a problem for a long time and the work around in previous
versions (9 & 10) was to use PartsLists and export them as Tab Delimited
Text Files.
This technique worked because the export function does not output invisible
table rows.
In version 11 we are forced to use CustomTables instead of PartsLists (for
various reasons) and since CustomTables do not support the export function
we are left with accessing their data via API methods. BUT! the API
methods provide no way to determine which rows are set invisible so that we
may ignore them.
A VB example...
Public Sub Test()
Dim oApp as Inventor.Application
Dim oDoc as Inventor.DrawingDocument
Dim oSheet as Inventor.Sheet
Dim oTable as Inventor.CustomTable
Dim oRow as Inventor.Row
Dim row_Idx as Integer
' Get access to the application, drawing, sheet and table
Set oApp = GetObject(, "Inventor.Application")
Set oDoc = oApp.ActiveDocument
Set oSheet = oDoc.Sheets(1)
Set oTable = oSheet.CustomTables(1)
' Enumerate the rows of the table
For row_Idx = 1 To oTable.Rows.Count
Set oRow = oTable.Rows(row_Idx)
' Only process a row if it is visible
If oRow.Visible Then <<<< This does not work for Tables, it only
works for PartsLists!
' do something with the row, for example output it to a text file
or update a database
...
EndIf
Next
End Sub
This problem has existed since at least April 2002 as can bee seen from
previous posts and the AutoDesk response.
How far into the future do we need to wait for this feature?