is there a way for me to grab the points of a SOP, iterate through its points and setPosition() on its geometry…?
so far i am getting the hou.GeometryPermissionError when i attempt to modify the position of the points - and looking in the docs suggests i create a Python SOP within Houdini.
id prefer to use eclipse w/ pydev for this kind of stuff.
any help would be much appreciated.
-0.
point.setPosition(foo) in eclipse/hython
4330 3 2- onowak
- Member
- 7 posts
- Joined: Sept. 2009
- Offline
- graham
- Member
- 1908 posts
- Joined: Nov. 2006
- Online
- phtj
- Member
- 224 posts
- Joined: June 2009
- Offline
When I started with python in houdini I had the same kind of feeling - I wanted the proper full ide (e.g. eclipse/pydev)
It does not really seem to be that easy, so in the end I gave up and now I just put up with the quirky little Houdini editor. (For example, the fact that Ctrl-C and Ctrl-V dont work, or that you don't get automatic tabs, etc, etc) I am still hoping for a better solution to appear some time. Maybe someone could make some suggestions…
One thing that I have not investigated is ‘External editor’ option. In Preferences, under Miscellaneous, you can set an external editor. Then when you are editing something in the Houdini editor, you can click the external editor button. Is anyone using this to edit their Python in an external editor?
It does not really seem to be that easy, so in the end I gave up and now I just put up with the quirky little Houdini editor. (For example, the fact that Ctrl-C and Ctrl-V dont work, or that you don't get automatic tabs, etc, etc) I am still hoping for a better solution to appear some time. Maybe someone could make some suggestions…
One thing that I have not investigated is ‘External editor’ option. In Preferences, under Miscellaneous, you can set an external editor. Then when you are editing something in the Houdini editor, you can click the external editor button. Is anyone using this to edit their Python in an external editor?
Patrick
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
At the moment I work with HOM and pycharm.
I set the houdini python interpreter as my project interpreter and set the windows path variable at the houdini bin directory ( to find all the dlls ) and import HOM.
With HOM I can open existing scenes and work on python code from within the IDE, but it is still not possible to debug python assets ( at least I didnt figure it out … )
I set the houdini python interpreter as my project interpreter and set the windows path variable at the houdini bin directory ( to find all the dlls ) and import HOM.
With HOM I can open existing scenes and work on python code from within the IDE, but it is still not possible to debug python assets ( at least I didnt figure it out … )
-
- Quick Links