Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

search for menu ussing tblsearch function

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Anonymous
311 Views, 3 Replies

search for menu ussing tblsearch function

Hi,

 

I was intrested to know if I can use tblsearch in my lisp to determine if a cuix menu is loaded or not but the following code seams to not be working

 

(defun C:yakyakyak ()
(if (tblsearch "MENU" "BLA")
			(if (minusp (cdr (assoc 62 (tblsearch "MENU" "BLA"))) )
(alert "exists")(alert "missing")
			)
			)

 ?

 

3 REPLIES 3
Message 2 of 4
_Tharwat
in reply to: Anonymous

Try the function menugroup as following .

 

(menugroup "BLA")

Message 3 of 4
Anonymous
in reply to: _Tharwat

yeah I saw this option before but silly me coul;dnt get it to work because the *.cuix name is not the menugroups name,

 

got it sorted now though thanks 🙂

 

Message 4 of 4
_Tharwat
in reply to: Anonymous

Happy to help and you 're welcome anytime . Smiley Happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost