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!
what's the best way of going about this?
thanks!






RE: toggle 'enable selection through transparency'
See the SW Help index for macro
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: toggle 'enable selection through transparency'
CODE
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'
I've seem SW change this setting on me automatically sometimes 10x in a day. Can't figure out what is triggering it.