[Frage] Is it possible to specify units when importing dwg files?


Is it possible to specify units when importing dwg files?
I am looking at InteractorExamples\ExportImportInteractor.pyp example.
However, I can't find a script to set the unit anywhere.
Is there a way to specify and import a unit in the script?

Hi,

In the documentation we can see :

ImportDWG(doc, fileName, configFileName, placePnt)

So you can prepare a DWG configuration file with the correct unit settings.

Best