Occasionally, especially in cases where a drawing is restored from backup, it may take a bit of legwork to get the restored copy up and running normally. Oftentimes, the Repair Drawing function in the AutoPLANT Relationship Manager can resolve all issues with such Drawings. In cases where the errors persist, a variable called NEXT_GROUP_CODE has often become "out of whack".
This variable is kept in Models for the purpose of assigning Comp ID's in the Project Database. Comp ID's are assigned to each component placed in a sequential alpha-numerical fashion and will usually look something like this AT_G1C8B8JN_0. The NEXT_GROUP_CODE is stored in the Drawing Variables as a placemarker so that upon each saved change the COMP_ID's will know where to pick up assigning for the next component. The issue here is that a restored backup may contain a NEXT_GROUP_CODE variable that is already taken in the Project Database. The following steps resolve this error by resetting the NEXT_GROUP_CODE to the correct value.
**WARNING.. The following suggested steps require edits to the Project Database, only qualified AutoPLANT Administrators or other personnel with signifigant experience should attempt these changes**
Product TechNotes and FAQs
Bentley Technical Support KnowledgeBase
Bentley LEARN Server
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!
For large projects you will want to limit the results in the Database query to latest 100 or 1000. As we had 150000 Results for out query initially.