Notifications
Clear all

[Closed] Removing DirectX and MentalRay Rollouts?

Hello,

I’m extending the Standard material through a MaxScript with additional parameters.
Even though I replace the plugin’s UI with new rollouts and gadgets, the “DirectX Manager” and “mental ray Connection” rollouts are still there.

Is there a way to remove them from my extended material?

Thank you.

3 Replies
 lo1
dxshadermanager.SetVisible false

and

mental_ray_Preferences.mrExtensionsActive = false

the latter has given me an error one time on a certain machine, never found out why.

Looks slick, thanks.

EDIT: Actually I’m having a bit of trouble. Where should I place those calls inside the script?

 lo1

I’d say at the very top, outside of the plugin definition.