Hi guys,
How do i adding two columns of detail attributes together into one?
For example, i click on my details tab, to find that i have two detail attributes. one of them is A and the other is B, How do i sum them up?
Thanks
Adding two columns of detail attributes together into one ?
3558 3 2- twohardballs
- Member
- 38 posts
- Joined: Sept. 2010
- Offline
- koen
- Member
- 789 posts
- Joined: April 2020
- Offline
one way to do this would be to use the detail expression:
exhelp detail
float detail (string surface_node, string attrib_name, float attrib_index)
REPLACED BY
hou.Geometry.attribValue()
Returns the value of a detail attribute.
This expression may not work if <surface_node> is the _currently
cooking_ node. Try specifying an upstream node.
EXAMPLES
detail(“/obj/geo1/attribpromote1”, “area”, 0)
Returns the total area of the geometry, if the geometry had first
been measured and then AttribPromote had promoted the area primitive
attribute to a detail attribute with Sum as the promotion method.
exhelp detail
float detail (string surface_node, string attrib_name, float attrib_index)
REPLACED BY
hou.Geometry.attribValue()
Returns the value of a detail attribute.
This expression may not work if <surface_node> is the _currently
cooking_ node. Try specifying an upstream node.
EXAMPLES
detail(“/obj/geo1/attribpromote1”, “area”, 0)
Returns the total area of the geometry, if the geometry had first
been measured and then AttribPromote had promoted the area primitive
attribute to a detail attribute with Sum as the promotion method.
- kuba
- Member
- 345 posts
- Joined:
- Offline
- twohardballs
- Member
- 38 posts
- Joined: Sept. 2010
- Offline
-
- Quick Links