OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: mging63 on November 11, 2010, 05:38:31 AM

Title: Question about tutorial
Post by: mging63 on November 11, 2010, 05:38:31 AM
Hi, i am a novice with OpenDCL. I learn this program with the tutorial "AUBlockTool.odcl". I am the tutorial step by step and when I try to copy the code panel "events" I always get the message: "To Do: code must be added to event handler\" at each events.
What am I doing wrong, or what is the problem?

Autocad version 2009 french.
OpenDCL version 6.0.1.3

Thanks

p.s. This is a great project.
Title: Re: Question about tutorial
Post by: Slavko Ivanovic on November 11, 2010, 06:04:22 AM

The problem is that there's no problem at all ;).

Delete (replace) codeline (dcl_messagebox ".....") in each event function, with yours actual code, to be executed instead  of that message box. Its a predefined HELP code line to help you understand WHEN certain function is triggered.
Put a little more effort to understand this, and you will see base simplicity but powerful flexibility of OpenDCL.