Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Extract data from xref object

4 REPLIES 4
Reply
Message 1 of 5
r.lash
977 Views, 4 Replies

Extract data from xref object

Is there a way to extract the data of an object in an xref drawing? Example extract the description of an AECC point that is in the xrefed drawing, then write the description to the existing drawing.

Thanks

Richard
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: r.lash

This will get you the entity data:

(entget (car (nentsel)))

To save that so you can extract pieces of information from it:

(setq edata (entget (car (nentsel))))

Do you need help in how to extract pieces of information from that list, with things like (cdr
(assoc XX edata)) and the like?

--
Kent Cooper


rlash@ja-engr.com wrote...
Is there a way to extract the data of an object in an xref drawing? Example extract the description
of an AECC point that is in the xrefed drawing, then write the description to the existing drawing.
Thanks Richard
Message 3 of 5
r.lash
in reply to: r.lash

I can take it from there.0

Thanks

Richard
Message 4 of 5
r.lash
in reply to: r.lash

Kent

I tried your instruction, that is exactly what I needed.

Again Thanks

Richard
Message 5 of 5
Anonymous
in reply to: r.lash

My pleasure. [And whatever it may be that you celebrate at this time of year (if anything), have a
good one!]
--
Kent Cooper

rlash@ja-engr.com wrote...
Kent I tried your instruction, that is exactly what I needed. Again Thanks Richard

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

Post to forums  

Autodesk Design & Make Report

”Boost