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

xref reactor object id to xref name

1 REPLY 1
SOLVED
Reply
Message 1 of 2
rick.hberg
446 Views, 1 Reply

xref reactor object id to xref name

Greetings,

 

I am using (trying to anyway) a :VLR-xrefSubcommandReloadItem reactor.  My only question is how to get the xref/block name from the 'reactor callback data' Object ID.

 

I am ultimately trying to pass it to (vla-get-xrefdatabase ....), but I cannot figure out how to turn the second parameter from the reactor callback data into something I can use - for example the second parameter returned may be "65" or some other number. 

 

I hope that makes sense...I'm happy to post what i have if that helps explain any.  And I promise I'm searching for answers before posting.  I am very grateful for any help here.  Smiley Happy

Civil 3D 2014
Windows 7 x64
1 REPLY 1
Message 2 of 2
rick.hberg
in reply to: rick.hberg

ended up figuring out how to go with the object id - no need for the xref name. 

 

attached are my resulting reactors to output the number of regapps in an xref when you attach, overlay, or reload the xref (find out how many regapps you just brought into the active dwg).

Civil 3D 2014
Windows 7 x64

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

Post to forums  

Autodesk Design & Make Report

”Boost