AutoCAD P&ID General

Reply
Valued Contributor
Posts: 78
Registered: ‎11-29-2012
Message 1 of 2 (285 Views)

reset the autogenerate expression?

285 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
andy.davis
Posts: 84
Registered: ‎07-10-2009
Message 2 of 2 (260 Views)

Re: reset the autogenerate expression?

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

Hi,

 

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:

 

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

 

Regards,

Andy

You are not logged in.

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

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

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