Skip to main content

Instance swap variable inheritance

  • September 15, 2023
  • 0 replies
  • 750 views

XavierV

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.

Cheers,

Xavier.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings