几何尺寸与公差论坛

 找回密码
 注册
查看: 637|回复: 0

【转帖】automatic creation of relations

[复制链接]
发表于 2009-4-13 09:10:19 | 显示全部楼层 |阅读模式
automatic creation of relations
im starting a project for my final year of undergraduate beng and i'm doing a project based around automation of design using genetic algorithms...
i have created api code to create the specified design, based on the geometry in each algorithm (in this case a bell-crank), but part of the code automatically creates a vertical relation with the centre of a circle i have drawn. this causes the tangential relation i later add to over-define the sketch...
my question is simple! is there any way to disable sw automatically creating constraints like this at run-time apart from the ones i create myself?
regards,
andi
originally posted by: andi rodham
my question is simple! is there any way to disable sw automatically creating constraints like this at run-time apart from the ones i create myself?
andi,
look at sldworks::setuserpreferencetoggle and the user preference value swsketchautomaticrelations.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
edited: 10/13/2008 at 08:37 am by jorn bjarning
spot on!
thanks for this,
andi
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 01:36 , Processed in 0.035584 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表