查看单个帖子
旧 2009-04-12, 07:29 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】root assembly name

root assembly name
how do you get the root assembly name from a component?
i have an assembly with a sub assembly and a part. i can use the getparent.name2 method on a part in the sub-assembly and i can get the sub-assembly's name but how do i get the root assembly's name from the part in the root assembly?
thanks
remove path and extension from model.getpathname
thanks ivana
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)