Message 1 of 1
sketchText.textStyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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