Hello everyone,
I'm looking for a way to get the filename of the appearance file (*.p2m) or the appearance name for each body in a multibody part.
This can be done with a component using the IGetRenderMaterials Method (IComponent2). This method returns an IRenderMaterial which contains the FileName member that has the p2m file name. So gettting the filename with a component is no problem, how do we do this with a body?
SolidworksApi macros