Get preset Appearance

BECOME PART OF THE COMMUNITY - Sign up here
  • Hi,


    I'm trying to get the current appearance from a preset, I want the Appearance name,no,id,...

    I want to assign this appearance to a sequence.


    It's possible to get the name of the preset, but for the appearance I got a error. I did some testing and the element Appearance does not exist?

    Below you find my code:

    Code
    local ColorPresetPool = DataPool().presetpools:Children()
    local ColorPresets = ColorPresetPool[4]:Children()             --Color preset pool
    local ColI = 1                                                 --Index number from preset
    local ColorName = ColorPresets[ColI].name                      --Preset Name
    local ColorAppearance = ColorPresets[ColI].appearance          --Name is ok, Appearance not?         

    I hope someone can help me?


    Many thanks!

    Cedric

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!