TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: michilson on October 20, 2016, 11:37:57 AM

Title: Prompt User for Lisp Choice with Lisp.
Post by: michilson on October 20, 2016, 11:37:57 AM
Hi guys,

I am new to the whole lisp function. However I can write scripts and macros.

So here's what I'm looking to develop for a new company I am working for. I want to prompt a user to choose a lisp with a auto lisp.

(Working on Project 1) You choose the Project 1 Lisp (Setting layers, line types, Dim Styles etc) for that project.

And the same for Project 2 and so on.

So this would display a prompt on a Qnew allowing you to choose a lisp for new drawings.

Thanks for the help guys!

Mike
Title: Re: Prompt User for Lisp Choice with Lisp.
Post by: MSTG007 on October 20, 2016, 03:10:32 PM
I would try sticking to scripts (SCR) for setups. Easy to write up too. Then you can call lisps through the script.
Title: Re: Prompt User for Lisp Choice with Lisp.
Post by: ifncdylan on October 20, 2016, 09:09:16 PM
Sounds like standards might be applicable here. You can write a template file and then set it as a standard and it will ensure your drawings use only those styles etc in the standard template.

You won't need a lisp for that, just replace the standards file :)