Home Technical Talk

Maxscript question

polycounter lvl 14
Offline / Send Message
Cathodeus polycounter lvl 14
Hi i would like to add a setting value of "0.01" to this code [it's the macro for weld setting function ] :

case modKey() of
(
#ctrl_shift_alt: actionMan.executeAction 369982487 "40057"

)

But i don't know how to do that ... i just start with maxscript.

Thanks in advance.
Massimo

Replies

  • monster
    Options
    Offline / Send Message
    monster polycounter
    You just set the weld threshold property before opening the window.
    case modKey() of
    (
    	#ctrl_shift_alt: ($.weldThreshold = 0.1; $.PopupDialog #WeldSelected)
    )
    
  • Cathodeus
    Options
    Offline / Send Message
    Cathodeus polycounter lvl 14
    Thanks Monster awesome ! I was pretty sure to get the answer by you. Thanks again.

    Can you tell me how do you found this solution ? a link to the help page maybe ? i don't really know what to search inside the help in order to do what i want ... starting maxscript is not super easy.
Sign In or Register to comment.