Examples
The ObjectDCL Runtime Extension for AutoCAD® (ARX) comes with a demo that covers various aspects of ObjectDCL programming. You can take a closer look at the source code.
More On-line Examples
Here is the list of examples listed by topic:
- Visibility of controls
Is it possible hide some controls and show other controls at run time? - Enabling and disabling controls
Can graying out of controls be done through your program (similar to the mode_tile when set to 1 function)? - Modeless dialog loop
How do I create a modeless dialog box that will start a loop which will run until a "Cancel" button is clicked? - Toolbars and Dockable dialogs
Do you have an example that of a toolbar in ObjectDCL that we can program ourselves? Can you provide us with an example that calls the zoom commands transparently? - Prevent closing a dialog
How do I cancel the Closing of a dialog box? - Assigning focus on opening a dialog
How di I Assign a control as the First Control to Receive Focus after the Dialog Box is Displayed? - Closing a dialog temporarily to interact with a drawing for input
Do you have an example that has a buttons setup to close the dialog box temparily, prompt the user to select objects or coordinates with getpoint or ssget, then reshows the dialog box when the user finishes their selection? - Coordinating list box selection with block preview
Can you provide me with an example of a ListBox that displays blocks to be selected and a BlockView control that previews them? - Adding a HTML Browser
Do you have an example of project with a HTML control in it? - Filling a list view
Do you have a simple ListView example using Odcl_ListView_FillList?
Knowledge Base
FAQ