vanacharlasekhar Posted February 20, 2010 Posted February 20, 2010 hai i am Chandra Your programme for Ducting Rmd2 Revision-2 Updation of Radious By user is very very well.. it is very use full to many peple, but still little modification to do.. i have one programme Duct.lsp check it . it is really good first it will ask (radious) press Enter Ratio of Elbow of the duct r/w value If you give the radious of Elbow Is = Duct width Now i dont want this Ratio value-i need User Define Radius for the Below Duct.lsp Programme.... Can You Check... This Programme Is Really Good If Anybody do the Modification for User Defined Radious. Duct we will Draw Smoothly Any Direction. Elbows will come Automatically. Thx... For Reply....Keep it up DUCT.LSP Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 hai i am Chandra Your programme for Ducting Rmd2 Revision-2 Updation of Radious By user is very very well.. it is very use full to many peple, but still little modification to do.. i have one programme Duct.lsp check it . it is really good first it will ask (radious) press Enter Ratio of Elbow of the duct r/w value If you give the radious of Elbow Is = Duct width Now i dont want this Ratio value-i need User Define Radius for the Below Duct.lsp Programme.... Can You Check... This Programme Is Really Good If Anybody do the Modification for User Defined Radious. Duct we will Draw Smoothly Any Direction. Elbows will come Automatically. Thx... For Reply....Keep it up I appreciate that you like the program, As far as this request is concerned I like the way I made it. If you are looking to show your program please start your own thread. Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 Hi, I tried to run this but get messages saying error in dcl file. like in "line 115 newline in string constant" line 115 looks like this: label = "90?; I thought it maybe should looks like this label = "90"; When I try to delete the ? a " come out. Now it looks like what I thought and it works now. Great! Thanks Cean There is nothing wrong with the DCL. I you are having problems with the loading please refer to the link I mention in the first post. There is no label = 90?; in the dcl file that was posted. Quote
Lee Mac Posted February 20, 2010 Posted February 20, 2010 There is nothing wrong with the DCL. I you are having problems with the loading please refer to the link I mention in the first post.There is no label = 90?; in the dcl file that was posted. The DCL does contain: label = "90°"; Which could be interpreted as 90? if the degree sign is not recognised on the system. Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 The DCL does contain: label = "90°"; Which could be interpreted as 90? if the degree sign is not recognised on the system. Lee, If that were the case. I am using the degree character 8 times. The OP mentions only one random instance of a question mark, So I am not buying it. Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 Tell you what, For the benifit of the doubt I will repost another revision to the DCL such as this label = "90\°"; Treating it as a special character. I suppose this should fix that problem if it is in fact a problem. Quote
TimSpangler Posted February 20, 2010 Posted February 20, 2010 If you are need to make a name for yourself, Please write your own programs and post. Wait until someone post one of "there" programs that they are having problems with. Then when you try to lend them some help, you find that the program that they are passing as there own is one of yours....... Been there done that, quite funny. Quote
Lee Mac Posted February 20, 2010 Posted February 20, 2010 Wait until someone post one of "there" programs that they are having problems with. Then when you try to lend them some help, you find that the program that they are passing as there own is one of yours....... Been there done that, quite funny. Many times Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 Wait until someone post one of "there" programs that they are having problems with. Then when you try to lend them some help, you find that the program that they are passing as there own is one of yours....... Been there done that, quite funny. This is only a hobby to me as I keep trying to tell myself and at the same time help people or put some ideas into their heads as to what can be done with lisp. Everyone is free to edit these programs to their likings. (And BTW that has already happened to me on this forum.) Quote
The Buzzard Posted February 20, 2010 Author Posted February 20, 2010 Attention All, On the previous post with regard to a special character problem that has been mentioned, I am still not sure if there is really a problem. In any event I have modified both dcl codes with the hope that this should fix the issue if there is any. The new codes have been posted. Please take note that the images shown in the Imperial post are still from version 4 and the Metric post are still from version 2. Codes posted: RMD_V5 Imperial post 1 RMD2_V3 Metric post 52 Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 My apologies to all who requested a default font style to be used with this program. I kind of got side tracked, But now its completed. This program will now use the current default font style. Post 1 - Imperial Version 6 Post 52 - Metric Version 4 As always enjoy The Buzzard Quote
shirazbj Posted February 21, 2010 Posted February 21, 2010 Lee, If that were the case. I am using the degree character 8 times. The OP mentions only one random instance of a question mark, So I am not buying it. It IS 8 times at lines: 115 119 123 127 168 172 176 180 I changed all of them. I am using a two bytes system, so the charset is different from your single byte system. I have tried the new one. This time the window poped up at once with no error message. No need to do any change. Well done. Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 It IS 8 times at lines: 115 119 123 127 168 172 176 180 I changed all of them. I am using a two bytes system, so the charset is different from your single byte system. I have tried the new one. This time the window poped up at once with no error message. No need to do any change. Well done. Ok shirazbj, Just to mention then, You may have missed one. You should also have an error on line 22 if this is the case. There are nine instances of this character. MAIN : dialog { label = "Rectangular Mechanical Duct V6.0 - Imperial, Copyright © 2010 - Main Menu"; : row { : column { : boxed_radio_column { label = "Duct Components"; : radio_button { label = "Duct (Horizontal)"; key = "HDUCT"; } : radio_button { label = "Duct (Vertical)"; key = "VDUCT"; } : radio_button { label = "Elbow (Radius)"; key = "RADIUS"; } : radio_button { [color=red]label = "Elbow (Mitered 90°)";[/color] key = "MITERED"; } I suppose the \ used on the latest DCL code did not work either. If you can deal with it this then go ahead and modify it. At this stage I am not quite sure how to fix this. Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 I have tried the new one. This time the window poped up at once with no error message. No need to do any change. Sorry shirazbj, Just caught on that the fix worked. Good Deal! Quote
shirazbj Posted February 21, 2010 Posted February 21, 2010 yeah. This one shows on the windows still like 90? But AutoCAD didn't report it as an error and all drawing function well. I thought the key value for this is a string, not that important to a drawing command. The other eight are numbers which the command will not run if they are wrong. For the old way, take line 115 as an example, it also report line 116 "missing semicolon". I am interested in HVAC, happy to see what lisp can do for piping. Thanks Cean Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 yeah. This one shows on the windows still like 90? But AutoCAD didn't report it as an error and all drawing function well. I thought the key value for this is a string, not that important to a drawing command. The other eight are numbers which the command will not run if they are wrong. For the old way, take line 115 as an example, it also report line 116 "missing semicolon". I am interested in HVAC, happy to see what lisp can do for piping. Thanks Cean Then you can try Lee Mac's piping program in the Archive here. http://www.cadtutor.net/forum/showthread.php?t=33919 Quote
shirazbj Posted February 21, 2010 Posted February 21, 2010 Maybe I should say ducting & piping. So many good works here. Thanks Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 So many good works here. Lee Mac saving the world one lisp at a time! 1 Quote
Lee Mac Posted February 21, 2010 Posted February 21, 2010 Haha Buzzard, you have too much time on your hands 1 Quote
The Buzzard Posted February 21, 2010 Author Posted February 21, 2010 Haha Buzzard, you have too much time on your hands Truer words were never spoken. And here are some more true words. Lee Mac, He's our man! If Lee can't do it! Nobody can! Yeah! 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.