Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

A customized copy/array lisp routine

$
0
0

Hello,

 

I've wrote a lisp routine, the makes an amount (defined by user) of copies, of several( selected by user) objects, along a distance, defined by 2 points (picked by user).

The program seems to do exactly what I want it to do, but:

1. It seems that the routine runs slowly, and I suppose that it is possible to improve this ) Unfortunately my knowlege of AutoLisp are not deep wnough ) so I ask you for an advise )

 

2. at the end, I get in the command-line area the next lines:

Command: CC Unknown command "CC". Press F1 for help.
Command: 15359

 

I examined my code, and I can't find what causes this problem.
I know that 15359 has to do smth. with OSMODE, but I don't see the mistake in my code

 

3. If it is not so hard to do, I would like a "tracing line" between first point and the second point when they are picked.

but I suppose it will need some essential changes in the code :)

 

P.S.

the routine is attached to the topic

 

 

thanks in advance )

 


Viewing all articles
Browse latest Browse all 14319

Trending Articles