Modified line disappears when zoomed in
Posted: 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:
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
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
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