Author Topic: Draw polyline like autocad...  (Read 19626 times)

0 Members and 1 Guest are viewing this topic.

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Draw polyline like autocad...
« Reply #15 on: June 24, 2009, 10:47:09 AM »
Util is the namespace I keep functions in and mymath is a class within that.
take the util.mymath out and you should be ok.
Danijel, I didn't want to spend 20 mins compiling this in a brand new project. That's the problem with functions, great to use but hard to find and post

dann.boy.001

  • Guest
Re: Draw polyline like autocad...
« Reply #16 on: June 24, 2009, 04:00:38 PM »
O.K.

Thank you very much on your code. It is exactly what I am looking... :-)

I had problem with transaction in my code, to add vertex to polyline...now
I can solve my problem using your code...

Best regards,
Danijel Ivankovic

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Draw polyline like autocad...
« Reply #17 on: June 24, 2009, 08:36:31 PM »
Glad to help, Danijel.
The thing that's tough with jigs is trying to debug them. They refuse.

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2124
  • class keyThumper<T>:ILazy<T>
Re: Draw polyline like autocad...
« Reply #18 on: June 24, 2009, 10:09:04 PM »
Bryco ,

well done.

I'll bookmark this to look at later :)

// kdub
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

dann.boy.001

  • Guest
Re: Draw polyline like autocad...
« Reply #19 on: June 25, 2009, 10:49:37 AM »
Bryco,

I am very thankful. Last night I solve my problem using you idea  :mrgreen:.

I will share my code on this forum, next week.

My comments are on croatian, but I think that code my be useful for
someone how is beginer in .net for autocad.

Best regards
Danijel Ivankovic


Bryco

  • Water Moccasin
  • Posts: 1882
Re: Draw polyline like autocad...
« Reply #20 on: June 25, 2009, 02:25:04 PM »
Thanks guys, the checkpoint function looks insane, but I put that in as sometimes in an iso-view the chosen pt isnt on the ucs plane. We all know this is impossible so??? It's there if you need it.