Support Board
Date/Time: Fri, 14 Mar 2025 08:50:01 +0000
Post From: WISHLIST - Variable Names for IDxx.SGyy
[2022-05-28 20:53:34] |
JohnR - User831573 - Posts: 319 |
I think what you want is already here in ACSIL ACSIL Interface Members - sc.Subgraph Array A useful method to make it easier to work with a sc.Subgraph[] and the sc.Subgraph[].Data array is to use a C++ reference. A reference is defined with SCSubgraphRef. SCSubgraphRef is a reference to the sc.Subgraph[] type. Below is an example of defining and using a reference. Example // Make a reference to the second Subgraph and call it PlotB SCSubgraphRef PlotB = sc.Subgraph[1]; // Now the PlotB reference can be used in place of sc.Subgraph[1] // Set the value of the element in the Subgraph Data array the // current index to 10. // This is the same as sc.Subgraph[1][sc.Index] = 10.0f; PlotB[sc.Index] = 10.0f; Hope this helps. johnR |