dcl_BlockView_DisplayBlock does not display uninserted block

Started by roy_043, September 14, 2011, 02:05:10 AM

Previous topic - Next topic

roy_043

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?

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

roy_043

Thank you Fred. I'll send a support request to the Bricscad team.

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

roy_043

If Owen, or anybody else, wants to test this:
Attached is a zip with test files. The test is described inside the lsp.

owenwengerd

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.

roy_043