this probably can't be done by a recorded macro, even if you could record them. Did you record these macros with SW? Also, can you just use the SW part directly? (i.e. export from SW, then import into IV) You might look over in the Inventor customization group for more answers.
I have done similar work in Solidworks, but have not needed to convert anything to Inventor. I would say that your best bet, and yes it will be some serious work, but go through your Solidworks macros and identify commands and objects and find their equivalent in the Inventor API and re-write the macros in Inventor. Sounds painful, but no other options exist in Inventor.
Hello, I just want to record the macro and impliment the generated code in other software..just to make an automation..is that possible through autodesk inventor
First reply above: No.
Even SW macro record can't record everything. It only work on very simple commands.
Start here to learn how to write macro:
https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-BDDB44A3-3415-44EB-B10E-216BB08BD614