Amazon VERSION 2.0V1 Guide de l'utilisateur Page 91

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 377
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 376 377

Commentaires sur ces manuels

Pas de commentaire