Author Topic: how to draw a parmanent vector ?  (Read 1826 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?

MickD

  • King Gator
  • Posts: 3619
  • (x-in)->[process]->(y-out) ... simples!
Re: how to draw a parmanent vector ?
« Reply #1 on: March 04, 2020, 10:38:28 PM »
"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.

gile

  • Gator
  • Posts: 2507
  • Marseille, France
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 ?
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 »

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.