构件或浇筑体图纸页码

Tekla Structures
2021
Tekla Structures

构件或浇筑体图纸页码

使用 match 函数查找“-”字符

match(GetValue("NAME_BASE"),"*-*")

使用 mid 函数只返回“-”之后的字符

mid(GetValue("NAME_BASE"),(1+(find(GetValue("NAME_BASE"),"-"))),2)

在规则中组合上述所有内容

if (match(GetValue("NAME_BASE"),"*-*"))

then mid(GetValue("NAME_BASE"),(1+(find(GetValue("NAME_BASE"),"-"))),2)

else ""

endif

Was this helpful?
Previous
Next