Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy/rotate

23 REPLIES 23
Reply
Message 1 of 24
Riki N
802 Views, 23 Replies

Copy/rotate

Can anyone help! I have AutoCAD 2008 LT and want an all in one copy rotate command, I want to Copy the object first and place it and then rotate it using one command

Thanks
23 REPLIES 23
Message 2 of 24
Anonymous
in reply to: Riki N

Sure, use the following menu macro. You will need to add this as a command
to CUI and then probably put it on a toolbar. You may want to edit the
coding for your needs if you have a preset copy location or rotation angle.

Name: Copy and Rotate
Description: Copy and Rotate. The move in the command is necessary to reset
the rotational base point. This is different than the MOROCO command in
Express Tools.
Menu Macro:
^C^C_select;_auto;\_copy;_p;;@;@;_move;_p;;\\_rotate;_p;;@;\_redraw:

Brad

wrote in message news:5752188@discussion.autodesk.com...
Can anyone help! I have AutoCAD 2008 LT and want an all in one copy rotate
command, I want to Copy the object first and place it and then rotate it
using one command

Thanks
Message 3 of 24
Riki N
in reply to: Riki N

Fantastic thanks so much Brad, I done what you said and made a button on my tool bar and it works but there was just two other things relating to the same thing if you wouldn’t mind helping me again,

1) My right click is set to ENTER and REPEAT COMMAND but when I right click and select the same object or another object it goes straight into the rotate part of the command without copying it first (I’m trying to do multiples of the same command but without pressing the button again)

2) is it possible to edit the acad.pgp file and put a command in it so I can press a key on the key board to invoke the command.

PS. Sorry if I sound a bit stupid, I have been using cad for years and just draw, never played with commands etc.

Many thanks
Message 4 of 24
Anonymous
in reply to: Riki N

1) To repeat a macro, you have to either pick the button again or get it out
of a right-click menu. So, set your right-click to be time-sensitive. That
way, you can quickly click for enter, and long-click for a shortcut menu. I
think you'll find it's a nice compromise.

2) No. If you put it into a LISP routine, you could have a shortcut that
started the LISP, but it doesn't work for macros.

wrote in message news:5753378@discussion.autodesk.com...
Fantastic thanks so much Brad, I done what you said and made a button on my
tool bar and it works but there was just two other things relating to the
same thing if you wouldn't mind helping me again,

1) My right click is set to ENTER and REPEAT COMMAND but when I right click
and select the same object or another object it goes straight into the
rotate part of the command without copying it first (I'm trying to do
multiples of the same command but without pressing the button again)

2) is it possible to edit the acad.pgp file and put a command in it so I can
press a key on the key board to invoke the command.

PS. Sorry if I sound a bit stupid, I have been using cad for years and just
draw, never played with commands etc.

Many thanks
Message 5 of 24
Anonymous
in reply to: Riki N

Oops, forgot what group we were in -- no LISP in LT.

"Kate M" wrote in message
news:5753497@discussion.autodesk.com...
1) To repeat a macro, you have to either pick the button again or get it out
of a right-click menu. So, set your right-click to be time-sensitive. That
way, you can quickly click for enter, and long-click for a shortcut menu. I
think you'll find it's a nice compromise.

2) No. If you put it into a LISP routine, you could have a shortcut that
started the LISP, but it doesn't work for macros.

wrote in message news:5753378@discussion.autodesk.com...
Fantastic thanks so much Brad, I done what you said and made a button on my
tool bar and it works but there was just two other things relating to the
same thing if you wouldn't mind helping me again,

1) My right click is set to ENTER and REPEAT COMMAND but when I right click
and select the same object or another object it goes straight into the
rotate part of the command without copying it first (I'm trying to do
multiples of the same command but without pressing the button again)

2) is it possible to edit the acad.pgp file and put a command in it so I can
press a key on the key board to invoke the command.

