• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD P&ID

    Reply
    Valued Contributor
    Posts: 76
    Registered: ‎11-29-2012

    reset the autogenerate expression?

    232 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.

    Please use plain text.
    Valued Contributor
    andy.davis
    Posts: 72
    Registered: ‎07-10-2009

    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

    Please use plain text.