Support Board
Date/Time: Tue, 11 Feb 2025 01:41:36 +0000
Post From: Float value truncated / simplified.
[2020-08-25 10:02:15] |
User92573 - Posts: 544 |
That was a great help, Thank you. However, it may be that as usual Sierra have already provided a simple solution - but - in my case it doesn't seem to want to work. sc.ValueFormat = 2;
Ought to do exactly what I want except for the fact that when I recompile to code and reload the study "Settings >> ValueFormat = "Inherited". I cannot seem to programmatically get the following instructions: sc.ValueFormat
Type: Read/Write integer variable. Initial value: 2. sc.ValueFormat sets the numeric display format for all values in the sc.Subgraph[].Data arrays for the study. This can be one of the following values: 0 = Zero decimal places. Example output: 1 1 = One decimal place. Example output: 0.1 2 = Two decimal places. Example output: 0.01 ... to set the study subgraphs to 0.01, or in ACSIL = 2. sc.GraphName = "ATR";
sc.ValueFormat = 2; sc.AutoLoop = 1; sc.GraphRegion = 0; sc.ScaleRangeType = SCALE_AUTO; Still results in ValueFormat = "Inherited". Any thoughts? Many thanks. |