AboutScott Cook Expertise I`ve been using AutoCAD since 1987 and programming AutoLISP nearly as long. I can answer questions about programming AutoCAD (except ARX) and production enhancement techniques. I cannot answer questions about AutoCAD crashes or DWG corruption. AutoCAD PROGRAMMING (menus, lisp) related questions only!
Experience Since 1987. Author of Plot2000 software for for AutoCAD, http://www.plot2000.com.
PROGRAMMING QUESTIONS ONLY PLEASE. Questions that are NOT related to programming or AutoCAD customization (menus and lisp only please) are outside the scope of my volunteer services and will NOT BE ANSWERED.
Question hi Scott, i'm trying to write a simple lisp routine to calculate slope & deviation in my flow line elevation (civil engineering). The lisp routine works by asking series of questions then displaying the total or slope percentage at the end. I want to take it a little further by loading the result (variable called 'TOTAL') to the windows clipboard. That way, i can also have the option to readily Ctrl+V paste it when i edit some of my autocad text. I've been looking for a solution in the internet but found nothing. Any insights will be greately appreciated. Thx!
Answer there's no built-in lisp function to do that, although it's probably possible through the activex object model. that would be difficult to figure out. you might take a look at mcneel's doslib to see if there is something in there for that. I think the url is www.mcneel.com.