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

Save a selection window

21 REPLIES 21
SOLVED
Reply
Message 1 of 22
gccdaemon
1260 Views, 21 Replies

Save a selection window

I'm working on a routine to copy objects from blocks and x-refs into the current drawing using refedit. I've got 2 big problems:

 

1. I need to save the CP selection window so it can be applied to each selected x-ref / block.

2. When running the refedit routine, I need to change the settings for "Create unique layer, style, and block names" and "Lock objects not in working set" but can't seem to find where these variables are.

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
21 REPLIES 21
Message 21 of 22
gccdaemon
in reply to: gccdaemon

Added (setq REMSET nil) as you suggested

 

Removed (repeat function as you suggested

 

Removed unnecessary atoms

(defun C:COPYX (/ CMD PICK1ST PT PNT POINTLIST XR XREF ENTCNT REMSET)

 

 

Already used this to create 3 exhibits this AM in 30 mins a piece. 😉

Andrew Ingram
Civil 3D x64 2019
Win 10 x64 Pro
Intel Xeon E5-1620
32 GB Ram
Message 22 of 22
Gary_J_Orr
in reply to: gccdaemon

I'm just glad that we could help get it working for you...
Gary J. Orr
(Your Friendly Neighborhood) CADD/BIM/VDC Applications Manager
http://www.linkedin.com/in/garyorr

aka (current and past user names):
Gary_J_Orr (GOMO Stuff 2008-Present); OrrG (Forum Studio 2005-2008); Gary J. Orr (LHB Inc 2002-2005); Orr, Gary J. (Gossen Livingston 1997-2002)

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

Post to forums  

Autodesk Design & Make Report

”Boost