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

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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)