Hi Guys,
Does anyone knows how the Power Trim works? I am having hard time on it. Any suggestion or ideas will be appreciated.
Here is my problem:
Given a set of Line as shown in the picture attached, I want to use the power trim in order to connect the line.
Here is the sample code that I made. Assume that all variable are declared with its corresponding data type
SketchSegment line1,line2,line3;
line1.Select2(false,-1);
line2.Select2(true,-1);
trimstatus = modelDoc2.SketchManager.SketchTrim(2,0,0,0); ------>Q: what does x,y,z, used for?
line2.Select2(false,-1);
line1.Select2(true,-1);
trimstatus = modelDoc2.SketchManager.SketchTrim(2,0,0,0);
line2.Selec2(false,-1);
line3.Selec2(true,-1);
trimstatus = modelDoc2.SketchManager.SketchTrim(2,0,0,0);
line3.Selec2(false,-1);
line2.Selec2(true,-1);
trimstatus = modelDoc2.SketchManager.SketchTrim(2,0,0,0);
The first trim is okay but when i trim the second part which is line2 and line 3 as shown in the picture "2" as shown above the result is like this as shown below
Can anyone explain to me why do I get that result or any suggestion or ideas will be appreciated by the way Power Trim only .
Thanks in Advance Guys.
SolidworksApi macros