Corel comes with a preset list of Scales. There is one spot to create a custom scale. I use Corel to do permit drawings about 40% of the time, and 1" = 10', 1" = 20', 1" = 100', ... are VERY common permit site plan scales. Corel does not have them in the list of defaults. Is there a way to customize the drop down 'Typical Scales' list?
I don't know if that information is customizable.
As an alternative, I think it would be straightforward to write some very small VBA subroutines, each one to set the document to a particular scale. If I recall correctly, I've read on this forum about someone doing exactly that for their often-used scales.
Those subroutines could be assigned to buttons on a toolbar, added to a menu, etc.
that would be great if i knew anything about VBA
Here are three subroutines, each one setting the WorldScale of the document:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Sub WorldScale_1_inch_equals_10_feet() If Not ActiveDocument Is Nothing Then ActiveDocument.WorldScale = 120 End If End Sub Sub WorldScale_1_inch_equals_20_feet() If Not ActiveDocument Is Nothing Then ActiveDocument.WorldScale = 240 End If End Sub Sub WorldScale_1_inch_equals_100_feet() If Not ActiveDocument Is Nothing Then ActiveDocument.WorldScale = 1200 End If End Sub
Here is a .ZIP file containing a .GMS file with that code in it. The ZIP file wrapper makes it agreeable to the forum software, but the .GMS file is what you need.
set_worldscale.zip
Are you familiar with where you would put a .GMS file in order to have access to the macros? How to run a macro from the Macro Manager?
Once subroutines such as those are available, they can be put on toolbars or menus, or have keyboard shortcuts assigned to them - just like the many Commands available in CorelDRAW's workspace customization. So, these could be put into a user menu, with descriptive captions.
VIDEO: WorldScale macros
.
WOW - thanks so much!
Alright Eskimo... I am HUGELY intrigued...!
Any chance you know of a straightforward tutorial that will show me how to...
► Copy the syntax (of the macros you uploaded) to do a COMPLETE set of macros of all the standard scales
And...
► Create a toolbar with those same macros
This would make life so much easier my friend...! (Maybe even get me Employee of the Month, $100, and special parking for a month. Aw yeah baby!)
I hate even asking, but I don't want to screw up my environment (again) forcing a factory reset. Grrrrr.
Thanks Eskimo...!
Those are two separate things, and we can engage them - to some extent - separately.
One part is understanding how to install/create/edit/run the VBA code. Assuming that you already have VBA working in CorelDRAW, that part doesn't really mess with your workspace.
Creating the toolbar is really a separate thing, and that is all done using CorelDRAW's own workspace customization capabilities. A subroutine in the VBA macro can be a "Command" in CorelDRAW. Adding it to a toolbar or menu is done in the same way one could add any of the zillion or so Commands that are already available in Options>Workspace>Customization>Commands.
As far as not messing up your environment, and having to lose all customization to an "F8 on startup" reset is concerned - it's a really good idea to become familiar with the process of creating a workspace from another workspace, and getting comfortable with the idea of switching between workspaces. A "throwaway" workspace is a great place to practice with the workspace customization stuff. If you don't like the way things are going, then throw the workspace away. If you get a toolbar set up just the way you like, then you can export that toolbar and then import it into another workspace.
A user can mess up a workspace through careless tinkering, but I suspect that CorelDRAW can get mysterious workspace ailments without any intentional tinkering.
As a precaution, I have a FreeFileSync batch job that "mirrors" my CorelDRAW workspace folders. Every time it changes or deletes a file from the mirror, it saves the old copy in a specified location with a time stamp appended to the filename. I have not had to resort to that, but it gives me the ability to "turn back time" if I were ever find that something had gone wrong.
To get things started - do you have VBA working in your CorelDRAW installation?
If you open the Macro Manager, do you see "Visual Basic for Applications" available?
Since the workspace customization aspect of this is independent of the VBA stuff, here are a couple of videos.
In this one, I create a new Toolbar, then add three Commands to it - Copy, Cut, and Paste:
VIDEO: make a toolbar; add commands.
In this one, I do something similar, but put the three Commands in a flyout:
VIDEO: make a toolbar; add a flyout, then add commands to the flyout.
When it creates the new toolbar, it may do so outside of the CorelDRAW window - and I'm only capturing the application window for the video. That explains why you see me dragging the new toolbar into view before adding Commands to it.