Login Page - Create Account

Support Board


Date/Time: Mon, 03 Feb 2025 10:49:26 +0000



Post From: Accessing a subgraph value at an index

[2019-11-06 17:04:28]
User907968 - Posts: 825
you cannot assign a value to it like SC_OPEN when declaring it

This is not techically correct, 'SC_OPEN' is declared in scconstants.h as a const int with a value of 0.

The following declarations amount to the same thing:

SCSubgraphRef BarOpen = sc.Subgraph[0]
SCSubgraphRef BarOpen = sc.Subgraph[SC_OPEN]