Xref List filtering

Xref List filtering

Anonymous
Not applicable
336 Views
2 Replies
Message 1 of 3

Xref List filtering

Anonymous
Not applicable

Hello all.

 

Currently I am using an RTEXT box to generate a list of xrefs in the drawing. I am wondering if it is possible to filter this list to only show xrefs in a specific format. Basically the majority of our xrefs will follow a format of "XXXXX-XX-XX-XXX-XXXXXXX X.X XX" but of course sometimes you end up xrefing a file with a different structure or randomly named i.e "thisisanxref". Is it possible to filter the list so that only the former is shown in the RTEXT?

0 Likes
337 Views
2 Replies
Replies (2)
Message 2 of 3

hmsilva
Mentor
Mentor

Hi HaleOED,

 

unfortunately, I think it will not be possible to do.

 

The 'xrefs' function is defined at 'rtext.arx' and only allows the following syntax:

From the help files:

 

  • $(xrefs [, flags [, leader [, trailer]]])
  • flags  A collection of bitflags with the following meanings: 1 = (default) include Xref file name (not exclusive with flag 2), 2 = include Xref block name (not exclusive with flag 1), 4 = don't display file name extension, 8 = don't display path, 16 = show nesting with additional spacing
  • leader  A text string inserted before each Xref entry.
  • trailer  A text string appended to each Xref entry except the last.

Henrique

 

EESignature

0 Likes
Message 3 of 3

Anonymous
Not applicable

Well that is disappointing. Is there perhaps a way to have a field update based on the rtext but then filter that list? I can't seem to find anything online saying so but worth asking.

0 Likes