Amazon VERSION 2.0V1 User's Guide Page 91

  • Download
  • Add to my manuals
  • Print
  • Page
    / 377
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 376 377

Comments to this Manuals

No comments