I'm not just going to make a request here. Requests are often fulfilled in later versions, and this one is needed in the current version due to project requirements. Let's start with an observation: I detail some ductwork in Fab CADmep, then create the MAJ file. I then load this MAJ file into Revit. From Revit, I export the MAJ file back out to a separate file. I use OPENJOB to load the second MAJ file into Fab CADmep now and turn on TAGS. The item numbers are there. They even maintain their prior positioning and rotation. What this tells me is that somewhere in the Revit environment, this information is not getting lost if it is already there, but it is also not made very accessible to users. To research this, I've loaded up the RevitAPI libraries into Visual Studio and browsed around in the object browser, looking for things to hunt through. To do the actual hunting once keyed in on something, I'm using Dynamo 9 to select these objects in Revit and watch those specific properties of the Revit objects. Things like Parameters, Shared Parameters, BuiltInParameters, etc. I've found quite a bit of things that I didn't know were there so far, but haven't yet found a field that has the item numbers that I'm expecting. So does anyone have an inkling as to where in the API structure that I should look? I'd like to put together an addin that will communicate between accessible parameters and wherever these item numbers are being stored. But this is a lot to hunt through. I'm also a little concerned that there's a conversion that happens to the string formatting on the way in and out. If that's the case, I may have seen the field I'm looking for and went right on past it because it didn't appear correct at first glance.
Show More