Jump to content

Show others while in groups Toggle


Recommended Posts

Here is a script to toggle any preference. It's currently set to toggle Zoom Line Thickness, change the number for other prefs.

SetPref(9, NOT GetPref(9));

{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}

Link to comment

SetPref(14, not GetPref(14));

Use this one line VectorScript and it will toggle the "show others while in groups" pref. You can run it from a script palette, or do as most of us do: create a Menu Command in the VectorScript PlugIn Editor, and add it to your workspace(s) with a keyboard shortcut.

If you need help doing the latter, write back, but you can start by reading Robert Anderson's post The VectorScript Advisor: What do I do with a VectorScript, anyway?

Raymond

Link to comment

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.

×
×
  • Create New...