Hi there,
I´m really new (inexperienced) to scripting.
I followed an example in the maxscript documentation
to extend a Standard material with a new rollout,
that controls some basic parameters of the actual material.
With a standard material it works fine.
But when I replace the standard material with a VrayMtl, I get an error.
-----
plugin material s_test
name: "s mat test"
classID:#(0x2dbc484f, 0xc76a672)
extends:VRayMtl
replaceUI:false
------
This is how I expected it to work, but I get the following error.
-- Error occurred in anonymous codeblock; filename: ; position: 7
-- Runtime error: Plugin redefinition: cannot change extends class. VRayMtl
Is it possible at all to do it that way ?
What am I doing wrong ?
Thank You,
sam
I´m really new (inexperienced) to scripting.
I followed an example in the maxscript documentation
to extend a Standard material with a new rollout,
that controls some basic parameters of the actual material.
With a standard material it works fine.
But when I replace the standard material with a VrayMtl, I get an error.
-----
plugin material s_test
name: "s mat test"
classID:#(0x2dbc484f, 0xc76a672)
extends:VRayMtl
replaceUI:false
------
This is how I expected it to work, but I get the following error.
-- Error occurred in anonymous codeblock; filename: ; position: 7
-- Runtime error: Plugin redefinition: cannot change extends class. VRayMtl
Is it possible at all to do it that way ?
What am I doing wrong ?
Thank You,
sam
Comment