AutoCAD P&ID General Discussion

AutoCAD P&ID General Discussion

Active Member
Posts: 6
Registered: ‎01-15-2009
Message 1 of 1 (386 Views)

Custom line tags?

386 Views, 0 Replies
08-25-2011 08:25 AM

We are in the process of setting up a new project with naming guidlines for lines/valves/etc and have a question regarding the autogenerate expression function.


Here is our problem:


Our line tags are made up by four subparts: size service-system-line number. The issue is that our line number needs to refer back to both the system and service the precede it before autogenerating the line number.


For example, 12" HPS-01-001

12"- Line size

HPS-  Line Service

01- System line is being used on

001- Specific line number


The 001 means that this is the first HPS line being used on system 01. Then next line number in this sequence would be 002, 003, etc. If the System or Service changes, the last three characters (line number) would be start over at 001, depending on the System/Service combination.



10" FW-02-001 First FW line for system 02

6" FW-03-001 First FW line for system 03

4" BD-02-001 First BD line for system 02


Is there a way to use the autogenerate expression options while creating custom tags that will get the autogenerated number to look at both the Service and System before it in order to generate a number that is specific to those 2 qualifiers?


Thanks in advance for any feedback!

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!