How does SelectionPoint.Create works in SpaceClaim's IronPython?

Hello everyone! 

I want to create some geometry by scripting in SpaceClaim and I have problems with rounding corners creation.

Recording with API V18 Beta creates such code:


# Create 2D Round

curveSelPoint1 = SelectionPoint.Create(GetRootPart().Curves[2], 0.000350858464285384)

curveSelPoint2 = SelectionPoint.Create(GetRootPart().Curves[3], 0.000864859402742673)

result = Sketch2DRound.Create(curveSelPoint1, curveSelPoint2, r)

# EndBlock


Where r -- variable, created by me.

I can not understand or find in any documentation what do the numbers after comma in SelectionPoint.Create mean.

And how can I address to the certain lines or curves in my code to make my code reproducible? Saying reproducible I mean situation, when curves where moved to slightly different position and I need to create rounded corner with these lines addressing to them by names.

Comments

Sign In or Register to comment.