Code: Select all
<class 'SyntaxError'>: ('invalid syntax', ('<string>', 1, 91, 'FreeCAD.getDocument("fan_bock_rev_E___TechDraw").getObject("Annotation").Text = [u"1/4" NPT", ]\n'))
Interestingly, the text field does accept a single quote character without throwing an error and automatically escapes it to \'
Since the double quote character " is often used to indicate inches, this could be kinda important.
OS: macOS Sierra (10.12)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18213 (Git)
Build type: Release
Branch: master
Hash: 22babc09954ac6fda9135ee71d68550921659b1c
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)