blocks becoming invisible and visible depending on zoom
Moderators: SDS, support, admin
-
- Posts: 4
- Joined: 21 Oct 2009, 22:02
blocks becoming invisible and visible depending on zoom
I am using vb.net and 6.0.2824 of the CADImport.net.
We are adding layers and Block References with RealDWG.
When zooming in and out of the drawing, certain blocks appear and disappear based on four factors.
1. If you zoom in a long way all entities appear, If you zoom out some entities disappear at a certain point.
2. If you switch off or freeze one particular layer that we added and put entities on, the missing entities suddenly appear on the other layers.
3. We have some dialog windows that pop up for other functions and if you drag one of these windows over the cadviewer it repaints the 'missing' entities whereever the window travels over one, but whenever cadpicbox.invalidate is invoked to redraw the contents they always disappear again.
4. Bizarrely also, if you drag the drawing around the screen some of the invisible entities reappear at the extremities (four corners of the viewer).
The drawing appears fine at all levels of zoom in the later version's downloadable vb demo and also in dwg trueview.
NOTE: Apart from the disappearance of certain entities based on zoom level, the software is ready and has been shipped to a client, so I don't necessarily wish to recode in a later version of the software if it can be avoided.
Put simply, is there a different way I can refresh the screen or is there something like a different entity selection mode or buffering mode I can use, or is this a known bug in v6? Is it perhaps that I have simply done something wrong with the layers and entities I have been adding?
For me the biggest clues are:-
1. The problem manifests itself with entities and layers added by my code.
2. If you drag a window over the cad viewer the missing entities appear as if by magic, but any call to cadpictbox.invalidate makes them disappear every time.
We are adding layers and Block References with RealDWG.
When zooming in and out of the drawing, certain blocks appear and disappear based on four factors.
1. If you zoom in a long way all entities appear, If you zoom out some entities disappear at a certain point.
2. If you switch off or freeze one particular layer that we added and put entities on, the missing entities suddenly appear on the other layers.
3. We have some dialog windows that pop up for other functions and if you drag one of these windows over the cadviewer it repaints the 'missing' entities whereever the window travels over one, but whenever cadpicbox.invalidate is invoked to redraw the contents they always disappear again.
4. Bizarrely also, if you drag the drawing around the screen some of the invisible entities reappear at the extremities (four corners of the viewer).
The drawing appears fine at all levels of zoom in the later version's downloadable vb demo and also in dwg trueview.
NOTE: Apart from the disappearance of certain entities based on zoom level, the software is ready and has been shipped to a client, so I don't necessarily wish to recode in a later version of the software if it can be avoided.
Put simply, is there a different way I can refresh the screen or is there something like a different entity selection mode or buffering mode I can use, or is this a known bug in v6? Is it perhaps that I have simply done something wrong with the layers and entities I have been adding?
For me the biggest clues are:-
1. The problem manifests itself with entities and layers added by my code.
2. If you drag a window over the cad viewer the missing entities appear as if by magic, but any call to cadpictbox.invalidate makes them disappear every time.
Re: blocks becoming invisible and visible depending on zoom
Hello.
The CADImport .dll assembly version 6.0.2824 is outdated. Please download latest version of CAD Import .NET 6 package:
http://www.cadsofttools.com/download/cadimportnet6.zip
Alexander.
The CADImport .dll assembly version 6.0.2824 is outdated. Please download latest version of CAD Import .NET 6 package:
http://www.cadsofttools.com/download/cadimportnet6.zip
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 4
- Joined: 21 Oct 2009, 22:02
Re: blocks becoming invisible and visible depending on zoom
Thanks for that but,I have created a new version of my project and copied this dll in now I get over 102 errors (at which point it stops counting).
SelectExt is not a member
CurrentLayout is not a member
Type CADEntity is not defined.
etc,etc.
Looking at previous posts by other forum members, it would indicate you might have pointed me to a standard version where we previously had the professional (fully licenced of course).
Is this correct?
If so do you have the link for the download or do I need to contact you directly via email?
SelectExt is not a member
CurrentLayout is not a member
Type CADEntity is not defined.
etc,etc.
Looking at previous posts by other forum members, it would indicate you might have pointed me to a standard version where we previously had the professional (fully licenced of course).
Is this correct?
If so do you have the link for the download or do I need to contact you directly via email?
Re: blocks becoming invisible and visible depending on zoom
I gave you link to the common CAD Import .NET package. For compiling your project you need extended package. Please mail to support@cadsofttools.com for extended package receiving.
Alexander.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 4
- Joined: 21 Oct 2009, 22:02
Re: blocks becoming invisible and visible depending on zoom
Alexander,
I have emailed support now to ask for the correct dll thanks.
Note: a small part of the email text was highlighted in yellow, this was accidental.
Regards
Paul
I have emailed support now to ask for the correct dll thanks.
Note: a small part of the email text was highlighted in yellow, this was accidental.
Regards
Paul
Re: blocks becoming invisible and visible depending on zoom
Thank you for your request. Information about correct dll was forwarded to your mailbox.
Alexander.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 4
- Joined: 21 Oct 2009, 22:02
Re: blocks becoming invisible and visible depending on zoom
Thank you, its resolved the zoom bug, just giving it a full test run now.
Re: blocks becoming invisible and visible depending on zoom
CAD Import .NET current release is 7. It differs by enhanced functionality and some fixes. Please test it if you want:
http://www.cadsofttools.com/download/cadimportnet.zip
Alexander.
http://www.cadsofttools.com/download/cadimportnet.zip
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support