There is a problem with the DPTREE widget: the property "systemName" cannot be set via script, only via the GEDI's property editor.
Additionally if you empty the systemName property from the GEDI and try to reset it afterwards it does not accept the new value.
To recreate:
1. Create panel with DPTREE widget.
2. (optionally) Delete the systemname from the DPTREE's properties in GEDI
2. Insert the following code in the DPTREE's Initialize method:
Code: Select all
main()
{
this.systemName = getSystemName();
DebugTN(this.systemName); // logs [""]
}4. It does not display any system name
5. (Optionally) Try to set the system name in GEDI again and retry the following code in the DPTREE's initialize method:
Code: Select all
main()
{
DebugTN(this.systemName); // logs [""]
}