简体   繁体   English

调整Abaqus .env文件以使用不同的默认数字格式启动

[英]Adjust Abaqus .env file to startup with different default number format

I would like to get Abaqus to load up with all the right setting so I don't have to adjust it eveytime I open it. 我想让Abaqus加载所有正确的设置,因此我不必在打开时调整它的传送时间。 I currently added the following to my .env file which opens it up with the correct font but I can't figure out how to open up with the correct number format (which I would like it to be in decimal). 我目前在.env文件中添加了以下内容,该文件以正确的字体打开,但是我不知道如何以正确的数字格式(我希望它以十进制形式)打开。 This is for version 6.14. 这是用于6.14版本的。

def onCaeStartup():
    session.viewports['Viewport: 1'].viewportAnnotationOptions.setValues(
        legendFont='-*-verdana-medium-r-normal-*-*-180-*-*-p-*-*-*',
        titleFont='-*-verdana-medium-r-normal-*-*-180-*-*-p-*-*-*',
        stateFont='-*-verdana-medium-r-normal-*-*-180-*-*-p-*-*-*')

Turns out its easier then scripting. 事实证明,它更容易编写脚本。 Just make all your settings in the visualization module that you want then go to "file" >> "Save Display Options" >> "home" and it will always open up with those settings. 只需在所需的可视化模块中进行所有设置,然后转到“文件” >>“保存显示选项” >>“主页”,它将始终使用这些设置打开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM