|
看看那个轴承的参数不就知道了。加个关系,比如CNAME= BUW_NAME + " "+ BUW_SIZE
AFX调用的零件参数,都是用关系式文件param_relations.txt来传递的,
NAMING = BUW_NAME
DESIGNATION = BUW_TYPE + " " + BUW_SIZE
PART_DESC = BUW_NAME
MATERIAL = BUW_TYPE + " " + BUW_SIZE
CNAME= BUW_NAME + " "+ BUW_SIZE
CINDEX = rel_model_name
CMASS = PRO_MP_MASS
cmat = material_param("cmaterial")
oritext = "-"
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp+"-" + extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
endif
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp + "-" + extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
endif
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp + "-"+ extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
endif
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp + "-" + extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
Endif
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp + "-"+ extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
endif
if search(CINDEX,oritext)>1
tmp = extract(CINDEX,1,search(CINDEX,oritext)-1)
CINDEX = tmp + "-" + extract(CINDEX,search(CINDEX,oritext)+1,String_length(CINDEX)-search(CINDEX,oritext))
Endif
|
评分
-
查看全部评分
|