Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Diameter dimension using centerline

amar.junankar

New member
Hi,<br style="font-family: Arial,Helvetica,sans-serif;"><br style="font-family: Arial,Helvetica,sans-serif;">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


Dia_Dim.JPG
 

Sponsor

Articles From 3DCAD World

Back
Top