An Invalid operation was attempted. An object with this Shortid: xxxx .. message appears when export


Problem 

When exporting an ISM model fromAutoPIPE to SACs the following message appears:

Export to ISM

An Invalid operation was attempted. An object with this Shortid: xxxx is already in the model

OK

Why? and how to avoid?

Solution:

Reported item #1:

In one reported instance, Bentley AutoPIPE TSG was able to reproduce the error mentioned above using AutoPIPE 2024. Upon generating the ISM DGN file, it was observed that only a few components are being exported instead of the entire piping system. Appears AutoPIPE was trying to write two objects with the same ID name to the ISM file. 

Further investigation discovered that the GUIDs for Flange components are set to zero, which is unusual and is causing issues when exporting flanges to ISM.

This would be directly related to how this model was created, whether it was built directly in AutoPIPE or imported from another format?

This has been logged and will be fixed in a future version of AutoPIPE.

Only workaround, rebuild the model completely in AutoPIPE such that Flange GUIDs are correctly generated.