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

reference mates
hi,
i am working on a program who makes some automatic actions like create parts, insert parts in assembly, open/close/save/rename the components and the assemblies ...
but i am loosing the possiblity to use the references mates, which is really interesting for me.
i have 2 problems :
- the first one is to create reference mates in a part which is automatically created with a macro. i didn't find any functions linked with this.
- the second is that even if i have a part with reference mates, i have to stop the program and ask the user to select the face where to put the mate. and i still didn't really managed to do that properly.
for now, i am using solidworks 2004.
thanks for answers
there is a function in api for mate reference and it is insertmatereference. i just checked it out and its availability is from solidworks 2005
deepak gupta
sw2007 sp5.0
sw2009 sp2.1
ok thanks for the answer
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)