Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
how to draw a parmanent vector ?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: how to draw a parmanent vector ? (Read 1828 times)
0 Members and 1 Guest are viewing this topic.
guohq
Newt
Posts: 84
how to draw a parmanent vector ?
«
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?
Logged
MickD
King Gator
Posts: 3619
(x-in)->[process]->(y-out) ... simples!
WWW
Re: how to draw a parmanent vector ?
«
Reply #1 on:
March 04, 2020, 10:38:28 PM »
maybe this ->
https://www.theswamp.org/index.php?topic=25653.0
or draw a line?
Logged
"Short cuts make long delays,' argued Pippin.”
J.R.R. Tolkien
guohq
Newt
Posts: 84
Re: how to draw a parmanent vector ?
«
Reply #2 on:
March 05, 2020, 12:47:08 AM »
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.
Logged
gile
Gator
Posts: 2507
Marseille, France
WWW
Re: how to draw a parmanent vector ?
«
Reply #3 on:
March 05, 2020, 02:02:36 AM »
Hi,
As far as I know, this is the way AutoCAD 'vectors' behave. What about using Line entities instead ?
Logged
Speaking English as a French Frog
Maxence
Mosquito
Posts: 3
Re: how to draw a parmanent vector ?
«
Reply #4 on:
March 05, 2020, 04:38:46 AM »
You need to use transient graphics:
https://adndevblog.typepad.com/autocad/2012/04/using-transient-graphics.html
Logged
guohq
Newt
Posts: 84
Re: how to draw a parmanent vector ?
«
Reply #5 on:
March 05, 2020, 06:40:26 AM »
Using TransientManager.AddTransient method is much better than Editor.DrawVector.It would be great if it doesn't disappear when using Regen.
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
how to draw a parmanent vector ?