Wish: extractPt to include textDots

Hi, it would be nice if extractPt worked on textDots too.

Hope this helps:

import rhinoscriptsyntax as rs
def RunCommand():
    dots = rs.GetObjects("Select text dots for point extraction", rs.filter.textdot, True, True)
    for dot in dots:
        dot = rs.coercegeometry(dot)
        rs.AddPoint(dot.Point)

if __name__=="__main__":
    RunCommand()

ExtractTxtDotsPt.py (285 Bytes)

1 Like

Thanks Mahdiyar.
Yes I too script to solve these things, but my colleague doesn’t, so I try to post wishes I see valuable for other users too :slightly_smiling_face:
Thank you very much for your willingness to help!

1 Like

Got that, thanks.

RH-60004 ExtractPt: support Dots

-Pascal

RH-60004 is fixed in the latest WIP

1 Like