Word Size

   1176   3   1
User Avatar
Member
3 posts
Joined: April 2016
Offline
This question has probably been answered several times, but I have not yet found a solution. Is it possible to display and change the dimensions of an object or its bbox? Just like you can do in cinema 4D or Maya.

When I import an object, the size is always displayed as 1. However, the lethal word size is often different.
I'm new in Houdini, so sorry if the question sounds stupid.
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
You can access an objects dimensions with bbox: eg. bbox(0, D_XSIZE).
Position would be centroid: centroid(0, D_X), centroid(0, D_Y) or centroid(0, D_Z) respectively.

Here are more expression functions: http://www.sidefx.com/docs/houdini/expressions/index.html [www.sidefx.com]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
3 posts
Joined: April 2016
Offline
Thank you, I test it and it works fine.
Wouldn't it be simpler to be on object level? For example, if I import an FBX object with several sub-objects. How do I know how big it actually is?
User Avatar
Member
670 posts
Joined: Sept. 2013
Offline
You would merge all objects on geo level.

On object level you will only find containers and you would not really know what nodes within are supposed to be measured.
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
  • Quick Links