How to Fix Fabrication Parts that have Duplicate ID's

* ALERT * - Starting with STRATUS v7 release around March 14th, 2024, duplicate Fabrication IDs in Revit models will prevent model publishing.

Autodesk Revit - STRATUS customers are receiving emails with models identified as having duplicate Fabrication IDs and requiring fixes prior to March 14th.

What can you do???

  • For Revit 2021 and newer, be sure to apply all available software updates from Autodesk and make sure you are at least on the versions as indicated in the support article Autodesk Support Notes, Once done, AUDIT your Revit projects.  The AUDIT command has been enhanced to fix duplicate Fabrication IDs. 
  • For Revit versions older than 2019 and 2020, upgrade to the latest patched version. Before contacting Autodesk support to request assistance with resolving the duplicate IDs issue in your Revit project, users should fix their ITM files, otherwise the issue will be re-occur. 

Autodesk Support Notes

IMPORTANT CONSIDERATION

For customers that used the settings change in the settings.json file for STRATUS to override the publish behavior currently to allow publishing of duplicate IDs, you may wish to undo that change on each computer for users who publish models to STRATUS.  This will ensure you catch models with duplicate IDs prior to the v7 release.  Once v7 is released, this override will no longer be used.

·         Open the Windows File Explorer

·         Enter %appdata% into the path bar and hit the enter/return key

·         Navigate to the GTP Software Inc folder and open it

·         Navigate to the STRATUS folder

·         Open the settings.json file in notepad

·         Set the following setting to false if it exists (if not, you can leave this file alone)

o   “AllowFabPartsWithDuplicateGuidsToPublish”: true

·         Save the file and close it

Q:    Can parts in Revit and CADmep models have duplicate ID's for Fabrication Parts?

A:    Yes, both Revit and CADmep models can have duplicate ID's for Fabrication Parts. Models that will be used for fabrication cannot include duplicate Id's, so the issue must fixed. Below there is a Q and A for resolving the issue in Revit and a separate Q and A to resolve the issue in CADmep. 

Q: Can a Revit model include duplicate Id's or duplicate UniqueId's?

A: Yes.  A defect existed in Revit that allowed multiple Fabrication Parts to share the same UniqueId in the model which could break downstream workflows such as creating Package MAJ or PCF files leading to missing or incorrect parts in the Fabrication file. The defect was patched in Revit 2019.2.2, 2020.1, 2021 and later versions to prevent the creation of duplicates, unfortunately there was no automated way provided to fix existing instances of duplicates in models. If a model that was originally authored in an affected version of Revit is upgraded to a newer version that does not contain the defect, the duplicates will unfortunately still exist. To ensure STRATUS is working with validated models this release introduces a check during STRATUS publish to ensure the model does not contain duplicates.

Autodesk has identified additional ways a duplicate GUID can be generated. GTP is working with Autodesk on more flexible ways to correct issues like this in future releases of supported Revit versions.

  1. GUID may be stored on the ITM - Some STRATUS customers have noted that their project started with Revit 2022 or later, after the defect was patched, yet they are still having duplicate GUIDs in their published models. Autodesk just informed GTP that the a duplicate GUID may be stored on the ITM itself, which results in new instances of those parts being created having that ID. 

    1. Resolution: For version 2021-2024, see the support article Autodesk Support Notes.

  2. Revit Type Selector - A certain sequence of steps with the Revit Type Selector can also result in duplicates and sets the GUID to 00000000-0000-0000-0000-000000000000.

    1. Resolution:

      1. For version 2021-2024, see the support article Autodesk Support Notes.
      2. GTP has provided a macro to address the affected parts. See section 3. Detect Duplicate UniqueIds Using a Revit Module

  3. Moving/Copying partsMoving/Copying parts caused duplicated GUIDs

    1. Resolutions: A fix was released for 2019 through current versions. See the support article Autodesk Support Notes.


STRATUS Message When Duplicate GUID Detected

Starting on 5/4/23 with release 6.2.189, if any duplicates are detected the publish process will be aborted with a message similar to the following. 


Resolutions and Work Arounds

If duplicates are detected, there are 3 options:

1. Deduplicate the ElementIds in the Revit model and Publish the Model

  1. After receiving the cancel publish message (above), review the latest Revit publish log file at: %appdata%/GTP STRATUS Logs/Revit

  2. Copy the ElementIds from the log file and paste them into the Revit model using the “Select by ID” tool.

  3. Deduplicate (delete and redraw) each ElementId. A new Id will be associated with the new part. Note: Some situations require extra steps to ensure that connected parts are not redrawn which could cause additional problems. One scenario where extra editing steps should be taken is the case where a part like an elbow is connected with a weld on one end, and a pair of flanges on the other, and the elbow’s PartGuid needs to be deduplicated, but the weld and flanges PartGuids are unique, and they are already part of a package or in a workflow where those elements should not have their PartGuid values modified. In this case, the following general steps can be followed to deduplicate the elbow or similar part:

    1. Store the part's rotation / orientation, and the the ID of the parts(s) it is connected to.

    2. Pin the elements it is connected to.

    3. Cut the element.

    4. Paste the element.

    5. For each connection, reconnect. Verify that the orientation is correct.

    6. Unpin the elements pinned previously.

  4. Save and republish the model when done.

