OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: BazzaCAD on September 24, 2007, 10:11:55 AM

Title: Modify & write ODCL files via LSP
Post by: BazzaCAD on September 24, 2007, 10:11:55 AM
I just wanted to point out that with OpenDCL 4.1 alpha 8 you can now modify & write ODCL files with LSP.
https://sourceforge.net/forum/message.php?msg_id=4533762 (https://sourceforge.net/forum/message.php?msg_id=4533762)

Thx Owen, great work.
Now lets try to think of some more uses for these new features & maybe add them to the Examples folder.
Title: Re: Modify & write ODCL files via LSP
Post by: owenwengerd on September 24, 2007, 04:49:37 PM
Since this forum is better for file attachments, I've attached the lisp file that I posted on SourceForge for changing font sizes in an entire project.

[attachment deleted by admin]
Title: Re: Modify & write ODCL files via LSP
Post by: Kerry on September 24, 2007, 05:03:40 PM

I imagine this would also work for changing Fonts to MS Shell Dlg for really old dialogs

Title: Re: Modify & write ODCL files via LSP
Post by: owenwengerd on September 24, 2007, 08:42:47 PM
Quote from: Kerry Brown on September 24, 2007, 05:03:40 PM
I imagine this would also work for changing Fonts to MS Shell Dlg for really old dialogs

Yes it would -- or changing to any other typeface for that matter. :)
Title: Re: Modify & write ODCL files via LSP
Post by: Kerry on September 26, 2007, 01:40:40 AM
Quote from: owenwengerd on September 24, 2007, 08:42:47 PM
Quote from: Kerry Brown on September 24, 2007, 05:03:40 PM
I imagine this would also work for changing Fonts to MS Shell Dlg for really old dialogs

Yes it would -- or changing to any other typeface for that matter. :)

:P

:D
Title: Re: Modify & write ODCL files via LSP
Post by: BazzaCAD on October 10, 2007, 09:17:26 PM
I created 30 GraphicButtons by coping the original one and pasting it over & over again.
So then I had 30 Buttons that said the same thing.
So modified Owen SetOdclFontSizeunscaled.LSP to clear all the Captions for all the buttons.
Here's the code for anyone that might find it useful.
I can see this feature becoming very powerful.

[attachment deleted by admin]