[Sidefx-houdini-list] File name wildcards

Martin Winkler martin.winkler at grey-matter.de
Fri Jun 8 13:58:42 EDT 2018


For some more sophisticated globbing a bit of python never hurts.
Just construct your filename string upstream, stick it into a detail
attribute and reference it in the file-parameter via `details(0,
"yourdetailattributename")`

For quick and dirty this should do it.


On Fri, Jun 8, 2018 at 7:52 PM, Gary Jaeger <gary at corestudio.com> wrote:
> Right, thanks. That’s essentially what I’m doing now. But as you found, it’s that “Tree_” and “LOD0” and whatever else that changes with each asset. Sigh
>
> Btw, I’d pay you for that Megascans loader… :)
>
> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
> 249 Princeton Avenue / Half Moon Bay / CA 94019 <https://www.google.com/maps/place/249+Princeton+Ave,+Half+Moon+Bay,+CA+94019,+USA/data=!4m2!3m1!1s0x808f73cae8ec3c2b:0x8f4550d52ed8e890?sa=X&ved=0ahUKEwjP68e-m6_MAhUX4WMKHRoSDm4Q8gEIHDAA>
> http://corestudio.com <http://corestudio.com/>
>
>> On Jun 8, 2018, at 10:47 AM, Peter Bowmar <pbowmar at gmail.com> wrote:
>>
>> You could channel reference to the loader at the top level, so something
>> like:
>>
>> /ASSETS/MSCANS/Downloaded/3d/Tree_`chs("../charset")`/Aset_
>> `chs("../charset")`/_LOD0.obj
>>
>> etc
>
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list



-- 
Martin Winkler, Geschäftsführer
Alarmstart GmbH
Georg-Friedrich-Str.1
76530 Baden-Baden
Tel. 07221 972 95 31
HRB 700934 Amtsgericht Mannheim
EORI Nr. DE534938152768284
Ust-ID Nr.DE249482509


More information about the Sidefx-houdini-list mailing list