|
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 |
|