Export bodies to parasolid from multibody part (VBA)

Hello,

can anyone provide/help me with macro to export all visible bodies to parasolid from multibody part?

Is it necessary to create an assembly first, than export parts to .x_t, or is there any direct way to do it (multibody part -> .x_t files from bodies) ?

SolidworksApi macros