最近因为项目需要正在用PCL建模,然后用ABAQUS进行计算。可是在建模过程中遇到了问题,急切希望各位高手相助!!!出现问题的PCL代码如下:我想在(0 0 0)点处建立10个同心圆,第n个同心圆的半径为n
global integer n for (n=1 to 10) STRING sgm_create_curve_2d_created_ids[VIRTUAL] sgm_const_curve_2d_circle_v2( "`n`", 1, `n`, "Coord 0.3", "", "[0 0 0]", FALSE, @ sgm_create_curve_2d_created_ids ) end for 运行之后出现错误,.SES文件的错误提示如下: global integer n for (n=1 to 10) STRING sgm_create_curve_2d_created_ids[VIRTUAL] sgm_const_curve_2d_circle_v2( "`n`", 1, `n`, "Coord 0.3", "", "[0 0 0]", @ FALSE, sgm_create_curve_2d_created_ids ) $# (PCL) Missing operand to expression $# Line is "sgm_const_curve_2d_circle_v2( "`n`", 1, `n`, "Coord 0.3", "", "[0 $# 0 0]", FALSE, sgm_create_curve_2d" $# Character is "`" $# (PCL) Missing right parenthesis $# Line is "sgm_const_curve_2d_circle_v2( "`n`", 1, `n`, "Coord 0.3", "", "[0 $# 0 0]", false, sgm_create_curve_2d" $# Extra information: sgm_const_curve_2d_circle_v2 end for 这个问题已经困扰了我好几天了,希望各位高手相助,谢谢大家!
|