edit : See here for example answer
Untrim face or surface with temporary geometry using SOLIDWORKS API
Hi Guys
I'm looking for the best method to Untrim a face from my model.
Just to be clear I'm not talking about Inserting an Untrim Feature, but using temp bodies.
I had a look through IFace2 and ISurface but nothing jumped out at me.
I've managed to make a box of the correct size using GetUVBounds(), but then I'm not sure what to to with the rotation part of the transform as you can see below.
I think I have a way to do it, but it seems way more complicated than it should be.
Given an IFace2 object that's planar is there a straight forward way?
Thanks
SolidworksApi/macros