Retrieve the ORIGINAL IDs after an SMXX import in Revit

Retrieve the ORIGINAL IDs after an SMXX import in Revit

bilal_haddar
Participant Participant
155 Views
2 Replies
Message 1 of 3

Retrieve the ORIGINAL IDs after an SMXX import in Revit

bilal_haddar
Participant
Participant

Hello, is it possible to retrieve the ORIGINAL IDs of the analytical model elements after an SMXX import from Robot Structural Analysis to Revit ? For example if I have a beam in Robot with ID = 10, is this information accessible on the Revit API after the import ?

 

Thank you

0 Likes
156 Views
2 Replies
Replies (2)
Message 2 of 3

Radwan-Almsora
Explorer
Explorer

Yes Bilal, this is definitely possible. When you import an SMXX file from Robot, the integration link automatically preserves those original identifiers within the Revit elements.

​You can access this through the Revit API by checking the element's parameters for a property typically named "Robot ID" or "Analysis ID" and reading its integer value.

​If it isn't listed as a direct parameter, the ID is stored inside the element's Extensible Storage under Autodesk's structural integration schema. I highly recommend using the Revit Lookup tool on the imported beam first to see exactly where the value 10 is being mapped before you start writing your code.

0 Likes
Message 3 of 3

bilal_haddar
Participant
Participant

Thank you so much, I will try.

0 Likes