Matt Williams Posted July 24, 2025 Share Posted July 24, 2025 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. Quote Link to comment
Vectorworks, Inc Employee Nikolay Zhelyazkov Posted July 25, 2025 Vectorworks, Inc Employee Share Posted July 25, 2025 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 Quote Link to comment
Matt Williams Posted July 25, 2025 Author Share Posted July 25, 2025 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# Quote Link to comment
Vectorworks, Inc Employee Nikolay Zhelyazkov Posted July 28, 2025 Vectorworks, Inc Employee Share Posted July 28, 2025 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. Quote Link to comment
Matt Williams Posted July 30, 2025 Author Share Posted July 30, 2025 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. Quote Link to comment
Vectorworks, Inc Employee Nikolay Zhelyazkov Posted July 31, 2025 Vectorworks, Inc Employee Share Posted July 31, 2025 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. - 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. Quote Link to comment
Recommended Posts
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.