- 积分
- 2024
- 回帖
- 0
- 西莫币
-
- 贡献
-
- 威望
-
- 存款
-
- 阅读权限
- 35
- 最后登录
- 1970-1-1
该用户从未签到
|
楼主 |
发表于 2017-3-31 16:45
|
显示全部楼层
来自: 中国天津
'Clear the existing property field
Call getDocument.setSolverPropertyField("daicai", infoSolverPropertyFieldIdTemperature)
'Override the Temperature property on the component.
Set Mesh=getDocument().getSolution().getMesh(SolutionId, "daicai")
Set Field= getDocument.getSolution().getSystemField(Mesh, "500HZ-MeshAndField.xls")
'Set the Temperature data for the "daicai"
Call Field.getFieldData(ScalarData)
For i = 0 To ubound(scalarData)
ScalarData(i) = "500HZ-MeshAndField.xls"
Next
Call Field.setFieldData(ScalarData)
'call to override the temperature property on the component
Call getDocument.setSolverPropertyField(Field, infoSolverPropertyFieldIdTemperature)
我把帖子中的脚本修改了一下,但是运行的时候会报错,是哪个地方出问题了呢? |
|