|
diameter dimension using centerline
hi,
in solidworks sketch, a diameter dimension can be created using a centerline
(either by placing dimension text to opposite side of centerline or by selecting diameter dimension in dimension properties).
i am trying to do same using api function iadddimension2 for a revolve sketch.
following are the different ways i tried (none of them is working for me).
1. using put_diametric on created displaydimension (this is not working as created dimension is linear, which is getting converted into radial dimension after revolve feature is generated).
2. by selecting dimension text point on opposite side of centerline.
3. creating a diameter dimension using iadddiameterdimension2.
any help regarding this issue is appreciated.
thanks,
regards,
amar |
|