×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

toggle 'enable selection through transparency'

toggle 'enable selection through transparency'

toggle 'enable selection through transparency'

(OP)
I'm looking for a way to add a tolbar shortcut to toggle 'enable selection through transparency' on and off.

what's the best way of going about this?
thanks!

RE: toggle 'enable selection through transparency'

Record a macro, then assign a button or hotkey to it.

See the SW Help index for macro

cheers
Helpful SW websites  FAQ559-520
How to get answers to your SW questions  FAQ559-1091

RE: toggle 'enable selection through transparency'

Assign this macro to a toolbar button

CODE

Sub Main()

    Dim swApp As SldWorks.SldWorks
    Set swApp = CreateObject("SldWorks.Application")
    
    If swApp.GetUserPreferenceToggle(swDisplayEnableSelectionThroughTransparency) Then
        swApp.SetUserPreferenceToggle swDisplayEnableSelectionThroughTransparency, False
    Else
        swApp.SetUserPreferenceToggle swDisplayEnableSelectionThroughTransparency, True
    End If

End Sub

RE: toggle 'enable selection through transparency'

Also that to temporarily toggle it, you can use Shift-select.

I've seem SW change this setting on me automatically sometimes 10x in a day.  Can't figure out what is triggering it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources