nahee Posted September 12, 2009 Share Posted September 12, 2009 Hi, What python command would I need to list primitive groups in a node? There seem to be a lot of associated python methods/classes but all have "unimplemented" flagged, is this at all possible yet? If not, does there exist a hscript way of doing this? Thanks Quote Link to comment Share on other sites More sharing options...
graham Posted September 12, 2009 Share Posted September 12, 2009 (edited) There is no current HOM support for groups so you are unfortunately relegated to using hscript expressions to access this information. However, some time ago I wrote some wrapper classes and functions to add basic read-only support for accessing groups of primitives and points. There is a thread about it somewhere. Here is the latest version which also has some support for DOP group access. grouputils.tar.gz Edited September 12, 2009 by graham Quote Link to comment Share on other sites More sharing options...
Guest Swann Posted September 12, 2009 Share Posted September 12, 2009 (edited) Propably this link is what you are looking for. EDIT: Ups, Graham was faster. Anyway, link connects to SideFX forum where he gives exactly the same answer. Edited September 12, 2009 by SWANN Quote Link to comment Share on other sites More sharing options...
nahee Posted September 12, 2009 Author Share Posted September 12, 2009 There is no current HOM support for groups so you are unfortunately relegated to using hscript expressions to access this information. However, some time ago I wrote some wrapper classes and functions to add basic read-only support for accessing groups of primitives and points. There is a thread about it somewhere. Here is the latest version which also has some support for DOP group access. Nice hack, instead of me resorting to hou.hscriptExpression() I'll let your script do it Works like a charm. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.