T O P I C R E V I E W |
kineticesp |
Posted - 09/11/2008 : 1:23:45 PM Im trying to get float values from a GETN_NUM field, I know that reading the variable with the nVal extension is the problem but I dont know how to read it as a float.
for example if the variable is in a tree node called "sample" and a GET_NUM called "data" (read_data is a float).
--code--
read_data=sample.data.nVal;
--code--
It must be something like fVal but I cant find it in the Help files.
Thanks in advance :)
|
2 L A T E S T R E P L I E S (Newest First) |
cpyang |
Posted - 09/11/2008 : 10:45:37 PM for scalar, we only have dVal, sorry. fVal is only for vector and matrix, like fVals and fVals2, as we feel it is not necessary to use fVal when dVal is available.
See
http://ocwiki.originlab.com/index.php?title=Category:PropertyNode_%28class%29
|
Echo_Chu |
Posted - 09/11/2008 : 10:24:54 PM Hi, kineticesp
You can use
read_data=sample.data.dVal;
Echo OriginLab Corp |
|
|