I've got a question about handles. I previously made a couple of plug-ins that create PFC, UB and UC symbols for the UK structural steel sections but now I'm working on the hollow sections so I need to make an poly for the outside of the square section and another for the inside and then clip them and remove the inside. I can draw the two:
ClosePoly;
BeginPoly;
MoveTo(50, 0);
LineTo(90,0);
ArcTo(100,0,10*3/4);
ArcTo(100,100,10*3/4);
ArcTo(0,100,10*3/4);
ArcTo(0,0,10*3/4);
LineTo(50,0);
EndPoly;
BeginPoly;
MoveTo(50, 10);
ArcTo(90,10,10/2);
ArcTo(90,90,10/2);
ArcTo(10,90,10/2);
ArcTo(10,10,10/2);
LineTo(50,10);
EndPoly;
PopAttrs;
For example gives a 100x100x10 SHS. How can I use ClipSurfaces(s1,s2, HANDLE) and tell it that s1 and s2 are those two previous poly's that i just drew? Also will that keep s2 the same so I can delete it once it's clipped?
Thanks