Using Data Attributes of curves with Templex


In general once you plot a curve in HyperGraph, the curve has attribute info attached to it. You can access it from the right mouse context on the curve:

 

 

 

 

Here you see the attribute name, it's value, and to which entity (like e.g. x vector) of the curve it is attached to (from this type of entity it can be requested).

Following an example how to use the fileinfo Templex command to access the value of attribute "HWFile".

 

 

 

You can create a Note with this command, referencing to entity page-1 / window-1 / curve-1 / x-vector

{p1w1c1.x.HWFile}


to get path and filename:

 

 

 

 

And on top of that, you could use the fileinfo command to access a specific directory level

 

{fileinfo(p1w1c1.x.HWFile, "dir3")}