Scripting help

3.84K viewsScripting
0

What is the script syntax for:
[list=1:3s57xm1d]
[*:3s57xm1d]Data Link Update[/*:m:3s57xm1d]
[*:3s57xm1d]Manual[/*:m:3s57xm1d]
[*:3s57xm1d]On file open[/*:m:3s57xm1d]
[*:3s57xm1d]Data Nav Refresh [/*:m:3s57xm1d]
[*:3s57xm1d]Manual[/*:m:3s57xm1d]
[*:3s57xm1d]Data Push[/*:m:3s57xm1d]
[*:3s57xm1d]Manual[/*:m:3s57xm1d][/list:o:3s57xm1d]

0

Hi,

It’s not currently possible to run a script automatically when a file opens, because Quantrix Scripting doesn’t expose events (yet). However, all of these actions can be performed manually using the following scripts:

[b:gttc1zb5]Update DataLink[/b:gttc1zb5]
[INDENT]
For a single Matrix named [font=”Courier New”]Matrix1[/font]:

[code:gttc1zb5]|Matrix1|.updateDataLink()[/code:gttc1zb5]

For all linked matrices in a model:

[code:gttc1zb5]updateAllDataLinks()[/code:gttc1zb5][/INDENT]

[b:gttc1zb5]Push Data[/b:gttc1zb5]

[INDENT]For a single Matrix named [font=”Courier New”]Matrix1[/font]:

[code:gttc1zb5]|Matrix1|.pushData()[/code:gttc1zb5]

For all configured matrices in a model:

[code:gttc1zb5]pushAll()[/code:gttc1zb5][/INDENT]

[b:gttc1zb5]DataNav Refresh[/b:gttc1zb5]

[INDENT]For a single Matrix named [font=”Courier New”]Matrix1[/font]:

[code:gttc1zb5]|Matrix1|.updateDataNAV()[/code:gttc1zb5]

For all configured matrices in a model:

[code:gttc1zb5]refreshAllDataNAVMatrices()[/code:gttc1zb5][/INDENT]

Regards,
Ben

You are viewing 1 out of 2 answers, click here to view all answers.