Moldkon
Industrial
- Sep 29, 2001
- 12
Hello there.
I am trying to make changes to my tools / options whit out having to actually open the tools options dialog.
So far I have written this:
Sub CATMain()
Set settingControllers1 = CATIA.SettingControllers
Set visualizationSettingAtt1 = SettingControllers1.Item("CATVizVisualizationSettingCtrl")
visualizationSettingAtt1.StaticLOD = 0.1
visualizationSettingAtt1.DynamicLOD = 15
End Sub
It actually works, it writes the values to the options!
BUT the values are first taken into account the next time I open the tools options and press ok!
Does any one know how I force these settings thru with out having the tools options dialog open.
Best regards
M.
I am trying to make changes to my tools / options whit out having to actually open the tools options dialog.
So far I have written this:
Sub CATMain()
Set settingControllers1 = CATIA.SettingControllers
Set visualizationSettingAtt1 = SettingControllers1.Item("CATVizVisualizationSettingCtrl")
visualizationSettingAtt1.StaticLOD = 0.1
visualizationSettingAtt1.DynamicLOD = 15
End Sub
It actually works, it writes the values to the options!
BUT the values are first taken into account the next time I open the tools options and press ok!
Does any one know how I force these settings thru with out having the tools options dialog open.
Best regards
M.