高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】diameter dimension using centerline
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
|