Using Data Attributes of curves with Templex

Sebastian_Karp
Sebastian_Karp
Altair Employee
edited April 15 in Altair HyperWorks

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:

 

image

 

 

 

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".

 

image

 

 

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:

 

image

 

 

 

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

 

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

 

 

image