Creating dynamo for hatching in Autocad with variabel hatch patterns

I am trying to make automatic hatching by dynamo in Autocad.I guess i can do that.
But i am not able to give different hatch patterns to diffrent objects.
It only takes just one hatch pattern for all objects
Can somebody help me in tris


Try this


Thanks for reply.I will check this and get back

Thing which i want to do is

For example
I have different closed polylines in an autocad file on different layers.I want to put hatch in this all closed polylines.
Right now i can do it based on layers but it takes only one hatch pattern.
Is there a way that i can tell dynamo that layer x should have solid, layer y should have zigzag and so on

See this for filter

1 Like