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: 

Copying objects

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
hwalker
429 Views, 5 Replies

Copying objects

This has probably been asked before.

 

I'm copying 1 object, mutiple times. Yes I know how to multiple copy.

 

The problem is this.

 

The object I'm copying will have varying distances between each copy eg, 50, 100, 90, 150, 140, 100, 190 so on and so forth.

 

Is there a way in LT to copy relative to the last object placed?

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

5 REPLIES 5
Message 2 of 6
pendean
in reply to: hwalker

No, you will need to write a very long macro that starts and stops then repeats COPY command a few dozen times.
Message 3 of 6
hwalker
in reply to: pendean

Thought it would be something like that. Ah well shall fall back on my old way

 

Create a polyine with those distances and copy the object to the polyline endpoints.

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 4 of 6
pendean
in reply to: hwalker

Macro would not be that hard, just annoyingly long (edit the repeat length as needed) and you need to ESC to cancel it when you are done.

First stab at it (not fully tested): ^C^C_undo;_mark;_select;$M=$(if,$(getvar,cmdactive),\)_copy;_p;;\@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\+
_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\+
_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\+
_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C_move;_p;;@;\_copy;_p;;@;@;^C^C^C
Message 5 of 6
hwalker
in reply to: pendean

That looks really long.

 

Now I know nothing about diesel, but would it be possible to do the following

 

Copy

 

Select the object

Ask for the distance and put it in a user variable

copy the selected object the desired distance

erase the user variable

Select the object ...

 

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 6 of 6
pendean
in reply to: hwalker

That's what I was attempting to write above I believe. Try it.

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

Post to forums  

Autodesk Design & Make Report

”Boost