Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CHSPACE command - copy option?

3 REPLIES 3
Reply
Message 1 of 4
zootango
1380 Views, 3 Replies

CHSPACE command - copy option?

Does anyone have a version of the CHSPACE.lsp command that has a "copy" option like the one from Intellicad???

 

This version makes a copy of the selected objects first then moves them into the space you want, leaving the original objects alone in their original space.

 

Anyone have this version of the lisp?

Tags (1)
3 REPLIES 3
Message 2 of 4
dbroad
in reply to: zootango

I don't know about a "version"  but its relatively easy to create the lisp for yourself using the command function.

(defun c:chs () ;;DCB2013
(if (=(getvar "tilemode")0)
(progn
(princ "\nSelect objects")
(ssget)
(command "_.copy" "p" "" "0,0" "0,0")
(command "_.chspace" "p")
)
(princ "\nMust be in paper space")
)
(princ)
)

 

Architect, Registered NC, VA, SC, & GA.
Message 3 of 4
zootango
in reply to: dbroad

Thanks dbroad,

 

That's exactly what I needed.

 

Is there anyway to make the objects that come into the space, come in on the currect layer?

 

 

 

 

Message 4 of 4
dbroad
in reply to: zootango

I'm sure there is.  Add a call to the chprop command.  You can determine the current layer by:

(getvar "clayer")

Architect, Registered NC, VA, SC, & GA.

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

Post to forums  

Autodesk Design & Make Report

”Boost