Jump to content

saca

Members
  • Posts

    85
  • Joined

  • Last visited

Personal Information

  • Name
    noboru
  • Location
    JAPAN

Recent Profile Visitors

1,677 profile views

saca's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

8

Reputation

  1. hi, I'm trying pyro simulation with strong complex force, using PyroGeometry(SOP) or PyroSolver(DOP). but, even using small-scale-noise(disturb and turbulence), the pyro detail stretched and make large details. even using single-projection or double-projection , the problem does not fixed neither. how can i keep small details?
  2. thanks, Drughi that's work well. selected = hou.selectedNodes() for n in selected: print('[' + n.name() + ']') #print(n.parms()) for i, p in enumerate(n.parms()): parmName=n.parms()[i].name() #parmVal=n.evalParm(parmName) parmVal=n.parm(parmName).rawValue() print(parmName + '=' + str(parmVal))
  3. hi, how to keep expression-strings in parameter when export as string? bellow python code output key-value into ini-style. selected = hou.selectedNodes() for n in selected: print('[' + n.name() + ']') #print(n.parms()) for i, p in enumerate(n.parms()): parmName=n.parms()[i].name() parmVal=n.evalParm(parmName) print(parmName + '=' + str(parmVal)) but output expand-strings not expression, ex. filePath expression. thanks
  4. thanks. that's right in this case. How can I tell the difference between the methods? falloff_distance_v001_003.hip
  5. hi, i have simple wondering with attribute access for parameters input. here is "dist" attribute from distanceAlongGeo(SOP). on PolyWire(SOP)/radius, i can access with "@dist". on Mountain(SOP)/height, i cannot access with "@dist". by other way, point() expression, on PolyWire(SOP)/radius, i can access point(opinputpath(".",0),$PT,"dist",0) too. on Mountain(SOP)/height, i cannot access point(opinputpath(".",0),$PT,"dist",0) neither. what reason these difference? thanks. falloff_distance_v001_002.hip
  6. saca

    python date

    >like that the way store value other variables, i do not know it in houdini. Add the content you want to preprocess to "preCode" string widget and add "My_Submit" button instead of the standard "(Deadline)Submit" button. If you hide the standard "Submit" button, you can use it as same. in this way set date-time at once.
  7. For example, create a "User" parameter for "ShotSetting" object and rewrite it before sending. hou.node('/obj/ShotSettings').setParms({"User":hou.expandString("$User")}) please tell me, if you know other way. thanks
  8. hi, If i use "$User" in the file path, it will be changing into the farm-machine's user-name when rendering in the render farm. How can I keep it the same? thanks
  9. saca

    python date

    very thanks your idea. i will try and report some days later.
  10. saca

    python date

    hi, I have set deadline Job-Name by python script, from $HIPNAME and "python-date". Some Output(ROP) are executed into dependencies. so the "date" strings are changing on ROP by ROP because the submitting needs some seconds. of course we can use minute, but the submitting needs over one minutes, the batch group is split some groups. *)bad example, splitted some batch-groups <s001_001_Fx_fire_v001.hip [2021-07-09 15:23:48.642000]> |-s001_001_Fx_fire_v001.hip/out/abc/vdb_rocks <s001_001_Fx_fire_v001.hip [2021-07-09 15:23:49.343000]> |-s001_001_Fx_fire_v001.hip/out/vdb/vdb_fire <s001_001_Fx_fire_v001.hip [2021-07-09 15:24:03.132000]> |-s001_001_Fx_fire_v001.hip/out/ass/Ar_fire |-s001_001_Fx_fire_v001.hip -Arnold- /out/ass/Ar_fire *)the case I want <s001_001_Fx_fire_v001.hip [2021-07-09 15:23:48.642000]> |-s001_001_Fx_fire_v001.hip/out/abc/vdb_rocks |-s001_001_Fx_fire_v001.hip/out/vdb/vdb_fire |-s001_001_Fx_fire_v001.hip/out/ass/Ar_fire |-s001_001_Fx_fire_v001.hip -Arnold- /out/ass/Ar_fire *)the python code import datetime hipFile=hou.expandString("$HIPNAME") dt=str(datetime.datetime.now()) return (hipFile + '.hip [' + dt + ']') do you have any good idea to being one batch group names from date? like that the way store value other variables, i do not know it in houdini. thanks.
  11. RMB > Expand_String_Value it seems to get HScript value in keeping python setting. it's easy, but i do not recommend this way. because it shows the value but does not show what language using. Houdini shows color green for active language, and shows purple for other language. but this switching show black for normal-strings.
  12. hi, Expression is very easy and useful. at first, this expression $HIP/geo/$HIPNAME.$OS_$F4.bgeo.sc is known from new Houdini user. using this expression in file-cache(SOP) and "Load_from_file" = on, when the Hip-file name changed, the file-path is missed on new hip-file name. How solve this problem? thanks
  13. you can do it with Statick_Object(DOP) only. it seems to other settings are no problem for volume collision. flip_bowl@3.hip
  14. Better way, ignore folders , files only "isfile" import os thePath = 'C:/myGeo/' fileList = os.listdir(thePath) isFileList = [] for f in fileList: if os.path.isfile(os.path.join(thePath, f)): isFileList.append(f) fName = (thePath + max(isFileList)) #print fName return fName
  15. resolved 0)files example > 'C:/myGeo/myGeo_v001.begeo.sc','C:/myGeo/myGeo_v002.begeo.sc' 1)set default Language = Python 2)Ctrl+E fot multi line script on the parameter slot import os thePath = 'C:/myGeo/' fileList = os.listdir(thePath) return thePath + max(fileList) return 'C:/myGeo/myGeo_v002.begeo.sc' thanks
×
×
  • Create New...