View Full Version : List Xrefs in Field
red2002yzfr1
2005-10-13, 07:28 PM
I am having a hard time getting the my xrefs to list using the diesel expression in a field. The expression I am using is this: $(xrefs,4,Contains Xref: ) It works if i use it in rtext, but I am trying to convert to all fields. Any help make less of a headache.
Wanderer
2005-10-13, 07:38 PM
I am having a hard time getting the my xrefs to list using the diesel expression in a field. The expression I am using is this: $(xrefs,4,Contains Xref: ) It works if i use it in rtext, but I am trying to convert to all fields. Any help make less of a headache.joe, I am going to move this from the acad 06 general forum to this one as I believe it will be better served here.
thank you.
Glenn Pope
2005-10-13, 10:33 PM
I just ran into this same problem yesterday. So far I haven't found anything.
Mike.Perry
2005-10-14, 12:20 AM
I am having a hard time getting the my xrefs to list using the diesel expression in a field. The expression I am using is this: $(xrefs,4,Contains Xref: ) It works if i use it in rtext, but I am trying to convert to all fields. Any help make less of a headache.Hi
Have a browse of the following thread...
FIELDS, does this replace RTEXT? (http://forums.augi.com/showthread.php?t=4103)
Have a good one, Mike
Chris.N
2006-08-03, 01:29 PM
I am having a hard time getting the my xrefs to list using the diesel expression in a field. The expression I am using is this: $(xrefs,4,Contains Xref: ) It works if i use it in rtext, but I am trying to convert to all fields. Any help make less of a headache.hey, thanks for this!! I too am working for an all field... field, but this is the next best thing for me. I have never used Rtext before, but this may be all i ever need of it.
rkmcswain
2006-08-03, 05:03 PM
I am having a hard time getting the my xrefs to list using the diesel expression in a field. The expression I am using is this: $(xrefs,4,Contains Xref: ) It works if i use it in rtext, but I am trying to convert to all fields. Any help make less of a headache.
You are right, it works in RTEXT bacause RTEXT is coded to read that string and provide the data. FIELDS do not have this capability.
red2002yzfr1
2006-08-04, 12:21 PM
You can still list your xrefs in a field by using the object choice in the field command. The only problem with this is when you add a new xref, unlike the RTEXT function, you have to add another object field. Where as in the RTEXT function, every time you added another xref, it would update the RTEXT to reflect the change.
Now I guess we are back to the original question, how do we get the functionality of listing an xref(s) with RTEXT in a field.
rkmcswain
2006-08-04, 12:24 PM
Now I guess we are back to the original question, how do we get the functionality of listing an xref(s) with RTEXT in a field.
I think that has already been answered: you don't
red2002yzfr1
2006-08-04, 12:46 PM
My eyes must not be open, I don't see where.
rkmcswain
2006-08-04, 01:04 PM
My eyes must not be open, I don't see where.
HERE (http://forums.augi.com/showthread.php?postid=533852#post533852), and this thread (http://forums.augi.com/showthread.php?t=4103), and in particular this post (http://forums.augi.com/showthread.php?postid=25946#post25946) in that thread.
red2002yzfr1
2006-08-04, 01:31 PM
HERE (http://http://forums.augi.com/showthread.php?postid=533852#post533852), and this thread (http://forums.augi.com/showthread.php?t=4103), and in particular this post (http://forums.augi.com/showthread.php?postid=25946#post25946) in that thread.
The "HERE" link leads me to nowhere, the "this thread" and "this post" are just stating that you can't get the RTEXT functionality in fields, which I understood. My question I guess would be without going back to RTEXT to get xrefs to list and with the power of fields, there should be a way to devise the xrefs to "automatically" populate in fields. I have posted a work around, but that is a manual way to list the xref. All I am looking for and I am sure there are others is the automatic listing of xrefs like in RTEXT. I am sure there is a way, I am just not that good at writing code to accomplish this.
rkmcswain
2006-08-04, 01:43 PM
The "HERE" link leads me to nowhere, the "this thread" and "this post" are just stating that you can't get the RTEXT functionality in fields, which I understood. My question I guess would be without going back to RTEXT to get xrefs to list and with the power of fields, there should be a way to devise the xrefs to "automatically" populate in fields. I have posted a work around, but that is a manual way to list the xref. All I am looking for and I am sure there are others is the automatic listing of xrefs like in RTEXT. I am sure there is a way, I am just not that good at writing code to accomplish this.
Sorry about that first link. It's fixed now.
All I can say is that if there is a way to duplicate the RTEXT feature using only FIELDS, then it hasn't been discovered yet.
You could easily write a routine to scan the drawing for xrefs and list them, and this wouldn't even require fields. I suppose you could tie a reactor to the regen/save/plot commands to update this list also, but again this wouldn't have anything to do with fields.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.