Using XREF, XREFNO and XREFNC on parent symbols

Using XREF, XREFNO and XREFNC on parent symbols

pgarciadlc
Enthusiast Enthusiast
2,166 Views
13 Replies
Message 1 of 14

Using XREF, XREFNO and XREFNC on parent symbols

pgarciadlc
Enthusiast
Enthusiast

Hello.

 

I have created a parent symbol (push button with lamp) that I want to show (cross-references) the location of the children: lamp and other contacts. To do this, I placed the attributes XREF and XREFNO on the parent, with the purpose of referencing the lamp and an open contact respectively; however, the lamp is not referenced.

 

I am attaching images of the problem and the exploded symbols so that the attributes placed on the symbols can be seen.

 

Thank you in advance for your time and help.

 

Best regards.

0 Likes
Accepted solutions (1)
2,167 Views
13 Replies
Replies (13)
Message 2 of 14

arshdeepsingh404
Advisor
Advisor

Hi @pgarciadlc 

 

Your setup looks correct.

Here is a similar example I did which seems to be working.

 

arshdeepsingh404_0-1728951891444.png

 

 

Can you check how the Cross-Reference is setup.

 

arshdeepsingh404_2-1728952008567.png

 

Also, can your check if the XREF attribute is not hidden.

 

arshdeepsingh404_3-1728952049625.png

arshdeepsingh404_4-1728952119756.png

 

Also try updating the cross reference using AEXREF command

 

arshdeepsingh404_5-1728952179125.png

 

 

Arshdeep Singh
Electrical Designer & Programmer
C.Tech | CAPM | CMSE | Autodesk Expert Elite
LinkedIn | Autodesk App Store | GitHub

Did you find this post helpful? Please feel free to Like this post.
Did your question get successfully answered? Please click the Accept Solution button to help other users who may have the same question.

EESignature

0 Likes
Message 3 of 14

pgarciadlc
Enthusiast
Enthusiast

Hi @arshdeepsingh404 

 

I use text format cross reference. Separator character is a space (for multi text cross reference).

 

pgarciadlc_0-1728957084345.png

 

The reference for the lamp does not appear in the attribute list.

 

pgarciadlc_1-1728957220730.png

 

When I use AEXREF with pick I get the following:

 

pgarciadlc_2-1728957355564.png

 

It seems that the XREF of the parent is not called by the child, however, the child does have the XREF of the parent.

 

Regards,

Message 4 of 14

pgarciadlc
Enthusiast
Enthusiast

Hello.

 

I've been testing with the graphic format and it works well that way.

 

It seems that the reference in the parent fails in the text format; however, I need to use the text format since it is the only way that allows me to separate open and closed references.

 

Is there a solution to make the text format work well with children that are neither open nor closed contacts?

 

Regards,

Message 5 of 14

arshdeepsingh404
Advisor
Advisor

Hi @pgarciadlc 

 

Can you use the XREFNO and XREFNC attributes in graphic format to separate the NO NC contacts?
I will do some more testing later with the Text Format to see if there is anything missing in that method.

 

Arshdeep Singh
Electrical Designer & Programmer
C.Tech | CAPM | CMSE | Autodesk Expert Elite
LinkedIn | Autodesk App Store | GitHub

Did you find this post helpful? Please feel free to Like this post.
Did your question get successfully answered? Please click the Accept Solution button to help other users who may have the same question.

EESignature

0 Likes
Message 6 of 14

pgarciadlc
Enthusiast
Enthusiast

Hi @arshdeepsingh404 

 

In the graphic format I could not find a way to separate the NO and NC references. Only the text format made it easier for me.

 

Regards.

0 Likes
Message 7 of 14

rhesusminus
Mentor
Mentor

You can almost do this using Table Format for cross-referencing, and symbol mapping. Then you need to create a symbol of the lamp and map it as the correct symbol for child lamps. It doesn't look according to standards, but this is the closest you'll get.

rhesusminus_0-1728988951683.png

 

On a side note... This is of course standard functionality with Eplan. It's not rocket science.

rhesusminus_1-1728989029917.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 8 of 14

pgarciadlc
Enthusiast
Enthusiast

Hi @rhesusminus 

 

I didn't get to test the table format in depth, since, for the use I want to give it as a project, the text format makes it easier for me to do what I do with the timed or non-timed relays (see image). Unless someone knows a way to fully customize the references in table format, I can achieve the same with that format.

 

pgarciadlc_1-1728989754783.png

 

Regards.

 

0 Likes
Message 9 of 14

rhesusminus
Mentor
Mentor

Are you asking how to show the late/early contacts as correct graphics in the cross-reference table?

That would be symbol mapping.


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 14

pgarciadlc
Enthusiast
Enthusiast

 

My question is: how can I show the reference of child symbols that are not open or closed contacts? using the text format.

 

What I showed in the image is another symbol that I have developed and I have no problem with it. But I mention it because this symbol (and others) use the text format to do what I require.

0 Likes
Message 11 of 14

arshdeepsingh404
Advisor
Advisor

Hi @pgarciadlc 

 

Sorry but I am still trying to understand the issue with using attributes instead of text. Does the following not work for you?

 

arshdeepsingh404_3-1729223534470.png

 

arshdeepsingh404_1-1729223280984.png

 

arshdeepsingh404_2-1729223317712.png

 

My understanding is using attributes will give you better control on how to display referencing.

XREF for regular Childs like Lights

XREFNO for NO contacts

XREFNC for NC contacts

 

I have attached the dwg for your reference.

 

Arshdeep Singh
Electrical Designer & Programmer
C.Tech | CAPM | CMSE | Autodesk Expert Elite
LinkedIn | Autodesk App Store | GitHub

Did you find this post helpful? Please feel free to Like this post.
Did your question get successfully answered? Please click the Accept Solution button to help other users who may have the same question.

EESignature

0 Likes
Message 12 of 14

pgarciadlc
Enthusiast
Enthusiast

Hi @arshdeepsingh404 

 

I see that your drawing does meet what I need in text format.

 

But I still can't understand why it doesn't work in the drawings I've made. Maybe you can know why.

 

pgarciadlc_0-1729285073787.png

 

I'm attaching the dwg, so you can perhaps notice the errors (or omissions) I'm making.

 

Greetings.

 

Message 13 of 14

arshdeepsingh404
Advisor
Advisor
Accepted solution

Hi @pgarciadlc 

 

After some testing, I was finally able to get your version of the symbol working.

It turns out that you need all there attributes XREF, XREFNO, XREFNC in the symbol to make it work.

I inserted the XREFNC attribute and set the Invisible property to Yes as you are not displaying it in your symbol.

 

arshdeepsingh404_0-1729384812072.png

 

arshdeepsingh404_1-1729384919850.png

 

I have attached the modified version your block. Let mw know how this works out.

 

Good Luck!

Arshdeep Singh
Electrical Designer & Programmer
C.Tech | CAPM | CMSE | Autodesk Expert Elite
LinkedIn | Autodesk App Store | GitHub

Did you find this post helpful? Please feel free to Like this post.
Did your question get successfully answered? Please click the Accept Solution button to help other users who may have the same question.

EESignature

0 Likes
Message 14 of 14

pgarciadlc
Enthusiast
Enthusiast

Hi @arshdeepsingh404 

 

Thank you. That was the omission that did not allow the child to be referenced in the parent.

 

Regards,

Pablo