Execute FlexScript when a button is clicked on FlexSim Web Pages

Execute FlexScript when a button is clicked on FlexSim Web Pages

edgar_a2
Not applicable
3 Views
1 Reply
Message 1 of 2

Execute FlexScript when a button is clicked on FlexSim Web Pages

edgar_a2
Not applicable

[ FlexSim 21.0.2 ]

Is there any way to execute FlexScript in FlexSim Web Pages only when the user clicks on a button?

0 Likes
4 Views
1 Reply
Reply (1)
Message 2 of 2

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Edgar Almeida,

Have you had a chance to read through the Webserver documentation?

It would be good to read the whole article, to have a good background, but then pay particular attention to the section Instance Queries.

From the documentation:

A list of default queries is available at MAIN:/project/exec/globals/serverinterface/queryhandlers. Using these as templates you can create your own custom query handlers by adding subnodes to the MODEL:/Tools/serverinterface/queryhandlers node.

Comment back with any specific questions that come up.

0 Likes