Get Surface Fill Pattern from a Material?


I’m working on a graph that creates a filled region with the same shape as a floor sketch, and with the same fill pattern as the finish material of the floor. I’m wondering if it is possible to retrieve the surface fill pattern from a specific material via Dynamo? This is what I have so far:


(Sidenote: The Clockwork node FamilyType.CompoundStructureLayers seems to be producing a different object type than the Material.ByName node.)

I have noticed that there is a node called Material.CutPatternId, but there doesn’t seem to be a corresponding one for surface patterns. If I managed to retrieve the ID of the surface fill pattern, could that ID then be used to retrieve a filled region type, based on the ID of its fill pattern?

I believe the error is because it can’t handle an array of materials.
But are some I found

Did you figure out how to get surface pattern? Can’t find node getting material surface pattern.

Anyone has an idea?


I will make a better node when I have time but here is a quick fix to your issue :
The node Get Material Properties is from package Genius Loci.


Awesome! Thanks @Alban_de_Chasteigner

Can we extract the grid from surface id