Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations LittleInch 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
Joined
Sep 29, 2001
Messages
12
Location
DK
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

Back
Top