Visual LISP, AutoLISP and General Customization

Visual LISP, AutoLISP and General Customization

Reply
Valued Contributor
rick.hberg
Posts: 78
Registered: ‎06-27-2011
Message 1 of 2 (224 Views)
Accepted Solution

xref reactor object id to xref name

224 Views, 1 Replies
10-02-2012 09:27 AM

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.  :smileyhappy:

Civil 3D 2014
Windows 7 x64

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).

Valued Contributor
rick.hberg
Posts: 78
Registered: ‎06-27-2011
Message 2 of 2 (189 Views)

Re: xref reactor object id to xref name

10-12-2012 10:34 AM 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.