Knowledge Base

Knowledge Base
Subject: SysName Format
Status Resolved
Product WireCAD v8
Product Level PRO
Database Type N/A
Build Number (last 4 digits of version)

Message

Customer
I am creating various SysNames for my Equipment Library. I need to know what the Format is to allow the whole prefix to appear on the device. For example, I have a device with the SysName Prefix of SYNC-GEN. I want the device to be labeled as SYNC-GEN-01 when we generate the list. However, right now it is listing as SYNC-G-01. The code in the format window right now is "[a-zA-Z0-9 _\-\,\&/\\]" I would like to be able to tell it to include the whole SysName.
Thank you!
08-March-2016 (02:55 PM)
You left out the important part of the format that in the curly braces that determines the length of the string. I am guessing the the regex looks like this: [a-zA-Z0-9 _\-\,\&/\\]{1,6}
Change it so that it looks like this:
[a-zA-Z0-9 _\-\,\&/\\] {1,10} this will allow strings up to 10 characters long to appear.
08-March-2016 (04:07 PM)
Support
Customer
Thank you! Now I realize I have a more complicated issue :) I would like my cables to have 4 digits, but I only want my SysNames to have 2. It seems to be controlled by the settings in the Project, but I can't have both. It's either 2 digits or 4. How can I tell my cables to have 4 numbers and my SysNames to only have 2?
Also, I want my SysNames to be sequential only within the same SysNames. So SYNC-GEN-01, the next one would be SYNC-GEN-02. And if I had a RTR in the same drawing it would be RTR-01, the next RTR would be 02. Now it seems to number them sequentially for each device. So SYNC-GEN-01, RTR-02, SYNC-GEN-03, RTR-04. Thanks so much for your help :)
09-March-2016 (09:51 AM)
After looking at your settings I see that your SysName format NUMERICSEQUENCE value is not set to sequence on anything so the numbers would just count up as you have described.

Set the SeqOn field to EquipmentType.

Regarding the differing leading zero count. There we have a bit of an issue. There is only one Leading Zero count and it applies to both the SysNames and Cable Numbers (and backbones and circuits). To accomplish your objective I would set the leading zero count to 2 to accommodate the SysName leading zero requirement. Then set the Starting Cable # for the project to 1001. This would ensure 4 digits for the cable number. The compromise being that you would have to start numbering cables in the thousands.
09-March-2016 (04:41 PM)
Support