Author Topic: Anyone have example for changing z elevation of polyline?  (Read 10718 times)

0 Members and 1 Guest are viewing this topic.

bchapman

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #15 on: February 12, 2013, 03:42:20 PM »
lol... thanks! I'll have to keep improving but don't have too much heart burn over it... I'm happy I just get the thing workin' as it is lol

WTF is this ??

looks like you have a displaced code block.

... and ( haven't analysed, so assume you use a break to escape this ) while true would be a more usual conditional.

Code: [Select]
            double BCCADJVALUE = BCCADJUSTMENT.Value;
                                                                                               
            {

                while (0 == 0)
                    try
                    {



BlackBox

  • King Gator
  • Posts: 3770
Re: Anyone have example for changing z elevation of polyline?
« Reply #16 on: February 12, 2013, 03:47:17 PM »
thanks Kerry!... not sure who I jumped on but I didn't mean to... I appreciate the advice :)

The object browser helped a ton, but nothing I went through on Autodesk site even mentioned it.  Major fail :/ 


Look at the title bar at the top of your IDE.

Does it say "Autodesk Visual Studio", or does it say Microsoft Visual Studio ?

http://msdn.microsoft.com/en-us/beginner/default.aspx

In an effort to build on Tony's excellent point (if I may)... I think you're (BC) overlooking development concepts generally with what I presume to be unintentional 'Autodesk blinders' on. This is unfortunately very common when stepping up from LISP to .NET API.

Given Object Oriented development as a whole, despite growing with each release, the Autodesk .NET API is a very tiny, perhaps minuscule, arena of the former.

If your goal is to become a capable AutoCAD .NET developer, then it is an essential, yet implied task, that you (first?) become a capable .NET developer (i.e., Console, Windows Forms, WPF Browser Applications, etc. to list a few), as while not explicitly stated in all beginner AutoCAD .NET materials, it can easily be considered to be a prerequisite... Particularly as you spill over into more complex tasks, and frameworks.

There are many free resources out there (some of which are available directly from Visual Studio's Start Page), but if you'd like to find a book to read, and re-read again, I found Andrew Troelsen's Pro C# 2010 and the .NET 4 Platform to be useful... All +1700 pages of it.



Andrew's Pro C# 5.0 and the .NET 4.5 Platform is also available for those who may be interested... Perhaps for the 2014 product line? *not sure*

... [NDA Censorship]
"How we think determines what we do, and what we do determines what we get."

TheMaster

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #17 on: February 12, 2013, 04:10:51 PM »
Thanks TT... man you guys are ruthless... no mercy I suppose.... seems a culture of condemnation in the programmers world...

Well, there may be a few here with something to prove, that might serve as motivation for giving you free training and tutoring on something that you barely understand, but unfortunately, I'm not one of them.

The reason that you're wearing out your welcome so quickly, and the reason you characterize some here as being part of a 'culture of condemnation', is because you are here trying to get spoon-fed, what most of us had to get through a lot of hard work, self-learning, paid-for-learning, and more generally, making the personal effort to learn to walk before trying to run, and did that without burdening others in an online discussion group with what amounts to free training.


« Last Edit: February 12, 2013, 04:17:43 PM by TT »

dgorsman

  • Water Moccasin
  • Posts: 2437
Re: Anyone have example for changing z elevation of polyline?
« Reply #18 on: February 12, 2013, 06:53:25 PM »
Thanks TT... man you guys are ruthless... no mercy I suppose.... seems a culture of condemnation in the programmers world...

This is the friendly end of the pool.  In the more... "dedicated" ... recesses of the online programming community you would be *vigorously* ripped a new one for not doing the initial leg work.  Part of it stems from the experience of inheriting somebody elses code which came from similar starting points and now doesn't work, requring serious analysis and/or a full re-write while execs are breathing down your neck.

If you aren't familiar with it, look up "RTFM".
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}

BlackBox

  • King Gator
  • Posts: 3770
Re: Anyone have example for changing z elevation of polyline?
« Reply #19 on: February 12, 2013, 07:12:58 PM »
... For the 'visual learners':

If you aren't familiar with it, look up "RTFM".

"How we think determines what we do, and what we do determines what we get."

bchapman

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #20 on: February 12, 2013, 07:57:55 PM »
Understood...learned all on your own... no help... I'll leave ya be. Feel free not to "spoon feed" as you see fit.

Thanks TT... man you guys are ruthless... no mercy I suppose.... seems a culture of condemnation in the programmers world...

Well, there may be a few here with something to prove, that might serve as motivation for giving you free training and tutoring on something that you barely understand, but unfortunately, I'm not one of them.

The reason that you're wearing out your welcome so quickly, and the reason you characterize some here as being part of a 'culture of condemnation', is because you are here trying to get spoon-fed, what most of us had to get through a lot of hard work, self-learning, paid-for-learning, and more generally, making the personal effort to learn to walk before trying to run, and did that without burdening others in an online discussion group with what amounts to free training.

bchapman

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #21 on: February 12, 2013, 08:00:37 PM »
Thanks Renderman

... For the 'visual learners':

If you aren't familiar with it, look up "RTFM".



bchapman

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #22 on: February 12, 2013, 08:01:24 PM »
lol... feel bad for you guys

Thanks TT... man you guys are ruthless... no mercy I suppose.... seems a culture of condemnation in the programmers world...

This is the friendly end of the pool.  In the more... "dedicated" ... recesses of the online programming community you would be *vigorously* ripped a new one for not doing the initial leg work.  Part of it stems from the experience of inheriting somebody elses code which came from similar starting points and now doesn't work, requring serious analysis and/or a full re-write while execs are breathing down your neck.

If you aren't familiar with it, look up "RTFM".

bchapman

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #23 on: February 12, 2013, 08:02:32 PM »
Thanks Renderman... as always... full of helpful info... I've downloaded tons of material. Should help
thanks Kerry!... not sure who I jumped on but I didn't mean to... I appreciate the advice :)

The object browser helped a ton, but nothing I went through on Autodesk site even mentioned it.  Major fail :/ 


Look at the title bar at the top of your IDE.

Does it say "Autodesk Visual Studio", or does it say Microsoft Visual Studio ?

http://msdn.microsoft.com/en-us/beginner/default.aspx

In an effort to build on Tony's excellent point (if I may)... I think you're (BC) overlooking development concepts generally with what I presume to be unintentional 'Autodesk blinders' on. This is unfortunately very common when stepping up from LISP to .NET API.

Given Object Oriented development as a whole, despite growing with each release, the Autodesk .NET API is a very tiny, perhaps minuscule, arena of the former.

If your goal is to become a capable AutoCAD .NET developer, then it is an essential, yet implied task, that you (first?) become a capable .NET developer (i.e., Console, Windows Forms, WPF Browser Applications, etc. to list a few), as while not explicitly stated in all beginner AutoCAD .NET materials, it can easily be considered to be a prerequisite... Particularly as you spill over into more complex tasks, and frameworks.

There are many free resources out there (some of which are available directly from Visual Studio's Start Page), but if you'd like to find a book to read, and re-read again, I found Andrew Troelsen's Pro C# 2010 and the .NET 4 Platform to be useful... All +1700 pages of it.



Andrew's Pro C# 5.0 and the .NET 4.5 Platform is also available for those who may be interested... Perhaps for the 2014 product line? *not sure*

... [NDA Censorship]

BlackBox

  • King Gator
  • Posts: 3770
Re: Anyone have example for changing z elevation of polyline?
« Reply #24 on: February 12, 2013, 08:20:11 PM »
BC, I think you're taking this as some sort of personal attack, when in fact it is not... Especially among the programming kind, members tend to speak very matter-of-fact.

I just started the ascension from LISP to .NET myself recently... I may have an aptitude for development, but I could not have come as far as I have in (what I consider to be) such a short time-frame _without_ the help of others on this, and other forums alike (this one's the best though - giggity). That is why I strive to give back, where I feel it may be of use to others.

You're just starting to climb the proverbial mountain... Immerse yourself in the .NET documentation, tutorials, read related threads to help you troubleshoot, etc.. and for the love of all that is good, code, code, and code some more.

Methinks, it's the only way _you're_ going to learn (not just you, but anyone in this situation)... When you get stuck (and you will), post a clear, descriptive post, and don't forget to include some code (pseudo code is fine).

While I cannot speak for others, if my limited experience is any indicator, I'd bet a hot dollar that any one of the members you think is blasting you now (provided you follow the aforementioned suggestions), would gladly help to point you in the right direction. Just my $0.02.
« Last Edit: February 12, 2013, 08:38:25 PM by RenderMan »
"How we think determines what we do, and what we do determines what we get."

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Anyone have example for changing z elevation of polyline?
« Reply #25 on: February 12, 2013, 11:00:12 PM »

aw, gee, I hate it when that happens!.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

TheMaster

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #26 on: February 13, 2013, 02:59:08 PM »
BC, I think you're taking this as some sort of personal attack, when in fact it is not... Especially among the programming kind, members tend to speak very matter-of-fact.

I just started the ascension from LISP to .NET myself recently... I may have an aptitude for development, but I could not have come as far as I have in (what I consider to be) such a short time-frame _without_ the help of others on this, and other forums alike (this one's the best though - giggity). That is why I strive to give back, where I feel it may be of use to others.

You're just starting to climb the proverbial mountain... Immerse yourself in the .NET documentation, tutorials, read related threads to help you troubleshoot, etc.. and for the love of all that is good, code, code, and code some more.

Methinks, it's the only way _you're_ going to learn (not just you, but anyone in this situation)... When you get stuck (and you will), post a clear, descriptive post, and don't forget to include some code (pseudo code is fine).

While I cannot speak for others, if my limited experience is any indicator, I'd bet a hot dollar that any one of the members you think is blasting you now (provided you follow the aforementioned suggestions), would gladly help to point you in the right direction. Just my $0.02.

The reason I have a bad reaction to people who are complete noobs, and are expecting to be able to do what requires a good years worth of learning and practice, is because we generally communicate with others with an assumption that the other person can understand what is being written, the terms we use in what we write, etc., and that terms that most of us may take for granted as being understood, are not understood by a total noob.

So, to explain things to the noob, you have recursively explain things in your explaination, distilled down to terms they can understand, which means you have to write a #$%^ book for them, and in some cases, they seem to be expecting nothing less than that.


Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Anyone have example for changing z elevation of polyline?
« Reply #27 on: February 13, 2013, 03:09:14 PM »
< .. >
I can't argue with that ...

 and the subject IS a huge one to learn, and even re-learn when you've been away for a while. 
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

BlackBox

  • King Gator
  • Posts: 3770
Re: Anyone have example for changing z elevation of polyline?
« Reply #28 on: February 13, 2013, 04:44:59 PM »
The reason I have a bad reaction to people who are complete noobs, and are expecting to be able to do what requires a good years worth of learning and practice, is because we generally communicate with others with an assumption that the other person can understand what is being written, the terms we use in what we write, etc., and that terms that most of us may take for granted as being understood, are not understood by a total noob.

So, to explain things to the noob, you have recursively explain things in your explaination, distilled down to terms they can understand, which means you have to write a #$%^ book for them, and in some cases, they seem to be expecting nothing less than that.

I am unsure if you felt that my response was in any way directed at you, Tony... Regardless, I don't believe a reasonable person would take issue with the sentiment you conveyed here.

This is a public forum, made up of volunteer members who kindly donate their time, effort, knowledge, and often wisdom... Something that is to be respected from the outset, each time one chooses to become the question-asker.


"How we think determines what we do, and what we do determines what we get."

TheMaster

  • Guest
Re: Anyone have example for changing z elevation of polyline?
« Reply #29 on: February 13, 2013, 07:51:10 PM »
The reason I have a bad reaction to people who are complete noobs, and are expecting to be able to do what requires a good years worth of learning and practice, is because we generally communicate with others with an assumption that the other person can understand what is being written, the terms we use in what we write, etc., and that terms that most of us may take for granted as being understood, are not understood by a total noob.

So, to explain things to the noob, you have recursively explain things in your explaination, distilled down to terms they can understand, which means you have to write a #$%^ book for them, and in some cases, they seem to be expecting nothing less than that.

I am unsure if you felt that my response was in any way directed at you, Tony... Regardless, I don't believe a reasonable person would take issue with the sentiment you conveyed here.

This is a public forum, made up of volunteer members who kindly donate their time, effort, knowledge, and often wisdom... Something that is to be respected from the outset, each time one chooses to become the question-asker.

RenderMan, no, I just replied to the last post, nothing about it that I took issue with.

I just wanted to clarify my position.