Anyone know how to access this setting via the API? (RMB on Annotations folder, turn on/off the Show Feature Dimensions checkbox.) I can control the stuff in the View > Hide / Show menu, but this one isn't in that menu.
Another method would be (this toggles check but modify as you like):
Dim swApp As SldWorks.SldWorks
Dim swDoc As SldWorks.ModelDoc2
Dim Toggle As Boolean
Set swApp = Application.SldWorks
Set swDoc = swApp.ActiveDoc
Toggle = -swDoc.Extension.GetUserPreferenceToggle(swDisplayFeatureDimensions, swDetailingNoOptionSpecified)
swDoc.Extension.SetUserPreferenceToggle swDisplayFeatureDimensions, swDetailingNoOptionSpecified, Not Toggle
Set swApp = Nothing
Set swDoc = Nothing
IModelDocExtension RunCommand method with the argument swCommands_Ann_Feat_Dim (1550)
I found this, but it's not quite what I want since it toggles, and I want to turn it off if it's on and leave it alone if it's already off.
Thanks. Don't know how I missed that. It's right there in the help. :-P
Retrieving data ...