Persistent item ID of Navisworks objects – Update

By Xiaodong Liang

This is an update on Persistent item ID of Navisworks objects:

What IDs are available depend on the file format you’re loading into Navisworks. Some file formats don’t have any per objects ids, some have ids but they aren’t stable (edit the file in some unrelated way and the ids change). Most of these ids are only unique within a file. Whatever ids are there show up as object properties which are different depending on format – Entity Handle for Autocad, Element Id for Revit, etc.

In addition Navisworks has support for a per object GUID which is a stable, globally unique id for an object: ModelItem.InstanceGuid. GUIDs exist for file formats which directly support GUIDs (e.g. IFC) and for some file formats where we can generate stable, globally unique ids based on the file format specific ids. This includes AutoCAD and Revit but not Catia, PDMS or Integraph. So, for such file formats:  you would have to rely on custom properties that the creator of the design file has setup.

The below is a demo of IFC file:

Screen Shot 2018-11-07 at 10.49.26 AM


Comments

4 responses to “Persistent item ID of Navisworks objects – Update”

  1. Joemar Mante Avatar
    Joemar Mante

    Hello,
    I don’t know if this is the right place, but how can we retrieve the quantities in a Navisworks Quantification workbook? We are able to read/write to Item Catalogs and Resource Catalogs using a custom Navisworks plugin but after we sketch our markups we dont know which objects/methods to call to extract the calculated quantities. The example C# code that came with the SDK also does not have this as well.
    Thanks in advanced.
    Cheers,
    Joemar

  2. Dear author, thank you for penning down such an informative article that not only clears doubts but also imparts new knowledge.

  3. Hi Xiaodong Liang,
    My model NWD file is created from PDMS. .I have couple of questions.
    How can we create GUID for already created Navis files and
    what are the procedures for creating GUID from the native PDMS?
    Thank you
    Regards,
    Antony

  4. Hey,
    Thanks for sharing a nice blog with us, i glad to read it. it is too useful for me.

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading