@gparamasivam I think this conversation is suffering from cultural division, I work with teams in India and recognize some of the language hurdles in these conversations. Basically everyone's response at the moment is based on how your opening question was stated... which is being received as "How do I reverse engineer a part model and have it create Ilogic code".
What I think you're really trying to ask is how can you create the model using iLogic instead of using iParts. If you're not familiar with iLogic right now, that's a pretty big step to take out of the gate if this is your first go at it and while others might be willing to volunteer their time to write this for you, I would not be one of those who would.
If you are just getting started, I think you should start by creating this sketch, along with User Parameters and get practiced with allowing these parameters to drive the shape of your model; this works as long as the part is really just changes in sizes and not features. Each trick you learn builds you up to the next level of customization, and before you know it you're writing iLogic code to create sketches, put assemblies together, answering questions to help someone else figure it out.
If I'm not interpreting your comments correctly, then I'd agree with the others that responded that the path you're asking for is not worth travelling.
Autodesk Inventor Certified Professional