• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

verify existence with ilogic

  • Thread starter Thread starter rf.infissi@libero.it
  • Start date Start date

rf.infissi@libero.it

Guest
I have a question for some experienced developer ilogic.

how can I check with a if if a parameter exists in the list of parameters of a project.

to understand us in a check rule if a parameter has been set and the value I take it from them otherwise I request it with an inputbox and check the value.
 
I solved the problem with these lines of code:


parameter.quiet = true 'nose error messages if there is no parameter

if not (( parameter.param) is nothing) then

messagebox.show("the luca parameter exists", "title")



messagebox.show("luca non exist", "title")

end if
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top