How to query fields in DOP's and store value in Python?

   845   0   0
User Avatar
Member
60 posts
Joined: 7月 2014
Offline
I'm trying to create a Python UI state that returns the currents fields in a DOP network. I want to query the fields and then store there values so that I can print it in the viewport.

I can find all the python documentation to get the fields themselves, but I can't seem to find out how to get the values stored in the voxels. I know it can be done in SOPs, but I really want to do it directly in DOPs. Is this possible?

FYI, just using a simple Sparse Pyro Shelf tool for my testing. I want to query the density and temperature fields and calculate the maximum value stored in those fields.

Thanks!
  • Quick Links