Hatch Pattern Random

Hatch Pattern Random

jc65JBR
Observer Observer
756 Views
3 Replies
Message 1 of 4

Hatch Pattern Random

jc65JBR
Observer
Observer

Hi,

 I trying to find a script that allows me apply a certain amount of colours to a certain amount of rectangles that form a staggered pattern. I have found one that applies the colours randomly, but I would like to add conditions, such as "same colours can not touch each other".  Because I don't know how to make the script, I wonder if anyone came across the same problem and how did you solve it. 

 

Thank you. 

0 Likes
757 Views
3 Replies
Replies (3)
Message 2 of 4

kajanthangavel
Advocate
Advocate

Can you post sample drawing?

0 Likes
Message 3 of 4

Kent1Cooper
Consultant
Consultant

This does not appear to be about Hatch Patterns.  Is your description missing something?

 

In any case, can you post the code that applies colors randomly?

Kent Cooper, AIA
0 Likes
Message 4 of 4

lena.talkhina
Alumni
Alumni

Welcome to the Autodesk Community @jc65JBR !

 

Great to see you here on LISP forum. Hope you will find a solution soon.

Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям! | Do you find the posts helpful? "LIKE" these posts!
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.



Лена Талхина/Lena Talkhina
Менеджер Сообщества - Русский/Community Manager - Russian

0 Likes