Hi, im trying to include the same file multiple times but have it change a few variables the second time its loaded. Is that possible? For example, if I do
---------- main.puml
@startuml
!$var1 = "x"
!$var2 = "y"
!include_many include.puml
!$var1 = "y"
!$var2 = "x"
!include_many include.puml
---------- include.puml
@startuml
!$var1 ?= "default1"
!$var2 ?= "default2"
'do some stuff below...
@enduml
It will read the variables properly on the first include and display them as "x" and "y", but on the second import it will not show them reversed.
I also tried with having an intermediate file that did the reversing and also with a procedure that I called. But nothing seems to allow me to change it on the second include. Is there a way to accomplish this? Thanks!