AutoCAD P&ID General

Valued Contributor
Posts: 88
Registered: ‎11-29-2012
Message 1 of 2 (291 Views)

reset the autogenerate expression?

291 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: 84
Registered: ‎07-10-2009
Message 2 of 2 (266 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" />




You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

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.

Ask the Community