Fit text script

Can someone tell me how to make a script to change Fit text?

Hi Harold - I think this does what you need. (665 Bytes)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"


Is there a way to change it in the annotation styles so all dimensions I make are inside? The style I use is default. Also is there a way to change the unit formats in the annotation styles too? I want that to change to Inches-Decimal. Thanks for all your help. This all goes back to my convert to inches issue. I started a script but I’m not sure how to change the 2 issues stated in this post. I am adding the script I started.

Convert to (960 Bytes)

if you change it in your annotation style, (text Fit text from auto to inside) then it will apply that to any new dimension you create. Same applies to the units.

What’s not quite clear to me is if you want to set this by scripting or by changing the template, your question seems a mix.

The text fit and center issue is resolved. I am making a script to make rhino 7 work like rhino 5. I have 1 more thing to add to the script. The last thing i need is a script to change the leader landing to .05. I open a lot of files from email and templets don’t work from email. I know you can save them to a folder then put them in a templet but i like to open from email just a personal preference.