Created
November 3, 2017 00:42
-
-
Save nicelifeBS/2a1621b2735a971cf559698d5db2441b to your computer and use it in GitHub Desktop.
Katana - Eval cel with python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prod = NodegraphAPI.GetGeometryProducer() | |
root = prod.getRootProducer() | |
cel = root.getAttribute('collections.test.cel').getValue() | |
node = NodegraphAPI.GetNode('CollectionCreate') | |
collector = Widget.CollectAndSelectInScenegraph(str(cel), '/root/world/geo') | |
result = collector.collectAndSelect(select=False, node=node) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment