Jump to content

Custom Data Tags for Circuits - Sheet Numbers


Recommended Posts

Good afternoon,

 

I've had success implementing Custom Data Tags into my drawings to get as close possible to my current company standards for single line diagrams.

 

I am looking for a way to populate sheet numbers similar to how the bubble/arrow tool does when connecting circuits between layers.

 

I was able to find the data link that can recognize the current sheet, but not the other end of the circuit on a different layer.

 

I'd like to pull the data that reads "AVL-600" destination layer from the default graphic to where my custom tag incorrectly shows "AVL-601". For further clarification - I do draft my schematic designs on Sheet Layers at the moment to have this information shown if that matters.

 

Thank you in advance for any help or insight.

 

 

image.png.cbe64969b81d69e69e2bd246b484b975.png

image.png.6e638b27f377401b07d1b8ec8973d5fd.png

Link to comment
  • Vectorworks, Inc Employee

Hello @Matt Williams,

 

You can try getting this data using scripting and worksheet functions that call script. There are script functions that can give you source/destination device of a circuit and then you can get the layer of the device.

 

An easier way to do this would be to use the "__DstLayer" hidden parameter of the circuit which holds the name of the destination layer, but make sure you do not change this value and just read it, as changing it might lead to errors.

 

Best Regards,

Nikolay Zhelyazkov

Link to comment
  • Vectorworks, Inc Employee
On 7/25/2025 at 4:34 PM, Matt Williams said:

Thank you @Nikolay Zhelyazkov,

 

And what would be the parameter be for the opposite end or maybe the source layer? I've guessed "__SrcLayer" with no luck. The "__DstLayer" works as intended for me using #Circuit#.#__DstLayer#

There is no parameter for the source layer, as it can be taken using the Layer function.

Link to comment

Thanks Nikolay,

 

That works fine to reference the layer that the tag is located, but what is my best step for my scenario to Define a Data Tag Field? The intent is to reference the source layer on the destination layer and vice versa to locate the ends of circuits across different sheets. 

 

In my snippet below the tag MIC-001 / A008/ 0 is located on the destination device's layer, but would need to reference the layer the Source device is on. Unfortunately the Layer parameter discussed doesn't accomplish this.

 

image.thumb.png.aeacd3d95d72a948369cd9abf8ac5851.png

Link to comment
  • Vectorworks, Inc Employee
14 hours ago, Matt Williams said:

Thanks Nikolay,

 

That works fine to reference the layer that the tag is located, but what is my best step for my scenario to Define a Data Tag Field? The intent is to reference the source layer on the destination layer and vice versa to locate the ends of circuits across different sheets. 

 

In my snippet below the tag MIC-001 / A008/ 0 is located on the destination device's layer, but would need to reference the layer the Source device is on. Unfortunately the Layer parameter discussed doesn't accomplish this.

 

image.thumb.png.aeacd3d95d72a948369cd9abf8ac5851.png

- At this time I do not think that there is a direct way to achieve this, except for using the built in circuit graphics, that can be customized to show different data.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...