The Buzzard Posted March 6, 2009 Posted March 6, 2009 Lee, Attached is a code to create door blocks. It is not currently done as of yet although there is some limited function to it. I just need to complete the output section. But on to the real problem. I have two lists, One for Door Width and the other for Door Thickeness. I have common lists for each of these, But I want to take only certain widths & thicknesses to be present in the popup list when one of the three radio buttons, Exterior, Interior, or Cabinet are selected. I placed the arguments and functions in as per your dcl code and modified them accordingly. I would appreciate any advice you can offer. Thanks Again, The Buzzard IDS.zip Quote
Lee Mac Posted March 6, 2009 Posted March 6, 2009 Buzzard, You will need to run the "popup_list updater" function during the "action_tile" of the radio buttons, if that makes any sense, so that it updates it on the spot. But also, you will need to run the "popup_list updater" function before all of the action tile statements to make sure that the correct list is in place when the program starts. Try this: *looked over it very quickly and mostly untested!* IDS.zip Quote
The Buzzard Posted March 6, 2009 Author Posted March 6, 2009 Thanks Lee, But after the selection nothing appears in the lists which was part of my problem. I do see the correct dimensions anyway. Quote
The Buzzard Posted March 6, 2009 Author Posted March 6, 2009 Nevermind Lee, Thanks you got it perfect!. I just had to remove the values from the DCL. Quote
Lee Mac Posted March 6, 2009 Posted March 6, 2009 Nevermind Lee, Thanks you got it perfect!. I just had to remove the values from the DCL. One more thing - check the list updater function in this - have added comment. IDS.zip Quote
The Buzzard Posted March 6, 2009 Author Posted March 6, 2009 I never would haved figured that one out. Anyway I can get going on the rest of the program now, (I Hope?) I plan to have the program also fill in block attributes based on the selection so that it can be used as an excel material schedule. It will also adjust the layers and colors the same way or the user can use his own layers with a user layer option. Finally I want to get the program to default to the last settings and loop of course. But when its all done, What a relief! I think I can get thru this? Thanks an awful lot. The Buzzard Quote
Lee Mac Posted March 6, 2009 Posted March 6, 2009 I never would haved figured that one out.Anyway I can get going on the rest of the program now, (I Hope?) I plan to have the program also fill in block attributes based on the selection so that it can be used as an excel material schedule. It will also adjust the layers and colors the same way or the user can use his own layers with a user layer option. Finally I want to get the program to default to the last settings and loop of course. But when its all done, What a relief! I think I can get thru this? Thanks an awful lot. The Buzzard I can see you've got a big workload ahead of you - I can predict many restless nights sitting in front of the computer til the early hours, tapping away at it. If you need any help, just let me know - after all the help you have given me on my program, I'm sure I can spare a few minutes for you. Cheers Lee Quote
The Buzzard Posted March 6, 2009 Author Posted March 6, 2009 To be honest with you Lee, I do coding for the so-called enjoyment of it or maybe I just like hitting myself in the head with a hammer. I am a disabled veteran, So I do not work any longer. I like to post codes that have a useful purpose for people who work with CAD to help them have an easier time at their jobs. So its only about personal satisfaction of accomplishing something worth while. You should know about this, Because you do it all the time. I think I am good for at least 50-100 functions from this point. Nice to know there is help here. Thanks as always, The Buzzard Quote
Lee Mac Posted March 6, 2009 Posted March 6, 2009 To be honest with you Lee, I do coding for the so-called enjoyment of it or maybe I just like hitting myself in the head with a hammer. I am a disabled veteran, So I do not work any longer. I like to post codes that have a useful purpose for people who work with CAD to help them have an easier time at their jobs. So its only about personal satisfaction of accomplishing something worth while. You should know about this, Because you do it all the time. I think I am good for at least 50-100 functions from this point. Nice to know there is help here. Thanks as always, The Buzzard I would echo your thoughts Buzzard, I also do not work currently, as I am at university in my first year studying a 4 year Maths degree. So, I also program "just for the fun of it". I personally also have no use whatsoever for my piping program, but I thought it would benefit others hugely and so, instead of it just sitting saved on my computer, I might as well post it so that others can benefit from it also. I considered selling it, (not that anyone would probably buy it), but then I thought - I've gained such a lot from making the code for it, and have only put time into it, so the knowledge that I have gained is my payment. Its that sense of accomplishment, when a program performs as intended - a problem solved. And the feeling is better the longer you have spent puzzling over the coding... I suppose you could compare it to the sense of accomplishment one gets from finishing a crossword - only 10x better... But not only is it the sense of accomplishment that drives me to keep writing the programs, - its the sense of pride you get when you post a code that will save some poor soul hours in his or her day. And the gratitude they express when all goes to plan is a bonus. I probably do spend far too much time on here, when I "should" be out drinking and partying, or whatever else a student is "supposed" to do... but I find it so addictive writing code and helping out, that I spend that time instead on here. Not that I don't go out sometimes, I like to socialise.. but there's a balance. Thanks for your thoughts, Cheers Lee Quote
The Buzzard Posted March 6, 2009 Author Posted March 6, 2009 And thats what you would call quality time! Enough said! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.