Hi,
i'm workling on a little program to replace parts in assemblies based on a file mapping table. In this file mapping table is a list that is used to find a file on the list and if found it should be replaced in the assembly. The List is based on filenames and that is the reason for my question. I want to select parts with their filename but unfortunately i cannot find a command in the API. There is selectbyid2, select4 but i cannot select by a filename. On the other hand if i replace a component i do not know the new component name. How do i select a part i just replaced and so it's ID is unknown?
Regards,
SolidworksApi macros