Please somebody share me some information about the flexible coding in Soildworks API.
I need the flexible coding for the curves in the above profile image which should adjusted automatically.
The total length and width also get adjusted automatically.
I have tried to Google about flexible coding. But there is no useful search results... where have you heard or read about flexible coding for Solidworks API?
In my thinking, I think that the software / or macro is just as flexible as it was developed to be by the creator.
I would constrain the sketch and then control it with the parameters needed. Length and width should be quite easy... but it is hard to say more since you do not tell in which directions and how the curves could vary or how the input is set. In worst case you have to consider lengths between the arcs etc etc....
Thanks for the reply.
I wanted that the sketch should adjust automatically while running the code, so I used the word 'Flexible coding'.
I am attaching the another jpg image below.
I wanted to known what will be the way so that the above sketch by little changes we can get the below image.
I know for that we have to give some criteria, but what to give that only I am not getting.
Because in some case we required the above image or below attached image or other than that while modelling , so for that to save time I need the automatically adjustment.
Somebody please tell how to do the automatically adjusting of code for the above two jpg images.
Means if the macro code is ready for the one of the image and just by adjusting the earlier code how to get the another image.
Also tell me is that possible? If possible then please tell me how to do that ?
The reason you are not getting anyone telling you anything is because you haven't given us any idea on how you intend to do such a complex task. It would be a very difficult task to program something that could ever really create both of the sketches you show. The problem is you are not even telling us what the user is expected to put in to get these variations. Start by telling what your current MANUAL method is and how you decide what to do and maybe that will get you started.