TheSwamp
Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: jbuzbee on March 08, 2007, 07:09:35 PM
-
All these forms were created - from scratch - in the new OpenDCL Beta 1 program!! :lol: :-o :-D :-) :wink:
This tool "reads" the available door styles in the active drawing.
Form: modeless
Controls: treeview, textbox, blockview, graphic button
problems: none
(http://www.kbstudio.us/doortool.jpg)
This tool "reads" the available ADT styles in the active drawing. (now if we could get Owen to give us the option of getting rid of the window header this would act just like an un-docked toolbar. In VBA it's thru the API: .ShowCaption = False)
Form: modeless
Controls: combobox, graphic button
problems: none
(http://www.kbstudio.us/adttoolbar.jpg)
Controls the display of Layers based on Layer States defined in an external standards file.
Form: modeless
Controls: listbox, graphic button, vertical splitter
problems: none
(http://www.kbstudio.us/LayerStates.jpg)
Collection of View tools - great for working with the PN.
Form: modeless
Controls: listbox, graphic button, textbox
problems: none
(http://www.kbstudio.us/ViewTools.jpg)
If you press the Import View button this is what you get - imports multiple views.
Form: modeless
Controls: listbox, graphic button
problems: none
(http://www.kbstudio.us/ImportViews.jpg)
Imports Layers from that standards file I was talking about earlier. Uses the Layers filters defined in that drawing to set up the tree view.
Form: modeless
Controls: treeview, listbox, graphic button, vertical splitter
problems: none
(http://www.kbstudio.us/Importlayers.jpg)
appends text to dims.
Form: modal
Controls: textbox, graphic button
problems: none
(http://www.kbstudio.us/appenddim.jpg)
Keynoting form. The keynotes are dynamically linked to the file.
Form: modeless
Controls: listbox, graphic button, horiz. splitter, uses the label control for the preview
problems: the splitter is between the listbox and the preview (label control). Everything works as expected until the splitter is moved: then the splitter jumps to the bottom of the form, making the height of the preview 0. I've tried several different configs.
(http://www.kbstudio.us/keynotes.jpg)
If anyone wants the ODC and LISP files for these projects let me know. Some of them are hooked into ADT so beware. Most are pretty benign . . .. :wink:
-
Nice work! :-)
-
Very nice James. Please check the latest beta, and if you still see the splitter problem, email me the ODC file so I can take a look. And of course, submit your window title feature request on the SourceForge project's feature request tracker page. :)
-
Owen,
Words cannot convey the appreciation the few here can offer. When it comes to AutoCAD, I can't see a more powerful combination. AutoLISP is just sooo hooked into AutoCAD (if NOT the verticals!)
The titlebar request has been logged in the Tracker section of sourceforge under the title of "No Title Bar":http://sourceforge.net/tracker/index.php?func=detail&aid=1674373&group_id=187950&atid=923366
I'd also like to request the scrollbars in the listbox control: why can't they be like the MS forms listbox where they dissapear when not needed?
Again, thankyou for taking this huge undertaking all by yourself - I wish I knew more C++!
Hey, what ever happened to SharpLISP? Now that would be huge . . ..
-
Looks like a great use of Splitters there James !
Nice clean and compact design .. :-)
-
Here's a piccy .. V3.0 for Ac2004-6 Migrated to AC2007-8
<Guests will be unable to view this.>
-
I think the splitter issue was fixed in B2.
-
Nice work Kerry.
How are you doing that insertion point pick?
BlockView & draw a rec. where you pick...
Also, what's "Borders Buppy"? :lol:
-
Ahhhh very observant.
A "Borders Buppy" is a document management package I'm developing that controls drawing variations and reads/writes to an Access database .. all in Vlisp with an ODCL front end.
"Borders Buppy" translates to "Border Updater" in babble speak
The green square on the Piccy is related to a data file that I have for each slide. The pick point is intercepted as a percentage of the Piccy size {allows for different res monitors } and the closest point from the file is calculated to identify which reference point to use to draw the steel.
I'll isolate it once the smoke clears and share it as a sample. Pretty clever if I do say so myself ;-)
-
So do you have 1 slide with every possible ins. point combination, or is the rec. drawn on top of the slide control?
Nice work.
-
I have one slide for each object class with the circles on the slide. The green Square is add dynamically to the circle nearest to the picked point ..
with something like this
(odcl_slideview_fillimage CTA17-Steel_MainForm_Piccy
(list (list gb:nx gb:ny 16 16 3))
)
-
That is so cool Kerry ! 8-)
-
Very nice James. Please check the latest beta, and if you still see the splitter problem, email me the ODC file so I can take a look. And of course, submit your window title feature request on the SourceForge project's feature request tracker page. :)
Welcome to theswamp Owen!
Dan
-
Very nice Kerry, :-)
A little question : Which software do you use to create your animated gifs?
-
Very cool Kerry!
I had to watch it twice it was so neat! :-)
-
If anyone wants the ODC and LISP files for these projects let me know. Some of them are hooked into ADT so beware. Most are pretty benign . . .. :wink:
I'd love to see the code. Nothing like working examples to get a head start on learning a new tool.
Martin
-
Here's a piccy .. V3.0 for Ac2004-6 Migrated to AC2007-8
Ummm.... Kerry? Uh....what's a "Buppy" pull-down do??
-
If anyone wants the ODC and LISP files for these projects let me know. Some of them are hooked into ADT so beware. Most are pretty benign . . .. :wink:
I'd love to see the code. Nothing like working examples to get a head start on learning a new tool.
Martin
^ ^ ^
I'll second that!
James (or anyone else):
I'm assuming there's some sort of GUI for ODC? If so, can you post a pic (or three)?
From what it looks like, ODC is kinda like LSP hooks up with VBA and has a kid? Seems pretty cool!
-
Here's a screen shot of the editor,
https://sourceforge.net/project/screenshots.php?group_id=187950 (https://sourceforge.net/project/screenshots.php?group_id=187950)
You should download it & give it a try, after all it's FREEEEEE :-)
You can download it from the same site.
Check out the "Examples" folder once you get it installed.
-
So when these projects are compiled, what type of file are they and do they load the same way as a LSP or a DVB?
-
Matt,
the form definitions are contained in a .ODC file - think of it like a resource DLL for an ObjectARX routine. The interaction between AutoLISP and AutoCAD is handled by the OpenDCL.arx (currently versions 16 and 17). So an "application" would have 3 files: MyApp.lsp, MyApp.odc and OpenDCL.16.arx. The arx file contains a load function called from lisp: (Odcl_Load_Project "MyApp.odc")
I know it sounds like a lot of files but the benefits are unbelievable!
-
They're a custom file type that only OpenDCL can read (.ODC). They don't need to be compiled you just open them in the OpenDCL editor. Then there's an OpenDCL*.ARX that reads the .ODC file & displays it in Acad & provides you with the functions to interact with it via Lisp.
-
>>>>
A little question : Which software do you use to create your animated gifs?
http://www.techsmith.com/products.asp
Video : Camtasia Studio
Single Piccys : SnagIt
They can be purchased as a bundle.
-
Here's a piccy .. V3.0 for Ac2004-6 Migrated to AC2007-8
Ummm.... Kerry? Uh....what's a "Buppy" pull-down do??
:-)
http://www.theswamp.org/index.php?topic=15390.msg186804#msg186804
Here's the frontEnd Dialog Piccy :--
-
Thanks Kerry! :-)
I find them expansive but they are good products!
-
Looking good Kerry
Great work