tryby left click you mean enter ??Code:""![]()
Registered forum members do not see this ad.
HI all
I have to name several view in a lisp routine but I just cant find whats a click to put in my lisp code![]()
.
The furthers I got is this:
(command "ucs" 3 basepoint1 Xaxis TopXaxis) ----to define my local axis for a steel angle
Then I want to name this ****...so I did
(command "+ucsman" 0 ???)
when I do this the ucs window pops out and under the ""Named UCSs"" tab the "unmaned" view is selected. Now all i have to do is left click on it so i can name it, but how can I do that in my lisp code???
I tried may stuff but I cant get it ....help please!!!!
Thank you



tryby left click you mean enter ??Code:""![]()
If at first you don't succeed, then maybe failure is more your style.
Thanks but I dont need an enter but a left click I need someting like
(command "+ucsman" 0 ??? "view#1" )
I tried lots of **** like:
(command "+ucsman" 0 !. "view#1" )
(command "+ucsman" 0 !. view#1 )
(command "+ucsman" 0 \ "view#1" )
(command "+ucsman" 0 / "view#1" )
(command "+ucsman" 0 ; "view#1" )
but damn...none of them work




How about putting this in your code instead of ucsman
Code:(setq ln (getstring "Enter name of UCS: ")) (command "_ucs" "s" ln )



Instead of ucsman why not try
Code:(command "ucs" "r" "view#1")
---your too quick lpseifert---
If at first you don't succeed, then maybe failure is more your style.
In dotted pairs:
LEFT CLICK=BUTTON 1= (3,0)
RIGHT CLICK=BUTTON 2= (6,2)
MIDDLE CLICK=BUTTON 3= (6,1)
These are obtained using the GRREAD function.
However in my Lisp programs I often call the middle button
# 2 for sake of clarifying the finger positions. (This is
assuming you have a 3-button mouse. A two button mouse still
has the same return codes as the 3 button but without
the (6,1) dotted pair return)
Thanks to MS for the two button mouse.
Registered forum members do not see this ad.
i never have more than more than one non wucs view, so i always call it A.
i use this quick routine to toggle b/w the two after i've created my alternate view if needed:
Code:;toggle between ucs world and ucs "A" ("A" must exist) ;alan thompson (defun c:UT() (if (equal (getvar 'worlducs) 1) (command "ucs" "r" "a") (command "ucs" "world") ) (princ))
autocad also has it's own pulldown ucs that can be useful.
Bookmarks