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 verticalreference) and get all entites dimensioned from it?SolidworksApi macros
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 verticalreference) and get all entites dimensioned from it?SolidworksApi macros
1
SF 2008-06-10
Depending on the type of part/feature, you could have thesketch associations set up to utilize the origin throughassociations with construction lines, no coding required in thatcase.
