OpenDCL Studio is a specialized tool designed for creating data visualization dialog boxes. It allows users to easily add modal and modeless dialogs, toolbars, option menus, document dialogs, and option panels, enhancing the convenience of operating CAD commands. The software's main features include:
Application Development: OpenDCL applications are coded using AutoLISP and structured using OpenDCL project data. This project data can be created and edited within OpenDCL Studio, saved as standalone .odcl files, or integrated into AutoLISP code.
Event-Driven Programming Model: OpenDCL uses an event-driven programming model where interface events trigger application workflows. Typical applications include code for loading and displaying tables, along with event handlers for managing table interactions after display, such as button presses or item selections.
Runtime Module Loading: The OpenDCL runtime module must be loaded before displaying OpenDCL tables. This is done using the OPENDCL command in AutoCAD, which utilizes its requirement-based loading mechanism. There's no need to check if the runtime is already loaded, as the command does nothing if it's already present.
Software Features
The OpenDCL Studio interface is straightforward and reminiscent of Visual Basic. The menus are clear, and most functions are mirrored in the toolbar and the four dockable sub-dialogs. The Project
menu is the most important, with the first six options dedicated to adding dialog forms. OpenDCL supports six types of forms: modal dialogs, modeless dialogs, dockable dialogs, property page dialogs, document dialogs, and palette dialogs. The next three menus are for managing image resource files, linking AutoLISP documents, and setting project passwords. The final menu is for clearing dialogs.
The left side of the OpenDCL form contains the Toolbox with over 35 controls that can be saved, and the Project Tree dialog below it. The right side features the Properties and Events dialog for controls, and the Z/Tab Order dialog for adjusting the stacking order. The center of the form is where new dialogs are placed, with menus and dockable panes that can be freely rearranged.
How to Use OpenDCL Studio
Launch OpenDCL Studio: Start the software and navigate to the main interface, where you can begin creating a new project.
Open or Create a Project: You can open an existing project for editing or create a new one by clicking "New".
Access Key Features: The main features for project development are readily accessible, allowing you to add various forms and components such as modal dialogs, modeless dialogs, toolbars, option menus, and document dialogs.
Add Components: Click on the desired component type, such as a modal dialog, and all related functions will be available. You can easily add text buttons, image buttons, and frames to the form.
Edit Control Properties: Properties like the X-coordinate (in pixels) for the control's top-left corner can be set. This coordinate is relative to the bottom-right corner of the control's parent dialog (higher values are further to the right on the screen). The Use Left From Right
property manages the relationship between this and the Left
property.
Additional features include setting default font styles, grid spacing, configuring Lisp symbol names, clearing Lisp symbols, resetting event names, copying events to the clipboard, and loading events into Lisp documents.
By using OpenDCL Studio, developers can streamline the process of creating and managing dialog boxes, improving the efficiency and functionality of their CAD applications.