AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wire Numbers by Layer format

12 REPLIES 12
SOLVED
Reply
Message 1 of 13
cbenner
697 Views, 12 Replies

Wire Numbers by Layer format

I'm playing with wire numbers by layer, in the hopes of using them as line tags on P&ID's.  I figure I can set up a specific format for each wire layer... the wire layers being created for each fluid service and pipe size.  Where I am running into an issue is that for each layer, the wire numbers want to start over at the base number.... whatever that is set up to be.  This will give me duplicate line tag numbers for the different process lines in my P&ID. 

 

I think I know the answer, but is there any way that anyone knows of, to force the wire numbers to always increment regardless of the layer?

 

example:

 

wires.JPG

 

Hard to see the color, but these lines (wires) are on different layers.  There cannot be 2 "600" tags in one P&ID.  Here is how I have the wire number settings by  layer.

 

layers.JPG

 

The obvious answer would be to set a Default starting sequence number for each layer... but there's really no way of knowing what that would be until the entire P&ID is completed.

 

Any thoughts welcomed.  TIA

12 REPLIES 12
Message 2 of 13
dougmcalexander
in reply to: cbenner

Are you using a grid, line reference, or sequential value for %N?


Doug McAlexander


Design Engineer/Consultant/Instructor/Mentor specializing in AutoCAD Electrical training and implementation support

Phone and Web-based Support Plans Available

Phone: (770) 841-8009

www.linkedin.com/in/doug-mcalexander-1a77623




Please Accept as Solution if I helped you. Likes are also much appreciated.
Message 3 of 13
cbenner
in reply to: dougmcalexander


@dougmcalexander wrote:
Are you using a grid, line reference, or sequential value for %N?

 

 

Hey Doug,

 

Thanks for responding.  I'm using Sequential, mainly because our P&ID's tend to meander around the page, so grid or line reference may not work.  I've never really played with Grid,... that may have some possibilities.  Right now, I'm trying with sequential and trying to set it up by layer.  The problem being that each new layer wants to start number at the base number again, not picking up where the last one left off.

 

Does that make any sense?  I think (once again) I'm asking the software to do something it wasn't meant to do.  I tend to do that.

Message 4 of 13
algerj
in reply to: cbenner

Hi Chris,

 

Normally when clients use the wire numbers "based on wire layer" format, they use fixed ranges for the numbers.

Otherwise they see the same thing that you are, the sequence restarts on each layer.

Maybe you could do the same thing and have preset ranges for the pipes.

 

For Example:

00-99 Intake & Exhaust pipes

  • 00-20 (2" Pipe, for Air intake)
  • 21-40 (2"Pipe, special Coating for low viscosity oil)
  • 41-60 (Spare)
  • 61-80 (2" Pipe, for air Exhaust)
  • 81-99 (3"Pipe, For collecting oil) 

100 for Main "Feeder" Pipes

  • 101-120 (standard 2" Pipe)
  • 121-140 (standard 3" Pipe)
  • 141-160 (standard 4" Pipe)
  • 161-180 (standard 5" Pipe)
  • 181-199 (standard 6" Pipe)

200 - 400 for Smaller Pipes for controls

  • 201 - 240 (Standard 1" Pipe)
  • 241 - 280 (Standard 3/4" Pipe)
  • 281 - 320 (Standard 1/2" Pipe)
  • 321 - 360 (Standard 1/4" Pipe)
  • 361 - 399 (Standard 1/8" Pipe)

This might be easier to control and manage. (your ranges would be different)

Instead of letting the wire number (pipe number), run wild and restart everytime you switch layers.

This way If the wire numbers restarts its not a big deal since you will set the start as the first number in the preset section.

 

I hope this helps,

 

James Alger

Message 5 of 13
cbenner
in reply to: algerj

James,

 

This has got me thinking.  I would have to do a sell job to my PM's, but since they tasked with with figuring out how to make this work... it might be an easy sell.  Something like this may just be the ticket... as long as we don't get too many chiefs deciding on the breakdown ( maybe I'll just come up with a chart on my own and tell them what its' gonna be!)

 

Thanks for the idea!

Message 6 of 13
algerj
in reply to: cbenner

No problem,

 

Glad I could help!

 

James

Message 7 of 13
testsubject
in reply to: algerj

Chris,

 

Technically, you are giving each wire a unique value even though each has a 600 in it.



Bob Hanrahan
Ace User since 1998
If this answered your question, please click on "Accept Solution"
Message 8 of 13
Icemanau
in reply to: cbenner

Before you actually write your list, check and see if the official P&I standards have a list set up for various functions.

This would give your PM's even less room to complain and fight about it.

 

I know that the Australian Wiring Standards have certain prefixes and number ranges for different functions.

For example

 

A Primary Protection CT's

B Bus Bar Protection CT's

C Overcurrent prptection CT's

D Instrument & Metering CT's

E Instrument & Metering Voltage

F Reference Voltage for Voltage Control

 

and so on for the prefixes while Numbers go from certain ranges for the phase/neutral/earth to unlimited for other functions like close/trip circuits.

 

Regards Brad



Icemanau (NNTP handle: Brad Coleman
AutoCAD Electrical User and IT Hardware Support

Message 9 of 13
cbenner
in reply to: testsubject

Yes,  but these are not wires... they represent pipes.  In a P&ID you don't duplicate line tag numbers.  The 600 is the tag number, the other strings represent size, fluid code and pipe spec.

 

There is just no pretty way to do this.  The solution idea works... but now on a vertical pipe my tags are horizontal running perpendicular to the pipeline!  And if two pipelines intersect, Electrical sees them as one "wire", thus only assigning a "wire" number to one of them.

 

Face in hand, shaking head.

Message 10 of 13
algerj
in reply to: cbenner

Hi Chris,

 

For the text running the wrong way (I seem to recall that Hydraulic Pipes, or Pneumatic hoses have to have the text running beside it, not perpendicular to it).

You can fix the text by rotating the Attribute, using Rotate Attribute. (works on normal text as well)

(Schematics > Edit Components > Move/show attribute dropdown > Select Rotate Attribute)

 

For the Vertical /Horizontal wire (errrr...pipe) issue, you can Flag the " on per wire basis" in the project properties.

This will treat each wire (pipe) as a separate wire.

 

If that's not working right you could always create a fake Component that forces a wire number change.

(just create a line with two connections, and hide all the attributes)

 

I hope this helps,

 

James Alger

Message 11 of 13
cbenner
in reply to: algerj

James, Thank you!

 

I feel like I'm back in CAD100!  I only just recently learned to use the Electrical at all, now I'm trying to bend and twist it to my P&ID needs.  I feel like when I post in this forum I should have a rank of "who let this idiot in here"!

 

Thanks to all for the suggestions... I'm slowly learning how to make it do what I want.

Message 12 of 13
algerj
in reply to: cbenner

Hi Chris,

 

No problem,

No one is an expert for all of the products, everyone has their own specialty.

Never feel like an Idiot by asking questions, how else will you learn if not by asking?

 

The best experts on here know when to ask for help. (especially when its out of their comfort zone)

So... keep those questions coming!

 

Regards,

 

James Alger

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost