Problem with : Drawing Dimensioning

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
marek.b
Posts: 4
Joined: Fri Sep 17, 2021 5:28 pm

Problem with : Drawing Dimensioning

Post by marek.b »

Hello,
I am new in FC. I have FC 0.19. In addon manager I add the Drawing Dimensioning. When I make any 3D object and want to add any dimension on drawing, this error message shows me below. Please, do anyone know, what is his problem for?




19:18:49 Traceback (most recent call last):
File "C:\Users\Marek\AppData\Roaming\FreeCAD\Mod\drawing_dimensioning\drawingDimensioning\grid.py", line 155, in update
self.SVGRenderer.load( QtCore.QByteArray( '''<svg width="%i" height="%i"> <path stroke="%srgb(0, 255, 0)" stroke-width="%f" d="%s"/> </svg>''' % (drawingVars.width, drawingVars.height, clr, lineWidth, dArg) ) )
TypeError: 'PySide2.QtCore.QByteArray' called with wrong argument types:
PySide2.QtCore.QByteArray(str)
Supported signatures:
PySide2.QtCore.QByteArray()
PySide2.QtCore.QByteArray(bytearray)
PySide2.QtCore.QByteArray(bytes)
PySide2.QtCore.QByteArray(PySide2.QtCore.QByteArray)
PySide2.QtCore.QByteArray(int, int)
chrisb
Veteran
Posts: 54273
Joined: Tue Mar 17, 2015 9:14 am

Re: Problem with : Drawing Dimensioning

Post by chrisb »

Drawing+DrawingDimensioning is utterly outdated. Where did you find the recommendation to use it? You should use TechDraw instead.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
marek.b
Posts: 4
Joined: Fri Sep 17, 2021 5:28 pm

Re: Problem with : Drawing Dimensioning

Post by marek.b »

I never hear about it before. My problem is solved by TechDRAW. Thanks :)
Post Reply