Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CATScript : how to change tools/options when catia is running

Status
Not open for further replies.

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor