dcl_BlockView_PreLoadDwg

Started by jb, March 28, 2008, 07:11:10 AM

Previous topic - Next topic

jb

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
James Buzbee
Managing Memeber
Black Horse Development, LLC

owenwengerd

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.

jb

James Buzbee
Managing Memeber
Black Horse Development, LLC