OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Tharwat on July 05, 2011, 10:29:42 PM

Title: Recommendations for a DCL beginner
Post by: Tharwat on July 05, 2011, 10:29:42 PM
Hello everyone .

This is my first post in this precious and esteemed forum and I hope that I could be an active guy in here as soon as I get started running into DCL since
that it is completely new to me although that I feel somehow doing well with Lisp and Vlisp .

So I would like to know your opinions and recommendations for me as a beginner in DCL and where should start from to be able to continue in the right direction .

I downloaded the the Open DCL Studio with its three folders of examples, and I have just started reading and implementing the examples .

Many thanks for you all .

Tharwat
Title: Re: Recommendations for a DCL beginner
Post by: Fred Tomke on July 05, 2011, 10:46:44 PM
Hello and welcome Tharwat,

starting with the downloaded tutorial is the best way to get into the way to work with OpenDCL.
Please also have a look at the FAQs (http://www.opendcl.com/forum/index.php?board=20.0) which contains many other samples. And of course, take the chance to start a search for keywords. Of course it is not easy to search if you don't know the right words what to search for. Then let us now: we will try to help you.

Regards, Fred
Title: Re: Recommendations for a DCL beginner
Post by: Tharwat on July 05, 2011, 11:15:09 PM
Thank you so much Mr Fred .

I am glad to be here and, I am a regular member with all Lisp forums and hope to be here also as well, besides that, to get started quickly as soon as I can
understand the way it goes .

Thanks for your welcome and for the link .

Best regards.

Tharwat
Title: Re: Recommendations for a DCL beginner
Post by: Tharwat on July 07, 2011, 01:17:48 AM
Hi .

Is there any routine or program already made that I can load to see how things are going with DCL codes ?

And how to load to Autocad and run the program ?

Thanks a lot .

Tharwat
Title: Re: Recommendations for a DCL beginner
Post by: Fred Tomke on July 07, 2011, 02:41:33 AM
Hi, Tharwat,

when you have installed OpenDCL Studio you can start AutoCAD and call the command _OPENDCL at the command line. Then the OpenDCL API is loaded for the current AutoCAD session.

To load a lisp you can either use AutoCAD APPLOAD command or you use (load "yourlisp.lsp") in each drawing or (vl-load-all "yourlisp.lsp") on AutoCAD startup in a acaddoc.lsp in one of AutoCAD support paths or even in a mnl-file of you custom menu.

If you just work with the OpenDCL tutorial you will see how to start. There are many samples on this forum, for instance here:
http://www.opendcl.com/forum/index.php?topic=1080.0 (http://www.opendcl.com/forum/index.php?topic=1080.0)

Regards, Fred