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

Autolisp Custom Plotting

$
0
0

I've spent this weekend trying to learn some basic Autolisp programming. I had created some long winded macros to do some custom plotting so that I could just click a button once and be done. Problem being, I had to create about a dozen different ones for various size plotting. I'm needing to write an Autolisp program that will allow me to window some entities with coordinates I specify in the program, assign that to a variable, plot that variable, then add a certain amount of distance in Y to the previous window selection, make that the new variable,plot and repeat. I'd like the window selection to set the plotted variable to repeat until it does a selection window, doesn't pick anything because there is no longer any entities to pick, and end the program. That way I don't have to set it to repeat a set number of times. I don't know if that's even possible in an autolisp program. All the research I've done for autolisp says that I have to manually select an entity. This isn't ideal and I was wondering if it's even possible to make a window selection for getting entities in autolisp without user input. I appreciate any feedback.


Viewing all articles
Browse latest Browse all 14319

Trending Articles