Get Selected Node Index number

Hi.

Can anybody help me out in getting the number of a selected Node??!!

I have been trying to use the Node Index but without success.

Thank you very much.

Parents
  • Shape.Curve.Selection returns a noderange containing the selected nodes.

    If you only have one node selected, then you could use:

    Shape.Curve.Selection.FirstNode.Index

    or

    Shape.Curve.Selection.FirstNode.AbsoluteIndex

    depending on whether you want the index of the node within the subpath that contains it, or in the curve as a whole.

Reply Children