Notifications
Clear all

[Closed] Pymxs version of $.material

Hi,

I’m trying to convert a MaxScript code from this post to Python.

However, I’m not sure how to interpret “$.material” in Python.

Is there a way around this?

Thank you for looking at my problem.

2 Replies
from pymxs import runtime as mxRt

material = mxRt.Selection[0].Material
print(material)

Thanks @munkybutt .

Works as expected.