Obtaining the elementid of a row in a ViewSchedule

Obtaining the elementid of a row in a ViewSchedule

Anonymous
Not applicable
907 Views
1 Reply
Message 1 of 2

Obtaining the elementid of a row in a ViewSchedule

Anonymous
Not applicable

Hi all,

 

As far as I know, from the 2015 API on back, it is impossible to aquire the ElementID of a particular Row in a ViewSchedule table. Is there a way to commplish this in the 2016 API? It would be very beneficial to be able to obtain the UniqueID of a parfticular row, when passed the row's index.

 

Obviously, Revit is tracking all this behind the scenes, as they are able to differeniate in the creation of specific types of View Schedules (i.e. Doors, Walls, etc)

 

 

I have already implemented a workaround that creates a new column in the TableSectionData and inserts a project parameter that I create which is holding the element UniqueId. However, this workaround DOES NOT WORK for LinkedModels, as those documents are read-only.

 

In fact, the workaround wouldn't be necessary if Autodesk would just provide a simple TabelSectionData.GetRowElementId(int rowIndex) method...

 

 

Thanks,

John

0 Likes
908 Views
1 Reply
Reply (1)