Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4177

Leader Text Function

$
0
0

1 post

djnelson75 wrote:

So I think the LeaderText() is broken in python. It won't set the text to a new value.
In trying to look under the hood. It looks function try's to set the geom.TextFormula

if text is not None:
    geom.TextFormula = text
    annotation_object.CommitChanges()
    scriptcontext.doc.Views.Redraw()

Shouldn't it be setting the geom.Text property??

Also I tired to use the edittext() sample project from the rhino common wiki but it won't work on a leader either.


Viewing all articles
Browse latest Browse all 4177

Latest Images

Trending Articles



Latest Images