Hey all, working on some procedural material generations.
ive created a paramter node within mtlx using python:
dispoutlow= matsubnet.createNode("parameter", mysel.name() + "_dispoutlow")
dispoutlow.parm("parmname").set("dispoutlow")
dispoutlow.parm("parmlabel").set("dispoutlow")
dispoutlow.parm("floatdef").set(-0.5)
dispoutlow.parm("rangeflt1").set(-1)
dispoutlow.parm("rangeflt2").set(.5)
this is the range I see on the parameter when i look at the python result.
However, if i used a edit material properties lop to expose this parameter downstream or in a different project file,
the parameter is there with the right defined value, but the ranges are 0-10 instead. How do I get this range to flow through properly?
Thank you!
MTLX to Editmaterial Properties --Losing specified ranges
218 0 1- jtk700cln
- Member
- 59 posts
- Joined: Jan. 2016
- Offline
-
- Quick Links