Search the Community
Showing results for tags 'limit'.
Found 3 results
Is there a easy way to set a "speed limit", like we can do on packed, in DOP's? The velocity data is not available at pre- or post solve, and it's not possible to use a wrangle after the RBD solver (or is it?), so what would be a good solution here?
Hi. 1. I got group field that can take points/edges/polygons. 2. i got selector that supports points/edges/polygons. I need to limit GroupType menu to only points/edges/polygons, so the user can modify it only between those three if he wishes to change it manually. But if I set menu to only support positions 2-4, than it stops working. If I add all 0-4 positions, it works OK, but those first 2 are not supported and just confuse user. On the other hand if I use Integer parameter instead of menu as Grouptype, and limit it to only 2-4, it works. I tried to update my custom GroupType with callback from original GroupType field, so the original would be working as it should invisible for the user and my custom field would be accessible, but callback doesn't execute if call it in viewport, only when I manually change original GroupType field in newtork view. Anybody got some tip how to solve this? Thanks in avance! EDIT: To expand a little, if I have selector: thisType = hou.sopNodeTypeCategory().nodeTypes()['mantragora::sop::foo'] thisType.addSelector('FooSelector', selector_type='everything', primitive_types=(hou.primType.Polygon, ), prompt='Select points/edges or polygons. Press <ENTER> to accept.', group_parm_name='groupinput0', input_index=0, input_required=True) it requires 5 positions long grouptype menu to work correctly and update what was selected. But I need to force it to work with 3 positions long grouptype menu. And I don't need positions 0-1, which are for Guess/Breakpoints. I need Point/Edges/Primitives, which are 2-4.