Need a macro for sketch

Hi

I'm not familiar with macros.. I need a macro for sketch automation ..the cross section of the part will not change only the diameter keeps changing...what I exactly need is my input should be only that diameter while running tat macro.

Your help is appreciated

Thanks in advance

SolidworksApi macros
Answers 4
SF
SF 2014-08-30 Best Answer

P.S. the sketch should be fully defined...similar to the below image..

comment imagecomment image
SF
SF 2014-08-30

‌ can you help me out in this?!!

DG
DG 2014-08-30

Why you need a macro for this? Create the sketch and keep it in the design library and use from there as required. You can also add a design table to it for various diameter sizes.

SF
SF 2014-08-30

Yeah! That would be great, but the customer needs the other way I mean he wants macro for this.