Jump to content

Recommended Posts

Posted

Can someone take a look at this please? It seems to get stuck in a loop or else it dumps me out. But when it dumps me out it does so because it can't find ltype "CCC_WM_300" when it should be "CCC_WM_300A" that it is looking for.

 

Thanks.

EXWMAIA.dcl

EXWMAIA.lsp

CCC_Watermain_EXA.txt

Posted

Argh - I do hate spaghetti code... not what OO programming was made for..

Posted
Argh - I do hate spaghetti code... not what OO programming was made for..

 

 

???? Que????

Posted

Code that jumps around all over the place - similar to using a GoTo expression... not easy to follow, not good.

Posted

Would anyone be able to have a look?

 

Thanks

Posted
Would anyone be able to have a look?

 

Thanks

 

Woodman78,

 

You forgot to put in a popup list tile in your dcl for the Hole Type.

I put one in for you, But you will have to place it in the dcl where you want it.

 

Also I had to fix AGAIN your save user variables function. You are declaring variables that are not in the program. The list provided places the settings in one variable called SUS.

 

Attached are the fixed files. Try them out.

 

Below is the image of the DCL after I put the Hole Type popup list tile.

Fix it to your likings. The DCL you posted did not have that tile, Yet you

were using mapcar to fill the tile from your list, However the tile was not

in the dcl file. This is why the program was locking up.

 

You are on your own after this. You have been messing with the same code

since July of last year only giving the program new names and chopping up

functions. If you desire to learn, Then it pays to write this stuff from scratch

till it burns in to your mind. You must study what each line means in order to avoid

problems like this. I will not keep bailing you out every time you botch up like this.

EXWMAIA.lsp

EXWMAIA.dcl

Document4.JPG

Posted

OK Buzzard that is fair enough.

 

Thanks anyway.

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