**solved** : how to view value of attribute, @attr?

   2080   2   2
User Avatar
Member
12 posts
Joined: Nov. 2013
Offline
Very noob question here from a pipeline developer.

I'm trying to get the hang of PDG for broader pipeline purposes and working through the tutorials.

I have noticed that we can middle click a file path parameter to see the evaluated result, is it not possible to do the same with other parameters such as 3d transform values?

For example I have Rotate set to
 ["@rxwedge", "@rywedge", "@rzwedge"],
and I can click through different work items to change these values and to change what I see in the viewport. AND I do realise I can view the work items to see the attribute values that way.

Is there another way to evaluate or view what the attribute is set to, on the parameter itself? (How about Pythonically?)

cheers,
Jordan
Edited by jorxster - Jan. 4, 2020 01:59:30
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
You can LMB on the numeric parm label (instead of MMB) to see the evaluated value.
Also you can always drag and drop a parm to a Python Shell window to get a python object you can eval:

hou.parmTuple('/obj/box1/t').eval()
Edited by chrisgreb - Jan. 2, 2020 14:37:47
User Avatar
Member
12 posts
Joined: Nov. 2013
Offline
chrisgreb
You can LMB on the numeric parm label (instead of MMB) to see the evaluated value.
Also you can always drag and drop a parm to a Python Shell window to get a python object you can eval:

hou.parmTuple('/obj/box1/t').eval()

Hey, thanks Chris, much appreciated! That answers my question perfectly.
  • Quick Links