Component Tag Replaceable Parameters Not Working?

Component Tag Replaceable Parameters Not Working?

louis.bersine
Contributor Contributor
1,670 Views
9 Replies
Message 1 of 10

Component Tag Replaceable Parameters Not Working?

louis.bersine
Contributor
Contributor

Hello everyone. 

 

In the attached drawing I have, I cannot get the following format to work for the tag format. Using the replaceable format help from AutoCAD I would think that the following would work

%A%D%N%X%F

For example when I create a fuse I get the tag "016FU"... I double checked the drawing properties and project properties, each are correct. The end result I'm looking for is "MV0161FU" Any ideas what I could be doing wrong here?

0 Likes
Accepted solutions (2)
1,671 Views
9 Replies
Replies (9)
Message 2 of 10

rhesusminus
Mentor
Mentor
%A would give you the SECtion value from the drawing properties, which is currently blank.
%D gives "01" as that's the DRAWING property from the drawing properties
%N give the line reference number, "6"
%X gives you the line reference suffix humber. It's currently set up to be blank for the first component on the line.
%F give the "family code" (or the default value from the TAG1 attribute, in this case "FU".

So... 016FU seems correct to me.

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 3 of 10

louis.bersine
Contributor
Contributor

Hmm perhaps I am misinterpretting something. Isn't the SEC value "MV" in the drawing properties? Or is that value from something else?

 

Drawing Section.jpg

 

0 Likes
Message 4 of 10

rhesusminus
Mentor
Mentor
Accepted solution

Yes, but in the file you attached, it was empty:

2019-12-04_12-34-37.png

 

If I change it, I get this:

2019-12-04_12-56-59.png

 

Make sure your drawing sheet is part of a project.


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 5 of 10

louis.bersine
Contributor
Contributor

That's really weird. I have the sheet in the project drawing list. In fact, the title block I made uses the section and that works correctly... I tried creating a new drawing and have the same issue. Is there any settings that could be overriding the drawing section?

0 Likes
Message 6 of 10

louis.bersine
Contributor
Contributor

Ok so I recreated a new drawing but did not copy clip any of the blocks/wires from the drawing I was having issues with. For whatever reason this solved the issue. I am not sure what happened with that drawing but thank you very much for the help!

0 Likes
Message 7 of 10

rhesusminus
Mentor
Mentor

If the symbol has an attribute named TAGFMT or the XDATA VIA_WD_TAGFMT, the tag format can be overridden there:

2019-12-04_14-43-43.png

 

If that's not it, I have no idea why it didn't work....


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 8 of 10

louis.bersine
Contributor
Contributor

One of the task I have been working on is converting solidworks electrical blocks to AutoCAD Electrical. This was done by changing attribute names to compatible AutoCAD Electrical Attributes... It seems like using any of these blocks I had made from Solidworks Electrical Blocks causes the issue of the drawing section no longer being used in tagging. I did not see any weird attributes left behind but maybe I am not seeing something. Any idea why this would occur? 

 

Attached is a block which causes the issue. I will use this block from the symbol library, then I will insert a new block from the symbol library causing the tag to no longer include the drawing section. 

0 Likes
Message 9 of 10

rhesusminus
Mentor
Mentor

I'm not sure what's going on at your side.

I opened your symbol, and moved everything to layer 0, and changed the color to "ByBlock".

Then I inserted it into your drawing:

2019-12-04_16-34-44.png


Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Autodesk Expert Elite Alumni
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
0 Likes
Message 10 of 10

louis.bersine
Contributor
Contributor
Accepted solution

I am not sure why but shortly after I began having all sorts of database related issues. Long story short, I needed to download a patch for Microsoft Office since an update in Mid December effects the way AutoCAD works with databases apparently. 

https://knowledge.autodesk.com/support/autocad-electrical/troubleshooting/caas/sfdcarticles/sfdcarti...

 

I am not sure why this caused the issue, but it is now resolved. Thank you for looking into it an helping me determine it was an issue on my machine rather than the drawings!

0 Likes