Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2018-10-11
09:00 AM
- last edited on
2022-10-05
01:37 PM
by
Daniel Kassai
try { pvi.GetVectorImage().Strip(cutPoly, &vi); } catch (const GS::Exception& e) { WriteReport("%s", e.GetMessage().ToCStr().Get()); }; vi.CheckAndRepair();
Solved! Go to Solution.
2018-10-11 06:12 PM
ReignBough wrote:Have you tried to copy the source?
Is there an intersection (and other polygon) operation for ProfileVectorImage? Currently I am using:
try { pvi.GetVectorImage().Strip(cutPoly, &vi); } catch (const GS::Exception& e) { WriteReport("%s", e.GetMessage().ToCStr().Get()); }; vi.CheckAndRepair();pviis the source ProfileVectorImage;
viis the output VectorImage;
cutPolyis the IrregularPolygon2D that counts as a cutter;
But it sometimes crashes.
VectorImage vecIm = pvi.GetVectorImage (); vecIm.Strip (cutPoly, &vi);If it still crashes, could you please write it to an XML file, and send me that?
2018-10-11 06:12 PM
ReignBough wrote:Have you tried to copy the source?
Is there an intersection (and other polygon) operation for ProfileVectorImage? Currently I am using:
try { pvi.GetVectorImage().Strip(cutPoly, &vi); } catch (const GS::Exception& e) { WriteReport("%s", e.GetMessage().ToCStr().Get()); }; vi.CheckAndRepair();pviis the source ProfileVectorImage;
viis the output VectorImage;
cutPolyis the IrregularPolygon2D that counts as a cutter;
But it sometimes crashes.
VectorImage vecIm = pvi.GetVectorImage (); vecIm.Strip (cutPoly, &vi);If it still crashes, could you please write it to an XML file, and send me that?
2018-10-12 07:02 AM
2018-10-23 11:21 AM