Modified line disappears when zoomed in

Discuss and ask questions about CAD .NET library.

Moderators: admin, support, SDS

Post Reply
Posts: 22
Joined: 06 Jul 2018, 10:52

Modified line disappears when zoomed in

Post by StefanChrist » 05 Dec 2018, 11:00

Hello Support,

I have some lines on a drawing that will be modified at runtime. The second Point (P2) will be changed. In order to update the drawing, we then call the following function passing the changed line:

Code: Select all

  Public Sub UpdateEntity(Entity As rthCadEntity)
    For Each block As rthCadBlock In Me.Blocks
      If block.ContainsEntity(Entity) Then
        For Each insert As rthCadInsert In Me.Inserts
          If insert.Block.CadBlock Is block.CadBlock Then
          End If
      End If
  End Sub
Note: We wrote some wrappers like rthCadEntity, rthCadBlock, rthCadInsert which contain the entities, blocks and inserts.

The lines are shown correctly, but whenever I start to zoom in, they suddenly disappear. When zooming out those reappear. Is there anything we can do to avoid this?

Thank you,

Posts: 2932
Joined: 30 Mar 2005, 11:36

Re: Modified line disappears when zoomed in

Post by support » 05 Dec 2018, 19:37

Hello Stefan,

Could you please make a simple test project which demonstrates this problem and attach it to your reply?

Technical Support E-mail:
Chat support on Skype:

Post Reply