7
« on: 2019-07-15, 19:07:23 »
Hi,
I'm trying to switch out corona bitmaps in the Corona Select Map via maxscript (eventually pulling from an array), but I can't seem to create a new CoronaBitmap for the Select Map with a predefined bitmap already applied, only a blank one.
This is what I have so far, but I can't seem to get the syntax correct.
test = CoronaBitmap()
rootScene[#SME][#View1][#hdriHelperSwitcher____CoronaSelect].Properties.reference.texmaps[1] = test.filename = "\\test\test.jpg"
The listener error is:
-- Error occurred in anonymous codeblock; filename: ; position: 2155; line: 51
-- MAXScript Rollout Handler Exception:
-- Unknown property: "Properties" in undefined
Any ideas on how to fix it?
Thanks