Stardraw Forums

Cable wiring label attribute

http://forums.stardraw.com/Topic3962.aspx

By henryfr - 4/20/2009 11:20:23 AM

Hi all,



I have a problem. I am trying to do the cable number attribute to some cables on a drawing. I am using AUD-001 as the format and I enter "1" in the increment, but when I click on individual wires, it adds the 1 to the "tenth" position, for example, AUD-011, AUD-021, AUD-031, etc... Any ideas?





Thanks in advance...





Henry
By Rob Robinson - 4/20/2009 11:28:35 AM

Hi Henry,

The Format box works a lot like number formatting in MS Excel, thus when you put in, say '000' the number '1' will display as '001'.  In the Format box '0' and '#' work as number placeholders and other characters work as labels, therefore using your format "AUD-001", only the zeroes will be replaced by your value.  The trailing '1' is treated as a label.

Use Format: AUD-000 and all will be well.

I hope this is helpful 

By henryfr - 4/20/2009 12:57:30 PM

Thanks Rob... That worked...



Now I have another question, what is the best way you recommend to handle multi-pair wires?





Henry
By Rob Robinson - 4/20/2009 1:07:13 PM

There's no hard-and-fast rule; it rather depends on what you want to achieve.

Cable and Dogleg objects have been designed to represent a single discrete signal path (i.e. one pair, in this scenario), so I would use one Dogleg or Cable per pair and use a common value e.g. Multicore01, as the CS_Name attribute for each 'pair' in the multicore.

When you output to a report e.g. Cable + Connection Schedule you could then sort, filter or subtotal by CS_Name in Excel.

Does this help, or have I missed the point?