[Sidefx-houdini-list] File name wildcards
gary at corestudio.com
Fri Jun 8 13:41:22 EDT 2018
Maybe I’m not being clear. Well, obviously I’m not.
Specifically I’m trying to build a rudimentary and easy-ish way of loading Megascan assets. Each asset directory contains a .json file whose file name is the important part of the string. In the path below, “qkduW” is the relevant part.
And there are various LOD’s and texture maps, i.e.
So my (boneheaded?) idea was to add a string to a Geometry node, and just paste “qkduW” into and and have the file node inside figure out everything else. Same with the RS Material Builder node. The thing is, the characters before and after the key string aren’t aways the same and I don’t want to have to track them down and fix them. So…. I thought I could use wildcards. Somehow.
Make sense? Our smart guy (would normally whip out some python solution) is busy atm so I’m left hacking through it myself :)
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>
> On Jun 8, 2018, at 10:28 AM, Peter Bowmar <pbowmar at GMAIL.COM> wrote:
> Hi Gary,
> I don't think that will work in a File SOP since a File SOP loads a single
> You can use the Shelf tool to load a bunch of files or the File-Import as
> well to load a bunch of files, in which case the file browser will let you
> filter (in the lower right corner) and * filtering will work as you expect.
> Peter B
> On 8 June 2018 at 10:22, Gary Jaeger <gary at corestudio.com> wrote:
>> I'm looking for the wildcard syntax to use in file name strings. So if I
>> have fu_bar_a034_blah.obj on disc, and I want to use something like
>> *a034*.obj how do I do that in a file node? I’ve tried every combination I
>> can think of, and haven’t been able to find it in the docs. Thanks.
>> Gary Jaeger / 650.728.7957 direct / 415.518.1419 mobile
>> 249 Princeton Avenue / Half Moon Bay / CA 94019 <
>> http://corestudio.com <http://corestudio.com/>
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Peter B
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list