sketchText.textStyle

sketchText.textStyle

MichaelT_123
Advisor Advisor
122 Views
0 Replies
Message 1 of 1

sketchText.textStyle

MichaelT_123
Advisor
Advisor

Hi TF360,  

 

I have encountered the following issues:

 

textStyle        = skTxt.textStyle

                       ^^^^^^^^^^^^^^^

...\packages\adsk\fusion.py", line 96524, in _get_textStyle

    return _fusion.SketchText__get_textStyle(self)

RuntimeError: 3 : invalid input font name

 

The fonts like Webdings, Wingdings, ... seem to cause trouble.

Yes, I am aware of the warnings presented in the UI when using them, but the API should handle them better.

There is no problem with querying the font style property outside  F360 API, as in the mentioned cases, there is only one style - "Regular"

 

Although the impact of the issue may be minimal, its correction should also be straightforward.

 

Regards

MichaelT

 


MichaelT
0 Likes
123 Views
0 Replies
Replies (0)