OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: roy_043 on September 14, 2011, 02:05:10 AM

Title: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: roy_043 on September 14, 2011, 02:05:10 AM
System:
Bricscad 11.4.6
Windows XP
OpenDCL 6.0.2.5

Code (autolisp) Select
(dcl_BlockView_DisplayBlock DwgBrowser_Form1_BlockView1 "Square" 0 0.95)
This code will not display the block "Square" if it there is no insert of this block (it will return T though). Is this by design?
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: Fred Tomke on September 14, 2011, 02:23:59 AM
Hello,

I cannot reproduce this for AutoCAD because I often use BlockView for previews and they will never be inserted.
So I assume this behaviour depends on BricsCAD.

Regards,
Fred
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: roy_043 on September 15, 2011, 01:35:59 AM
Thank you Fred. I'll send a support request to the Bricscad team.
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: Fred Tomke on September 15, 2011, 03:46:26 AM
Hi, roy_043, since it may depend on the path OpenDCL on BricsCAD, I'd recommend that Owen would have a look at it at first before you post it at BricsCAD support. Owen does better know what happens in BlockView control.

Regards, Fred
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: roy_043 on September 15, 2011, 11:00:36 AM
If Owen, or anybody else, wants to test this:
Attached is a zip with test files. The test is described inside the lsp.
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: owenwengerd on September 16, 2011, 02:02:11 PM
This does appear to be a bug in Bricscad, still there in V12. Please go ahead and report it. I know they are doing some work on the AcGs problems, so it's possible this is already fixed in their internal build, but documenting a simple test case will be helpful for regression testing even if the problem is already fixed.
Title: Re: dcl_BlockView_DisplayBlock does not display uninserted block
Post by: roy_043 on September 17, 2011, 04:19:28 AM
Support request has already been sent.