Houdini 16 scripting selections
3844 13 2- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- edward
- Member
- 7740 posts
- Joined: 7月 2005
- Online
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
Thanks Edward.
hou.SceneViewer.selectGeometry method has no force_confirm keyword
hou.SopNode.selection and hou.Geometry.selection always return None. It works well in H15.5
I read that hou.SopNode.selection is deprecated. What about hou.Geometry.selection?
In my scripts I just want to get list of polygons for example.
hou.SceneViewer.selectGeometry is for interactive selection if I'm not mistaken
hou.SceneViewer.selectGeometry method has no force_confirm keyword
hou.SopNode.selection and hou.Geometry.selection always return None. It works well in H15.5
I read that hou.SopNode.selection is deprecated. What about hou.Geometry.selection?
In my scripts I just want to get list of polygons for example.
hou.SceneViewer.selectGeometry is for interactive selection if I'm not mistaken
- edward
- Member
- 7740 posts
- Joined: 7月 2005
- Online
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- edward
- Member
- 7740 posts
- Joined: 7月 2005
- Online
- Ondrej
- スタッフ
- 1072 posts
- Joined: 7月 2005
- Offline
In H16, only the cook selection of a node is explicitly managed by the geometry, so that's all that hou.Geometry.selection() can return. Temporary selections are specific to a viewer, so you need to query them from a scene viewer. At the moment there is no method to simply query the current selection from a viewer. You'll need to use hou.SceneViewer.selectGeometry() with use_existing_selection set to true (the default). Unfortunately, this will wait for the user to select something if there isn't an existing selection, which may not be what you want, but is in line with the way our tools work.
Edited by Ondrej - 2017年2月24日 09:26:26
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
Why it is Qt4 and Qt5 versions?
If Qt4 was deprecated how long it will be available?
It is something strange with Qt5 version in my Surface Pro 4 machine with Intel Iris graphics
This is H15.5 with HIDPI activated:
And H16:
With NORMAL global UI size it shows normal resolution
How to fix this?
If Qt4 was deprecated how long it will be available?
It is something strange with Qt5 version in my Surface Pro 4 machine with Intel Iris graphics
This is H15.5 with HIDPI activated:
And H16:
With NORMAL global UI size it shows normal resolution
How to fix this?
Edited by Alexey Vanzhula - 2017年3月1日 18:58:56
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
- rvinluan
- スタッフ
- 1256 posts
- Joined: 7月 2005
- Offline
vux
Why it is Qt4 and Qt5 versions?
If Qt4 was deprecated how long it will be available?
It is something strange with Qt5 version in my Surface Pro 4 machine with Intel Iris graphics
With NORMAL global UI size it shows normal resolution
How to fix this?
Qt4 builds will be available for future Houdini 16.0 builds.
It's future Houdini major and minor releases (i.e. > 16.0) where Qt4 builds may be dropped.
And the wonky monitor resolutions reported in the Houdini info dialog is a known issue. We are working on a fix and hoping to have it in a build soon.
Cheers,
Rob
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
rvinluanvux
Why it is Qt4 and Qt5 versions?
If Qt4 was deprecated how long it will be available?
It is something strange with Qt5 version in my Surface Pro 4 machine with Intel Iris graphics
With NORMAL global UI size it shows normal resolution
How to fix this?
Qt4 builds will be available for future Houdini 16.0 builds.
It's future Houdini major and minor releases (i.e. > 16.0) where Qt4 builds may be dropped.
And the wonky monitor resolutions reported in the Houdini info dialog is a known issue. We are working on a fix and hoping to have it in a build soon.
Cheers,
Rob
Thank you very much!
- rvinluan
- スタッフ
- 1256 posts
- Joined: 7月 2005
- Offline
- Alexey Vanzhula
- Member
- 538 posts
- Joined: 12月 2006
- Offline
-
- Quick Links