Hi,
another question from me while learning this software :
How can I query values set/found in vops directly in /obj level? Right now I'm storing a value found in vops in an attribute, which is queried after vops with detail(….) but I'm curious to see if it can be done abit more efficient.
In the example file there are 2 polygon objects and a switch node….the switch outputs one of them based on the largest area. So for this file the question is :
can the compare output integer be queried somehow?
thank you for your time!
Bjorn
query VOPvalues in obj-level
2179 2 1-
- paleoPixels
- Member
- 26 posts
- Joined: June 2015
- Offline
-
- tamte
- Member
- 9670 posts
- Joined: July 2007
- Offline
no, you can't access the VOP variable from outside directly, storing in detail is the way to go
however instead of computing the comparison in attribvop, why not comparing is switch directly?
detail(opinputpath(“.”,1), “area”, 0)>detail(opinputpath(“.”,0), “area”, 0)
however instead of computing the comparison in attribvop, why not comparing is switch directly?
detail(opinputpath(“.”,1), “area”, 0)>detail(opinputpath(“.”,0), “area”, 0)
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- paleoPixels
- Member
- 26 posts
- Joined: June 2015
- Offline
-
- Quick Links

