TheSwamp
Code Red => .NET => Topic started by: guohq on March 04, 2020, 10:15:34 PM
-
I can draw a vector by editor.DrawVector ,but the vector will be cleared when the view is update. how can I draw a parmanent vector?
-
maybe this -> https://www.theswamp.org/index.php?topic=25653.0
or draw a line?
:)
-
Editor.DrawVector has the same effect as Editor.DrawVectors. Editor.DrawVector can only darw one vector at a time. Editor.DrawVectors can draw multiple vectors at once.
-
Hi,
As far as I know, this is the way AutoCAD 'vectors' behave. What about using Line entities instead ?
-
You need to use transient graphics: https://adndevblog.typepad.com/autocad/2012/04/using-transient-graphics.html
-
Using TransientManager.AddTransient method is much better than Editor.DrawVector.It would be great if it doesn't disappear when using Regen.