OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: jb on March 28, 2008, 07:11:10 AM

Title: dcl_BlockView_PreLoadDwg
Post by: jb on March 28, 2008, 07:11:10 AM
Alpha 5 10
Architecture 2008
Win XP Pro

dcl_BlockView_PreLoadDwg causes a DWL file to be generated.  Is this neccesary?  I'm trying to write code that covers a form that references data via ObjectDBX in a remote "standards" drawing from accessing said drawing when it's opened.  Another option (which I think would aide OpenDCL well) would be a dcl_DrawingLocked or Opened routine to return either a T or nil.  Owen - How difficult would that be??

What would be my workaround in this case?  I guess I could keep "edit" files but that just makes things more complicated.  Is there a shell function I could use? Anyone have any ideas?

Thanks.

jb
Title: Re: dcl_BlockView_PreLoadDwg
Post by: owenwengerd on March 29, 2008, 12:17:21 PM
This appears to be an AutoCAD bug. The OpenDCL code is calling AutoCAD with a flag telling it to open the file as read-only, but the flag seems to be ignored.
Title: Re: dcl_BlockView_PreLoadDwg
Post by: jb on March 31, 2008, 08:00:09 AM
Still a bug in 2009 . . ..