Jump to content

gemini

Members
  • Content count

    102
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

1 Neutral

About gemini

  • Rank
    Initiate
  • Birthday 08/03/1975

Contact Methods

  • Website URL
    https://vimeo.com/user726547

Personal Information

  • Name
    Szabolcs
  • Location
    Budapest

Recent Profile Visitors

1,704 profile views
  1. Hi, Does anyone has an idea how to avoid the freeze when a shelf file changed by script and reloaded causes the Houdini to freeze ? Thanks in advance! SZ a part of the script : hou.shelves.loadFile( self.shelfFile) if force_all_refresh: hou.shelves.loadFile( self.shelfFile_def) hou.shelves.reloadShelfFiles()
  2. Hi, Does any sollution for that when the user drags a node to the shelf ( the same thing with dragging to the gallery in nw.ed. ) the stored tool is saved into the shelf itself not to the default shelf ( user dir/toolbar/default.shelf ). The main reason is this for sharing of nodes among artists. I am familiar with python too. Has any idea ?
  3. Hi, Can a Shelf Tab set visible for the current Desktop in Python ? THX!
  4. Hi, I would simply ceate a script which creates lock file when a hip is opened for the reason more users should not overwrite their scenes. The lock file should be deleted when a new hip is about to open. So i created a hip event in my scene and check which event is fired (i check the opening hip name). My problem is that I can not fire an event before the new hip is opened ( to clear the lock file ) the event always shows the opened hip not the hip which is being closed. Any idea ? thx!!! G My scripts: ---Registering the event----- hipFileEvent_script = """ def hipFileEventsFired( event_type): import houdini.illessz.events as ev reload( ev) ev.hipFileEvents( event_type) """ hou.setSessionModuleSource( hipFileEvent_script ) hou.hipFile.addEventCallback( hou.session.hipFileEventsFired) ---- The event ---- def hipFileEvents( event_type): # print kwargs if event_type == hou.hipFileEventType.BeforeClear: if not hou.hipFile.isLoadingHipFile() and not hou.hipFile.name()=='untitled.hip': print 'clear event %s' % hou.hipFile.name() else: # print 'clear ?' pass print event_type, hou.hipFile.name() if event_type == hou.hipFileEventType.BeforeLoad: print 'before load event %s' % hou.hipFile.name() # hou.hipFile.removeEventCallback( hou.session.hipFileEventsFired) OUTPUTS: hipFileEventType.BeforeLoad X:/temp/saveTest.hip before load event X:/temp/saveTest.hip hipFileEventType.BeforeClear X:/temp/saveTest.hip hipFileEventType.AfterClear X:/temp/saveTest.hip hipFileEventType.AfterLoad X:/temp/saveTest.hip hipFileEventType.BeforeLoad X:/temp/saveTestB.hip before load event X:/temp/saveTestB.hip hipFileEventType.BeforeClear X:/temp/saveTestB.hip hipData deleted X:/temp/saveTestB.hip hipFileEventType.AfterClear X:/temp/saveTestB.hip hipFileEventType.AfterLoad X:/temp/saveTestB.hip
  5. Hi, I would simply ceate a script which creates lock file when a hip is opened for the reason more users should not overwrite their scenes. The lock file should be deleted when a new hip is about to open. So i created a hip event in my scene and check which event is fired (i check the opening hip name). My problem is that I can not fire an event before the new hip is opened ( to clear the lock file ) the event always shows the opened hip not the hip which is being closed. Any idea ? thx!!! G My scripts: ---Registering the event----- hipFileEvent_script = """ def hipFileEventsFired( event_type): import houdini.illessz.events as ev reload( ev) ev.hipFileEvents( event_type) """ hou.setSessionModuleSource( hipFileEvent_script ) hou.hipFile.addEventCallback( hou.session.hipFileEventsFired) ---- The event ---- def hipFileEvents( event_type): # print kwargs if event_type == hou.hipFileEventType.BeforeClear: if not hou.hipFile.isLoadingHipFile() and not hou.hipFile.name()=='untitled.hip': print 'clear event %s' % hou.hipFile.name() else: # print 'clear ?' pass print event_type, hou.hipFile.name() if event_type == hou.hipFileEventType.BeforeLoad: print 'before load event %s' % hou.hipFile.name() # hou.hipFile.removeEventCallback( hou.session.hipFileEventsFired)
  6. Hi, When using Light export can I define the name of the created channel name for each light ? I mean the first light channel would be not hlight1_diffuse but diffuse_1 and so on.. So I would not add the name into the channel but I would use the light number from the list of lights in scene . If we have 10 lights the fisrt would be 1 the last is 10. Thx!
  7. Hi, Can the Network Editor View be 'placed' without zoom on a node (home) ? I tried the setCursorPosition but not worked. Any Idea ? THX! G
  8. Hi, Can it be possible ? If I have an invisible parameter but I would like to see its keys on the timeline. Just a kind of visual purpose. A similar thing like a DOP cached frames. THX! G
  9. Can I force the scene view to 'homeToSelection' ? I found the hou.GeometryViewport class but how can I get it in h16.5 ? THX!! G
  10. Sadly not. I didn't mean that. So .. when i run my script I update the selection too to see the user what property is wrong for example. And then in the script I pop up an asking dialog. But the property page is only refreshed when the user has answered the pop up dialog. So i mean i need a refresh among the script lines of the UI. THX! G
  11. Hi, Can I force Houdini UI to update selected object property page ( Or refresh all Houdini UI ). ( I change the selection in a python scipt ) Thanks !! G
  12. Hi, I have a button strip parm which is dependent on a parameter on the node itself. So when the parameter changes the button strip changes too. How do i force houdini to recook the menu items ? Thanks in Advance ! ! G
×