How can i do the conditions for pattern selection? If user selected striped pattern. The next color choices should be based on the striped pattern.
I suppose that you have an Excel spreadsheet containing all colors and patterns? I would recommend having a dedicated column which indicates if a color is a “plain” color or a pattern.
You could use the IDs you have used in your TableOfPatterns Datasource whereas 0 indicated “uni” and 1 indicates “gestreift”.
When querying your colors in the table component, you can then filter by the mentioned column above. This could look something like this:
from TableOfColors select all
filter .ColorType = myPatternSelection.ID
I hope this helps.
Hello @LEI . Can we do quick meet for some questions about my 3D project?