Page 1 of 1

Modified line disappears when zoomed in

Posted: 05 Dec 2018, 11:00
by StefanChrist
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)
    mDrawing.Converter.Loads(Entity.mEntity)
    For Each block As rthCadBlock In Me.Blocks
      If block.ContainsEntity(Entity) Then
        mDrawing.Converter.Loads(block.CadBlock)
        For Each insert As rthCadInsert In Me.Inserts
          If insert.Block.CadBlock Is block.CadBlock Then
            mDrawing.Converter.Loads(insert.cadInsert)
          End If
        Next
      End If
    Next
  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,
Stefan

Re: Modified line disappears when zoomed in

Posted: 05 Dec 2018, 19:37
by support
Hello Stefan,

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

Mikhail