Jump to content

Recommended Posts

Posted
The instruction found in the DH04 DCL tell you to hit the right mouse button to bring the dialog box back up, change settings or exit from there.

 

Can that command line be added to the posted code of mine please feel free to add it so it does work and please do not foget to add your name as a contributor in it also i appreciate it, ypur name must be shown in any dialog box keep me posted

  • Replies 26
  • Created
  • Last Reply

Top Posters In This Topic

  • ROBP

    15

  • ymg3

    7

  • Lt Dan's legs

    4

  • rkent

    1

Popular Days

Top Posters In This Topic

Posted

Robert,

 

Study that section of code from dhv0.4.lsp

 

(if BUTTON
   (progn
     (DH_CUS)
     (while
       (if (/= (setq INPT (getpoint "\nSpecify head insertion point: ")) nil)
         (progn
           (setq IANG (getpoint INPT "\nDrag cursor to select head orientation angle.")
                 INPT (trans INPT 1 0)
                 IANG (trans IANG 1 0))
           (DH_CUS)
           (DH_SSP))))
     (DH_MF)))

 

Also see the assignment of variable button with the done_dialog command.

 

Above either pressing "enter" or "right-click" sends you back to the DCL.

 

ymg

Posted
Robert,

 

Study that section of code from dhv0.4.lsp

 

(if BUTTON
   (progn
     (DH_CUS)
     (while
       (if (/= (setq INPT (getpoint "\nSpecify head insertion point: ")) nil)
         (progn
           (setq IANG (getpoint INPT "\nDrag cursor to select head orientation angle.")
                 INPT (trans INPT 1 0)
                 IANG (trans IANG 1 0))
           (DH_CUS)
           (DH_SSP))))
     (DH_MF)))

 

Also see the assignment of variable button with the done_dialog command.

 

Above either pressing "enter" or "right-click" sends you back to the DCL.

 

ymg

 

Can those command lines be added to the posted code of mine please feel free to add it so it does work and please do not foget to add your name as a contributor in it also i appreciate it, your name must be shown in any dialog boxes etheir in DCL or in acknowlegement dialog embeded in the lisp keep me posted

Posted

Robert,

 

In order to test we would need the dcl file.

 

What is the command to start your program ??

 

All you need to do is to put your proggie in a while loop

 

In your program would be:

(while  (= ddiag 2)
  (cond
     .....
     .....
  );end of cond
  (cuv); here you restart
);end of while

 

After each different routine in the cond

you need to retart the dialog.

 

Remove the (if (= ddiag 1)

 

You will exit for any value other than 2

 

ymg

Posted
Robert,

 

In order to test we would need the dcl file.

 

What is the command to start your program ??

 

All you need to do is to put your proggie in a while loop

 

In your program would be:

(while  (= ddiag 2)
  (cond
     .....
     .....
  );end of cond
  (cuv); here you restart
);end of while

 

After each different routine in the cond

you need to retart the dialog.

 

Remove the (if (= ddiag 1)

 

You will exit for any value other than 2

 

ymg

 

DCL can be sent along with slides files

command is dev

i can send an e-mail if you want to test it and make the necessary corrections to it and take part of the project as long as you add your name in a dialog box for acknowledgment like the one in DH_V0.4

Posted
Robert,

 

For address check your private mail

 

ymg

 

ok files sent

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