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: 

What is VIA_WD_BASETAG for?

4 REPLIES 4
Reply
Message 1 of 5
dsnodgrass
512 Views, 4 Replies

What is VIA_WD_BASETAG for?

I have been using one of Nates lisp functions (http://mfgcommunity.autodesk.com/blogs/blog/7/blogpost/14187/) that fails to work correctly when this XDATA tag does not match the block TAG or TAG1. I have also been successful with deleting the XDATA VIA_WD_BASETAG.

What is the purpose of this tag?
4 REPLIES 4
Message 2 of 5
Gaituuth
in reply to: dsnodgrass

If I'm not mistaken the VIA_WD_BASETAG contains a copy of the TAG1 value. Normally the VIA_WD_BASE_TAG is being synchronized with the TAG1 value if you do Edit component and click OK.

According to me the Xdata is being used for reporting and cross-referencing purposes.
Message 3 of 5
dsnodgrass
in reply to: dsnodgrass

Thanks,

Looks like your correct in that the TAG1 and VIA_WD_BASETAG are being synchronized when the WD_REACT_EDSYM2 is issued. I had created an array of PLCIO blocks and used a vanilla lisp function to sequentially renumber the TAG values from left to right, which works well for Siemens ET200S IO. This action put the two tags out of sync.

I'm just trying to learn/push my new boundaries from years of using plain AutoCAD for electrical schematics. Some things use to be so much easier faster, so I explore where I can improve. It is redundant to have the two tags automatically be put in sync via WD_REACT_EDSYM2, but it must be some sort of workaround or hack.
Message 4 of 5
Anonymous
in reply to: dsnodgrass

The VIA_WD_BASETAG is needed mainly in the IEC world where the INST and LOC
values may be incorporated into the Tag attribute value itself but the
actual base tag is different. For example, depending on the IEC tagging
settings the attribute value may be "=INST+LOC-TAG". AcadE saves the base
tag in this xdata so that it can easily separate this string when needed for
various reports, etc. If you are manipulating the Tag string it is good to
keep the VIA_WD_BASETAG in synch with the non-combined tag value.

Hope this helps,
Pat Murnen

wrote in message news:5770437@discussion.autodesk.com...
I have been using one of Nates lisp functions
(http://mfgcommunity.autodesk.com/blogs/blog/7/blogpost/14187/) that fails
to work correctly when this XDATA tag does not match the block TAG or TAG1.
I have also been successful with deleting the XDATA VIA_WD_BASETAG.

What is the purpose of this tag?
Message 5 of 5
dsnodgrass
in reply to: dsnodgrass

Thanks, I will keep this in mind when I edit the TAG# attributes from now on.

DS

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

Post to forums  

Autodesk Design & Make Report

”Boost