Hi all,
I have some odd shapes that are produced by the split operation in one of my rules. I'm trying to fill these with an imported asset - I'd like CityEngine to pick the one that best fits the shape.

From what I can tell, this is exactly what the assetBestSize operation should do.
In my case - I've placed 3 assets in the project's /model folder. One is a 6x3 rectangle, another 3x6, and another a 6x6 square.

The code I've used is as below:
SmallHouses --> alignScopeToAxes(y)
i(assetBestSize("/Hatfield/models/Test_*.obj", "xz"), zUp, keepSizeAlignPosition)
For some reason, the wildcard does not seem to look through all 3 assets, and instead just uses the first one in the folder (in this case, the 3x6). I've verified this by changing the file names of the assets.

Can you see anything wrong that would prevent the wildcard working - or have I misinterpreted what this operation does?