OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Mbk Hk on June 26, 2022, 09:24:22 AM

Title: Is it possible to load current DWG into a BlockView
Post by: Mbk Hk on June 26, 2022, 09:24:22 AM
Having a BlockView in my DialogBox, we can load and show DWG files using:

(dcl-BlockView-LoadDwg  MyProject_MyDialog_MyVueBlocs FileDwgToLoad)

But that's seems impossible to load current DWG ! Is there any solution to show the current DWG in a BlockView Format.
Thanks
Title: Re: Is it possible to load current DWG into a BlockView
Post by: Fred Tomke on June 26, 2022, 01:29:01 PM
Hi, as far as I remember, AutoCAD creates a lock file in the same folder so shared access is not possible to already opened drawings. That could be a possible reason, I think.
With regards, Fred