Hi Everybody,
my question concerns face selection of a solidworks part. For cfd meshing I built a geometry and would like to export facegroups to stl. For selection purpose I've colored the faces (see attachment). Now I'm having trouble writing a macro which selects the faces by appearance. The export part of the macro is already working, when I select the appearance group manually, but since I plan to export tons of variations of the geometry the selection also has to work within the macro. I already tried the selectById2 method, but it was not performing well. Even though I put in the mathematical exact position of the point on the face, often other faces were selected. Could somebody please give me a hint, which function/method is appropriate for my problem?
Best regards
Sebastian
SolidworksApi macros