Dynamic Symbol

5 Posts
4 Users
0 Likes
62 Views
ACHT
 ACHT
(@a-chaverotarcinfo-com)
Posts: 161
Reputable Member
Topic starter
 

Hi,

Do you know a method to change dynamically branch or variable substitution into a symbol ?

Thanks

 
Posted : 08/07/2019 5:55 pm
b.lepeuple
(@b-lepeuplearcinfo-com)
Posts: 149
Estimable Member
 

[Edit BL 14:32] Looks like I dreamt that feature. Does not exist in v12. Sorry

If I am not mistaken, everywhere you can put a variable name in an animation, you can alternatively put the name of a text variable that contains the name of the variable you want to animate (aka indirection on a text variable). Along with a well chosen scope for the text variables you will need, you probably have the solution.

If you like Nk's way of life, go for VBA, and there is probably a way to change the branch property of your symbol on the mimic open event.

Good luck, the scripts behind may not be funny 😉

 
Posted : 08/07/2019 6:43 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

If I am not mistaken, everywhere you can put a variable name in an animation, you can alternatively put the name of a text variable that contains the name of the variable you want to animate (aka indirection on a text variable).

I think that's wrong Benoit...

 
Posted : 23/07/2019 9:54 pm
n.kunzer
(@n-kunzerarcinfo-com)
Posts: 1236
Member Moderator
 

[Edit BL 14:32] Looks like I dreamt that feature. Does not exist in v12. Sorry

If you like Nk's way of life, go for VBA, and there is probably a way to change the branch property of your symbol on the mimic open event.
Good luck, the scripts behind may not be funny 😉

NK's way to run on Mimic open

Sub ChangeBranchForSymbol()

    Dim g As Graphic
    
    For Each g In Me.Graphics
    
        If TypeOf g Is Symbol Then
            g.LocalBranch = "myNewBranch"
        End If
        
    Next

End Sub
 
Posted : 23/07/2019 10:02 pm
BO
 BO
(@b-olombelarcinfo-com)
Posts: 196
Reputable Member
 

Hi Anthony,

What is the need ?

BR

 
Posted : 29/07/2019 4:42 pm