AutoCAD P&ID General Discussion

AutoCAD P&ID General Discussion

Distinguished Contributor
Posts: 119
Registered: ‎11-29-2012
Message 1 of 2 (297 Views)

reset the autogenerate expression?

297 Views, 1 Replies
12-06-2012 04:02 AM

is there a way of resetting the atuogenerate expression numbers?


I have deleted pieces of equipment and valves, so now those numbers are available, but when I insert something new, the numbers carry on from the last.

Valued Contributor
Posts: 86
Registered: ‎07-10-2009
Message 2 of 2 (272 Views)

Re: reset the autogenerate expression?

12-10-2012 05:46 AM in reply to: phil.cooper



You can edit the last used value and the increment directly in the *_PnIdPart.xml file in your project folder.


You'll find the values stored in he <ProjectAutogen> section, for example:


  <AutogenItem key="LastPumpValue" description="Last Pump Number counter" lastUsedValue="90" increment="10" />
  <AutogenItem key="LastValveNumber" description="Last Valve Number" lastUsedValue="100" increment="1" />




Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions to get help installing your software.

New AutoCAD P&ID Category!

The AutoCAD P&ID forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.

Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!