Instance swap variable inheritance

Hello there !

Here what I discovered recently:

  • you have a component
  • Apply an instance swap property on a placeholder in your component.
  • Apply variables on your placeholder.
  • Create an instance of your component.
  • Use the instance swap properties to select the component of your choice.

Then variables are not anymore applied on your swap component instance.

So I know in some ways it is logical. I applied variables on my placeholder, not on the instance of the component choosed through the instance swap property. And I know how to resolve this problem in another way.

But anyway it could be very interesting to be able to pass constraint/variables of my placeholder to all other component’s instances when I use an instance swap property.