It looks like you're new here. If you want to get involved, click one of these buttons!
Hello,
Do you know how to automatically generate polygon text where the text is varying with the parameters using python script? Like this:
I want to generate labels for each of the blocks where contains small boxes of different sizes. I want the polygon text to be right above each big block and the print the value of 'a' in each block. Thanks!
Best,
Jin
Comments
Hi Jin,
the class you're looking for is "TextGenerator". It provides a method "glyph" which gives you a "Region" object with the text you specify. You can insert such a Region into a cell like a polygon.
Matthias
Thank you Matthias, problem solved