Jump to content

Recommended Posts

Posted

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

Posted
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.

Posted
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.

Posted
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.

Posted
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.

Posted

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.

Posted

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. :roll:

Posted
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. :roll:

 

Many times :)

Posted
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. :roll:

 

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.)

Posted

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

Posted

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

Posted
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.

Posted
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.

Posted
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!

Posted

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

Posted
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

Posted

Maybe I should say ducting & piping.

 

So many good works here.

 

Thanks

Posted
So many good works here.

 

Lee Mac saving the world one lisp at a time!

SuperMac.JPG

  • Like 1
Posted
Haha Buzzard, you have too much time on your hands o:)

 

 

 

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!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...