几何尺寸与公差论坛

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

【转帖】fully define sketches

[复制链接]
发表于 2009-4-13 10:59:01 | 显示全部楼层 |阅读模式
fully define sketches
hi,
iam trying to develop a macro that will fully define sketches.
iam using
later = sketchmanager.fullydefinesketch ( entitiestofullydefine, userelations, relationstoapply, usedimensions, horizontaldimscheme, horizontaldatumdisp, verticaldimscheme, verticaldatumdisp, horizontaldimplacement, verticaldimplacement)
once the run the macro, the sketch remains underdefined
the only dimensions missing are the ones to the origin
how do i select the origin (both for horizontal and vertical reference) and get all entites dimensioned from it?
krishna
solidworks 2008 sp 3.0
depending on the type of part/feature, you could have the sketch associations set up to utilize the origin through associations with construction lines, no coding required in that case.
matt lorono
solidworks 2007 sp3.1
cad engineer/ecn analyst
co-moderator of
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-24 02:44 , Processed in 0.033950 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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