PS. Sorry if I sound a bit stupid, I have been using cad for years and just
draw, never played with commands etc.

Many thanks
Message 6 of 24
Anonymous
in reply to: Riki N

Riki, I use the time sensitive right click and then the macro is listed as
the first option on the right click menu. Another option to get the macro
to repeat is to put an * at the beginning, but then it repeats until you hit
escape. Try those two options and see which you like. I don't find I need
that macro to repeat so I don't have the * in my version, but you might.

Brad Message was edited by: Discussion Admin
Message 7 of 24
Anonymous
in reply to: Riki N

The other option is to assign the macro to a keystroke combination with the
control key. This probably comes the closest to what you want. Drag the
command to the keyboard shortcuts-shortcut keys and assign the macro to a
CONTROL + KEY of your choice. Unfortunately the most obvious options of C
and R are taken so you will need to do another. Maybe CONTROL+ SHIFT + R.
Copy with base point is CONTROL + SHIFT + C.

Brad

"Brad" wrote in message
news:5753675@discussion.autodesk.com...
Gary's product will allow lisp, but that is not the issue here. I used it
when I had LT as my only option. Now I have two copies of LT and one copy
of Civil 3D. The only part of the product I did not like was that I had to
update it at full price every year to keep current with my LT updates.

Riki, I use the time sensitive right click and then the macro is listed as
the first option on the right click menu. Another option to get the macro
to repeat is to put an * at the beginning, but then it repeats until you hit
escape. Try those two options and see which you like. I don't find I need
that macro to repeat so I don't have the * in my version, but you might.

Brad Message was edited by: Discussion Admin
Message 8 of 24
Riki N
in reply to: Riki N

Thanks a million Brad it works just fine with the ‘*’, never let it be said you don’t know what you’re talking about.

I would like to return the favour someday but unfortunately I don’t know much about anything!

Thanks again

Riki.
Message 9 of 24
Anonymous
in reply to: Riki N

I accept cash. 😉

--
Brad
wrote in message news:5753839@discussion.autodesk.com...
Thanks a million Brad it works just fine with the '*', never let it be said
you don't know what you're talking about.

I would like to return the favour someday but unfortunately I don't know
much about anything!

Thanks again

Riki.
Message 10 of 24
mwclpeterson
in reply to: Riki N

Brad,
You are our hero! We have been desperately searching for this ability since we upgraded to ACADLT 2008 earlier this year.

We have implemented it and it works like a champ! Sleep well knowing you have made our lives better!

Thanks!
Mike Peterson
Message 11 of 24
jbaldeo
in reply to: Riki N

brad,
concrening the routine you created to copy rotate, I tried this but all it does is copy the object and then ends. (^C^C_select;_auto;\_copy;_p;;@;@;_move;_p;;\\_rotate;_p;;@;\_redraw:)
what do you think is wrong
jb
Message 12 of 24
Anonymous
in reply to: Riki N

To start, the last colon should be a semi colon. Other than that, it looks
correct. Here is a version I have copied and pasted from my CUI. It works
in C3D 2008 and LT 2005. During the rotate it stops to ask what oration you
want. What version do you have?
^C^C_select;_auto;\_copy;_p;;@;@;_move;_p;;\\_rotate;_p;;@;\_redraw;

Brad

wrote in message news:5797099@discussion.autodesk.com...
brad,
concrening the routine you created to copy rotate, I tried this but all it
does is copy the object and then ends.
(^C^C_select;_auto;\_copy;_p;;@;@;_move;_p;;\\_rotate;_p;;@;\_redraw:)
what do you think is wrong
jb
Message 13 of 24
jbaldeo
in reply to: Riki N

I am using Autocad 2004 CG7. When I enter the command this is what happens -:
Command: _select
Unknown command "SELECT". Press F1 for help.

Command: _auto
Unknown command "AUTO". Press F1 for help.

Command:
Command:
Command: _select
Unknown command "SELECT". Press F1 for help.

