Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
interactivesvg:px [2022/11/30 05:17] optrixinteractivesvg:px [2025/12/18 22:50] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====PX_====
  
 +Used to get the [[ardi point code|point code]] of a named property on the [[owning asset|active asset]].
 +
 +===Parameters===
 +
 +**Property Name**: The name of the property on the owning asset.
 +
 +===Example===
 +
 +Let's assume you wanted to make an SVG file you could use for any machine with a 'Temperature' property. .
 +
 +You could use the following code....
 +
 +<code>
 +connection.Subscribe("[PX_Temperature]",function (val) {
 + $('#temp').html(parseFloat(val).toFixed(1) + " Deg C");
 + });
 +</code>
 +
 +This is replaced with the full point code for the Temperature property on the active asset.