Zbro 发表于 2023-2-28 15:39:13

adams宏命令使用

钢丝绳建模,下面是复制移动圆柱体的宏命令,但是运行后说integer_value = 1是无效输入
defaults model model_name = . gs
variable create variable_name = ip
integer_value = 1
while condition = ( ip < 2013)
part copy part = . Prober. gs_1
new_part = ( unique_name( " gs" ) )
variable modify variable_name = ip
integer_value = ( eval( ip + 1) )
end! while
variable delete variable_name =ip
页: [1]
查看完整版本: adams宏命令使用