Command: _auto
Unknown command "AUTO". Press F1 for help.
If I remove the select and auto it works but the command stops after it copies.
Message 14 of 24
Anonymous
in reply to: Riki N

What is CG7? I don't have 2004 loaded anywhere. Go into help and see if
SELECT is listed in the commands. Auto is a modifier for select. As for
why it stops, I can't say without reloading my 2004 since I imagine it has
to do with a difference between 2004 and 2005.

Brad

wrote in message news:5797175@discussion.autodesk.com...
I am using Autocad 2004 CG7. When I enter the command this is what
happens -:
Command: _select
Unknown command "SELECT". Press F1 for help.

Command: _auto
Unknown command "AUTO". Press F1 for help.

Command:
Command:
Command: _select
Unknown command "SELECT". Press F1 for help.

Command: _auto
Unknown command "AUTO". Press F1 for help.
If I remove the select and auto it works but the command stops after it
copies.
Message 15 of 24
jbaldeo
in reply to: Riki N

cg7 is a surveying program, but it's just an add on to 2004, I am not seeing select, except select objects etc
Message 16 of 24
Anonymous
in reply to: Riki N

Ok, CG7 is Carlson software. I used Carlson years ago, but it was called
AutoCAD Field Survey (by Carlson) and Carlson Roads. Sorry, but I just do
not have the time to reload LT 2002 to find out why this macro won't work.
It turns out I must have skipped LT 2004 because I can only locate my 97,
98, 2000, 2002, and 2005 LT disks. I know I did not get 2000i and I am not
surprised that I might have skipped 2004. I plan on getting LT 2008 next
month before I lose my ability to upgrade.

Can you post the text window after removing the select and auto portions so
I can see why it is exiting.

Brad
wrote in message news:5797310@discussion.autodesk.com...
cg7 is a surveying program, but it's just an add on to 2004, I am not seeing
select, except select objects etc
Message 17 of 24
jbaldeo
in reply to: Riki N

after removing the select and auto this is what happens

Command: _copy

Select objects: _select


*Invalid selection*
Expects a point or
Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/CLass/Add/Remove/Mult
iple/Previous/Undo/AUto/SIngle

Select objects: 1 found

Select objects:
Specify base point or displacement, or [Multiple]: Specify second point of
displacement or :
Message 18 of 24
Anonymous
in reply to: Riki N

You removed more of the macro than you should have, you now have 'select' as
the prompt for copy.

Post your exact code here.

SELECT command has been around in LT and AutoCAD for a long time, much
earlier that your 2004 variety, if you don't see it in HELP in your version
of AutoCAD/LT you are not running the same version the rest of us are but
some hobbled customized variation.

--
Dean Saadallah
http://LTisACAD.blogspot.com
Add-on products for LT
http://www.pendean.com/lt
--
Message 19 of 24
jbaldeo
in reply to: Riki N

(^C^C_copy;_select;;@;@;_move;_p;;\\_rotate;_p;;@;\_redraw;) ............This gives me the following-:

Command: _copy

Select objects: _SELECT


*Invalid selection*
Expects a point or
Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/CLass/Add/Remove/Mult
iple/Previous/Undo/AUto/SIngle

Select objects: 1 found

Select objects:
Specify base point or displacement, or [Multiple]: Specify second point of
displacement or :
Command:
Command:
Message 20 of 24
Anonymous
in reply to: Riki N

Like I said, your macro is incorrect: look at it, you start copy then you
start select command instead of following up with copy command's
functionality.

Not to sound rude, but can you read the code you just pasted? Type it at the
command line and see for yourself, honest, it's that simple. Walk through it
at the command line, see the busts for yourself.

--
Dean Saadallah
http://LTisACAD.blogspot.com
Add-on products for LT
http://www.pendean.com/lt
--

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

Post to forums  

Autodesk Design & Make Report

”Boost