设计变量问题
我创建了这样的设计变量:variable create& variable_name = .model_1.boom_loc_X&
units = "length"&
range = -1.0E+004, 1.0E+004&
use_allowed_values = no&
delta_type = relative&
real_value = -642,
然后把 .model_1.boom_loc_X 赋给MARKER_1的X坐标:
marker create&
marker_name = .model_1.boom.MARKER_1&
adams_id = 1&
location = .model_1.boom_loc_X, 0.0, 0.0&
orientation = 0.0d, 0.0d, 0.0d
这样子保存再打开cmd文件的话,模型就不完整了,那我应该怎么样对MARKER_1的X坐标进行变量声明呢,求高手指点下!
adams_id = 1&
location = (.model_1.boom_loc_X), 0.0, 0.0&
orientation = 0.0d, 0.0d, 0.0d
f13 发表于 2013-5-25 19:12 static/image/common/back.gif
adams_id = 1&
location = (.model_1.boom_loc_X), 0.0, 0.0&
orientation = 0.0d, 0.0d, 0.0 ...
试了一下,还是不行,marker点是一个PLANT上的点,这样子一改,整个模型就不见了,为什么呢? 是不是应该用 eval,命令来实现赋值呢?
页:
[1]