is it possible to get export of dwg file to pdf in ubuntu cli with librecad?
i installed librecad but get this error:
peiman@server:~$ librecad --convert 1.dwg 2.pdf
QXcbConnection: Could not connect to display
Aborted (core dumped)
Where did you find that '--convert' option? LibreCAD does not have one. LibreCAD can convert a drawing to pdf file from cli, but only in dxf (not dwg) format. If you can convert your dwg to dxf first then you can use LibreCAD's dxf2pdf tool. Its help is available by running