Amazon VERSION 2.0V1 Podręcznik Użytkownika Strona 91

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 377
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 90
91
| | |-- expr = 'print "hi"'
| | `-- historyName = 'AttributeScript'
| `-- resolveIds = 'test'
`-- type = 'group'
AttributeUpgrade is useful when loading saved or serialized attributes that are in this form into Katana post-2.0 ops.
Simply loading a 1.x file that contains an AttributeScript node in 2.0 prompts Katana to run through standard
upgrade mechanisms, which means this AttributeUpgrade node isn't necessary in that case. This node is only needed
when you're loading old attributes directly. Using an AttributeUpgrade node would, therefore, transform the
previous example into:
.
|-- ops
| `-- AttributeScript
| |-- opType = 'AttributeScript'
| |-- opArgs
| | |-- script = 'print "hi"'
| | `-- nodeName = 'AttributeScript'
| `-- resolveIds = 'test'
`-- type = 'group'
NOTE: The AttributeUpgrade Op is run automatically during a LookFileResolve, which means that most of
the time, you shouldn't need to use this node explicitly.
2 NODES A-C | ATTRIBUTEUPGRADE
Przeglądanie stron 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 376 377

Komentarze do niniejszej Instrukcji

Brak uwag