ModelScopeRaw Property

General info

Label

Model Scope

Tooltip

Model Scope configuration setting

Data type

UInt64

Default value

1

Type

Regular

Code

1062

Symbolic name

MODEL_PROP_MODELSCOPERAW

Available since

1.8.1.1450

Parent properties

ExcelAddinConfigurationUser

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_HAS_DEFAULT The property has a default value as standard

Examples

Read from or write to the ModelScopeRaw property.

  • Lua

  • C#

-- Read from the ModelScopeRaw
inmation.getvalue("/System/Core/obj.ModelScopeRaw")

-- Write to the ModelScopeRaw
inmation.setvalue("/System/Core/obj.ModelScopeRaw", 1)
string path = "/System/Core/obj.ModelScopeRaw";
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the ModelScopeRaw
Result result = sli.ReadValue(sc, new ReadItem(path));
// Write to the ModelScopeRaw
Result result = sli.WriteValue(sc, new WriteItem(1, path));