Unfortunately there is no API function for this at least in prior versions of SolidWorks. Some time ago I have written a workaround for this (should be posted somewhere on the forum).
In any case please find the macro attached which sets the display model for the components.
Merry Christmas and Happy New Year!
Application Engineer at Intercad
Tel: +61 2 9454 4444
Brilliant solution! It works perfect for my application. It would would be great if future APIs for this would be so clean.
Thank you so much,
Have a Happy New Year!