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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Python legend command: fixed units

Status
Not open for further replies.

creakesiv

Mechanical
Joined
Jun 2, 2015
Messages
6
Location
US
Hi,
I am trying to write a script that will automatically change visualization settings. I am currently stuck at the script changing the legend number format to FIXED instead of SCIENTIFIC. Does anyone know the command to do this. I am assuming it is similar to session.defaultViewportAnnotationOptions.setValues(legendDecimalPlaces=0) but can't find it in the manual.
Thank you,
-Clay
 
Why don't you do it in the UI and look in the .rpy?
 
Didn't know that I could haha. Thank you! Huge help going forward with coding
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top