Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 11:05:30 +0000



Post From: Accessing a subgraph value at an index

[2019-11-06 17:04:28]
User907968 - Posts: 804
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]