Jump to content
Sign in to follow this  
CRSA_890

Toggle On/Off Zoom Line Thickness

Recommended Posts

All,

Browsing through my workspace editor, I could not find a way to create a key shortcut to toggle on and off zoom line thickness.

Is this possible?

Thanks

Spinner

Share this post


Link to post

Are you on a PC? If so, you have to know where to place the cursor at the end of the line where a shortcut key would display (if it were there), click and highlight an invisible text entry box, then enter your key choice. Simple, huh?

If you're on a Mac, with the menu command highlighted, just type the key choice and it magically appears where it should.

HTH,

Raymond

Share this post


Link to post

You can use the following VectorScript to toggle any of the Boolean ("yes-no") preferences in VectorWorks:

{BEGIN VECTORSCRIPT}

PROCEDURE Boolean_Pref_Toggle;

{Set kPref below to the value from the fol-

lowing list to toggle the stated preference:

Click-Drag Mode = 0

Offset Duplicates = 1

Full Screen Cursor = 2

Show Screen Hints = 3

Floating Datum = 4

Snap To Loci = 5

Show Rulers = 6

Show Scroll Bars = 7

No Fill Behind Text = 8

Zoom Line Thickness = 9

Black and White Only = 10

Use Layer Colors = 11

Log Time in Program = 12

Adjust Flipped Text = 13

Show Other Objects While In Group = 14

Show 3D Axis Labels = 15

Use Black Background = 16

Use Eight Selection Handles = 17

Use Sound = 18

Issue Undo Warnings = 19

Opaque SmartCursor = 20

Stop VectorScript on Warnings = 21

Left Palette Margin = 22

Right Palette Margin = 23

Use Save Reminder = 24

Show Parametric Constraints = 25

Display Minor Alerts on Mode Bar = 27

Associate Dimensions = 28

Spell Check Capitalized Words = 29

Spell Check Words in ALL CAPS = 30

Spell Check Mixed Case Words = 31

Spell Check Words With Numbers = 32

Auto Join Walls = 33

Show Page Breaks = 34

Show Grid = 35

Print Grid = 36

Snap To Grid = 37

Snap To Object = 38

Save By Time = 39

Save Confirm = 40

Save To Backup = 41

Palette Docking = 43

Create Dimensions in Dimension Class = 44

Accelerated 2D Navigation = 45

Use Vector Caching = 46

Sketch Hidden Line = 47

Snap to Edge Points = 48

Show Page Boundary = 49

Display Default Content = 130}

CONST

kPref = 9;

BEGIN

SetPref(kPref,NOT(getPref(kPref)));

END;

RUN(Boolean_Pref_Toggle);

{END VECTORSCRIPT}

You can use the VectorScript Plug-in Editor (use of which is a little beyond the scope of this thread) to make any number of toggle commands, any of which can be included in your workspace and given a command key.

Share this post


Link to post

I second that! Robert and Andrew thanks for the tips. I've been using the program for ... well a long time and this post got me to write my first plug-in. Yay ... whole new worlds opening up.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...