找回密码
 注册
Simdroid-非首页
查看: 41|回复: 4

[高级讨论区] 如何得到一个记录所有操作步骤和参数的模型的py文件

[复制链接]
发表于 2017-5-2 10:53:51 | 显示全部楼层 |阅读模式 来自 江苏
本帖最后由 富贵 于 2017-5-2 10:55 编辑

批处理调用abaqus的py文件时,我找到了abaqus.rpy,首先我把它改成txt格式复制到脚本窗口无法生成建模,显示syntaxerror:invalid syntax,而且明显感觉代码太短,从建模的模型参数到分析步到荷载所设置的参数都没找到,如何得到一个记录所有操作步骤和参数的模型的py文件,求哪位奆奆帮忙
我找到的rpy文件:
# -*- coding: mbcs -*-
#
# Abaqus/CAE Release 6.14-1 replay file
# Internal Version: 2014_06_05-06.11.02 134264
# Run by furonghua on Sat Apr 29 16:44:17 2017
#

# from driverUtils import executeOnCaeGraphicsStartup
# executeOnCaeGraphicsStartup()
#: Executing "onCaeGraphicsStartup()" in the site directory ...
from abaqus import *
from abaqusConstants import *
session.Viewport(name='Viewport: 1', origin=(0.0, 0.0), width=304.866760253906,
...     height=177.49089050293)
session.viewports['Viewport: 1']
session.viewports['Viewport: 1'].makeCurrent()
session.viewports['Viewport: 1'].maximize()
from caeModules import *


 楼主| 发表于 2017-5-2 10:56:40 | 显示全部楼层 来自 亚太地区
Simdroid开发平台
求助啊,求大神帮忙
回复 不支持

使用道具 举报

 楼主| 发表于 2017-5-2 11:01:27 | 显示全部楼层 来自 江苏
求告知,搞了好几天
回复 不支持

使用道具 举报

发表于 2017-5-2 11:31:31 | 显示全部楼层 来自 陕西西安
可以用PythonReader,详细信息见下面的帖子:
http://forum.simwe.com/forum.php ... ght=python%2Breader
回复 不支持

使用道具 举报

发表于 2017-10-28 22:07:18 | 显示全部楼层 来自 黑龙江哈尔滨
与cae文件同名的 jnl 文件就是了,一般先保存一下cae 文件,jnl会更新
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-26 23:10 , Processed in 0.036398 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表