Skip to Content
avatar image
Former Member

Value Inheritance i variant classes

Hi

I woudl like to inherit values from a root class

PRODUCT

     Char COLOUR

     THING_CLASS

        COLOUR - blank

          DIMMENSION

I can't seem to get the value to COLOUR of THING_CLASS unless i make a procedure on the configuration profile of the material with THING_CLASS

Is there some way to make THING_CLASS always get value from $Root other than configuration profil, I tried to put an dependency on the class but it didn't work. I would like not having to assign procedures to all configuration profiles.

Thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 29, 2015 at 07:06 AM

    Hi

    I think that is the way the dependencies work. You cannot push the values from higher level classes to the lower level classes, but only the pull is possible. That is why we have the PARENT and ROOT relationships than CHILD and GRANDCHILD ⚠️  kind of relationship.

    Hence you should enable the procedure only at THING_CLASS level and not at PRODUCT level. At THING_CLASS level, you can assign your procedure either at the configuration profile level or at the class where the characteristic reside. However you should ensure that the class is exclusive to THING_CLASS and not common with PRODUCT. Neither it should share any common characteristic with PRODUCT.

    If these rules are taken into account, it should work even if you assign the procedure to the lower level class. But configuration profile is always the best way to manage dependencies unless situations warrant otherwise.

    I may be wrong, so please confirm after working out your way.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Thanks for the answer I was not trying to push values from upper class.

      I think what i was missing was the part with characteristics not able to be shared between the classes.

      I guess the only option for me is Inherit values on the configuration profile then.

      Thank you! :-)