Is it possible to invoke a configuration from subassembly using a macro? Each subassembly has a lot of configurations, so I wouldn't want to create a configuration in the main assembly corresponding to the configurations in the subassembly.
Not exactly sure what do you mean. Perhaps this: 2012 SOLIDWORKS API Help - ReferencedConfiguration Property (IComponent2)
XY problem. Please state more context and I think people will point you in the right direction.
Retrieving data ...