Below is an example of a GTP STRATUS Log that includes ElementId’s.

2. Continue Publishing with Duplicates (Temporary)

For customers who temporarily accept duplicate UniqueIds, the .json publish configuration can be modified to allow Fab parts with Duplicate Ids to be published. This pathway will be eliminated in a future release in Q3 of 23'.

  1. Open settings.json at: %appdata%/GTP Software Inc/STRATUS

  2. Modify the file by adding the line "AllowFabPartsWithDuplicateGuidsToPublish": true as shown below. Note: The lines in your file might be different. Make sure you add a comma to the preceding line Ex… after the “Warning”):
    "RemoteMinimumLogLevel": "Warning",
    "AllowFabPartsWithDuplicateGuidsToPublish": true

  3. Publish the model. The existing MAJ or PCF file issues will continue.

3. Detect Duplicate UniqueIds Using a Revit Module

Separate from the duplicate UniqueId detection built-in to the STRATUS Addin, duplicate UniqueIds can be detected by running the application macro module below.

Update 5/12/23

  1. To create and use a Revit duplicate GUIDs Application Module, in STRATUS go to Help > Downloads and click the DuplicationCheck link.

    1. Note: If you downloaded the DuplicationCheck.zip file prior to 5/12/23 at 8:00AM CT, please delete it and download again as it has been edited.

  2. Unzip and open the file. This is a .txt file that will be used to create an Application Macro in Revit so that duplicate GUID detection can be run in any Revit model.

  3. Open any Revit project.

  4. To Create a New Module - In Revit click Manage > Macro Manager > Application tab > Module and then paste the name DuplicationCheck for the Module name.


  5. Click OK.

  6. The Module will display.


  7. In addition, a separate window similar to the following will open. Close this window.


  8. To Create a New Macro - Within the Macro Manager with the DuplicationCheck Module highlighted, click Macro button and then enter the same name, DuplicationCheck for the Macro name.


  9. Click OK.

  10. A separate window similar to the following will open. Highlight everything and delete.


  11. With the DuplicationCheck file downloaded, unzipped, and opened from step #1, copy all of the text.


  12. Paste the text it into the Macro in step #10.


  13. Click Build > Build Solution.


  14. Close the macro window.

  15. To run the DuplicationCheck macro on any Revit project, click Manage > Macro Manager > Application tab > Expand the DuplicationCheck Module in the Macros column > Select the DuplicationCheck Macro > click Run.


  16. When no duplicates GUIDs are found , the following will display.


  17. When duplicate GUIDs are found a message similar to the following will display.




  18. Once it is done, save or save as the project.

  19. If you re-run the DuplicationCheck macro, a message similar to the following will display depending on what kind of duplicate GUIDs were in the model.



Q:     Can a CADmep model include duplicate Id's?  And after selecting a part with the Properties panel open, why does the message "No data available in tabled" display?

A: The issue is caused by duplicate Id's in the CADmep model. During the STRATUS publish process, Duplicate ID’s are filtered out so no data is published and no data will display under Properties.

To fix this issue in your authoring software, copy and replace the objects in AutoCAD to generate a new UniqueId.

To copy ALL the CADmep objects in the drawing.

  1. Type MAPFILTER
  2. When prompted, type ALL and Enter.
  3. When the dialog is displayed, select Cancel, this will create a selection set containing all the CADmep objects.
  4. Type Copy, when prompted type P for Previous then press Enter
  5. When prompted for a base point type 0,0,0 and press Enter
  6. When prompted for second point type 0,0,0 and press Enter
  7. Press Enter to Exit the command.
  8. A copy of all the CADmep objects has now been made.
  9. Type E for Erase and press Enter
  10. Type P for Previous, press Enter and Enter again to finish the command, this will erase the original selection set, i.e. the objects selected to copy, and you are left with the copied objects which all have new UniqueIds.


To copy ONLY CADmep objects with duplicated IDs in the drawing

First you'll need to identify which objects have the duplicated IDs, to do this use the Select Filter command to manually identify.

  1. Type SelectFilter and Enter, when prompted type All and Enter
  2. Configure the Columns to contain the Item Globally Unique ID by selecting the Columns button and adding the field to the right and press OK.


  3. Select all the entries in the dialog (highlight one entry and press Ctrl A)
  4. Uncheck the check box for one entry and all will entries will uncheck.
  5. Click on the Item Globally Unique ID column heading so that the entries are sorted and that the ones with duplications will be next to each other.
  6. Scan the list looking for duplications and check one of each duplicated entry.


  7. Once all entries have been identified and selected, press OK on the dialog. The entries will now be highlighted in the model.
  8. With the objects selected type MASKVIEW and Enter, this will isolate all the selected objects.
  9. You can now make a Copy of these by following from Step 4 as detailed above.
  10. Type SHOWALL and Enter to restore the display of all the CADmep objects.



© Copyright 2022 GTP Services, LLC All rights reserved. | About | Contact