Set/GET material ID in custom properties not working?
#1
Hey there,

I might have encountered a bug (if I´m not doing it wrong again...):

I´m trying to change shapes in the flow, but I want to retain the original material IDs. 
So in Event A, I set custom properteis Material Ids to channel "MatID".
In Event B, where I randomly add from a list of different shapes, I use get custom properties material Id from channel "MatID", but its not working.

If I use the display data op, I can see that the custom property seems to be empty (showing only 0).

So is this a bug or am I doing it wrong?

Bit in a hurry with this one, so if its a bug, I´m probably gonna try and cache it out to several cache objects and manually assign the correct materials.

Ok, found a work around for now...
I´m using an event with several property test operators to test for material ID and then send those out to several cloned events, where I just change the material ID accordingly.
Not elegant, but its working for now.

I also don´t get how the property test works right now though...

In my personal logic I´d think if I wanna test for material ID 1, i´d set the test to "MatID" "equal and "1", the next one to "qual" and "2" etc.
But that gave me the wrong material ID, so after some more playing around, making the equal one less did the job.

Hope you can shed some light on my confusion here!
  Reply


Messages In This Thread
Set/GET material ID in custom properties not working? - by insertmesh - 07-22-2019, 01:43 PM

Forum Jump: