Jump to content

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


nicholasds

Recommended Posts

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...