OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: jbuzbee on September 19, 2014, 01:04:59 PM

Title: Blockview Control not displaying drawings properly
Post by: jbuzbee on September 19, 2014, 01:04:59 PM
please see attached:
Commands_DwgPreview is the lisp and odcl lisp info
DWGPreview.jpg is a preview of a drawing with an xref "base" floor plan
DWGPreviewXREF.jpg is a preview of the xref
and XREF.jpg is a screen shot of the xref in AutoCAD

OpenDCL 8.0.0.8
AutoCAD 2015
Win 8

Thanks
Title: Re: Blockview Control not displaying drawings properly
Post by: Fred Tomke on September 20, 2014, 12:58:53 AM
Hi,

not sure, whether I'm right or not, but:

Regards, Fred
Title: Re: Blockview Control not displaying drawings properly
Post by: jbuzbee on September 22, 2014, 06:12:10 AM
Oh well - thanks Fred
Title: Re: Blockview Control not displaying drawings properly
Post by: owenwengerd on September 22, 2014, 01:36:43 PM
I believe Fred is correct about xrefs. Xref resolution is not done in the DBX context; it is done by the host application (in AutoCAD, the editor). The DWG Preview on the other hand is generated when the drawing is saved and stored in the file, so it will represent the visual state of the drawing when it was last saved.
Title: Re: Blockview Control not displaying drawings properly
Post by: jbuzbee on September 23, 2014, 08:18:03 AM
No worries, I was unaware of those limitations.  I thought it would be cool to have a drawing previewer, something with a higher resolution than the dwgpreview.  So you use DBX to access "closed" drawings too?

jb
Title: Re: Blockview Control not displaying drawings properly
Post by: owenwengerd on September 23, 2014, 08:59:32 AM
Quote from: jbuzbee on September 23, 2014, 08:18:03 AM
So you use DBX to access "closed" drawings too?

Assuming that by "closed" you mean "not open in the editor", yes.
Title: Re: Blockview Control not displaying drawings properly
Post by: jbuzbee on September 23, 2014, 09:02:42 AM
cool  8)