change Spaceclaim options

Gabriel Messager
Gabriel Messager Member, Employee Posts: 54
Ansys Employee First Anniversary Name Dropper 5 Likes
✭✭✭✭
edited June 2023 in 3D Design

How to change the Spaceclaim options (for instance, Autosave, Rendering quality and Language) ?

Tagged:

Comments

  • Gabriel Messager
    Gabriel Messager Member, Employee Posts: 54
    Ansys Employee First Anniversary Name Dropper 5 Likes
    ✭✭✭✭
    #Autosave:
    
    from SpaceClaim.Api.V22 import Application
    options = Application.UserOptions
    options.AutomaticBackup = False
    Application.UserOptions = options
    
    #Rendering quality
    
    from SpaceClaim.Api.V22 import Application
    options = Application.UserOptions
    options.RenderingQuality = 6
    Application.UserOptions = options
    
    #Language
    
    cur_options=Application.UserOptions
    cur_culture=cur_options.Culture # if blank it is "Default" based on system culture
    new_options=cur_options
    new_options.Culture="en"
    Application.UserOptions=new_options