MaxScript : Hide DialogBar in Expert Mode

MaxScript : Hide DialogBar in Expert Mode

blakestone
Collaborator Collaborator
672 Views
0 Replies
Message 1 of 1

MaxScript : Hide DialogBar in Expert Mode

blakestone
Collaborator
Collaborator

Hello, I am creating a DialogBar in 3ds Max 2015 and wanting to know how to hide this when going into Expert Mode. I have attached a screenshot and a copy of the code.


Thanks,

 

(
	global gui_floater

	try (cui.unregisterDialogBar gui_floater) catch()
	try (closeRolloutFloater gui_floater) catch ()
	
	rollout gui_rollout "example"
	(
	)	
	
	gui_floater = newRolloutFloater "" 200 400
	addRollout gui_rollout gui_floater rolledUp:false border:true
	
	cui.RegisterDialogBar gui_floater style:#(#style_titlebar, #cui_floatable, #cui_dock_left, #cui_dock_right, #cui_handles) escapeEnable:false
	cui.dockDialogBar gui_floater #cui_dock_left
)
--------------------------------------------------------------------------------------
Technical 3D Graphic Artist
Autodesk 3dsMax 2015 - Service Pack 4
--------------------------------------------------------------------------------------
0 Likes
673 Views
0 Replies
Replies (0)