Join Patterns

Join Patterns

celso.amaral
Contributor Contributor
562 Views
4 Replies
Message 1 of 5

Join Patterns

celso.amaral
Contributor
Contributor

Hello All.

 

Does anyone know a way to insert several pattersns into one, through a macro?

 

Tanks

0 Likes
Accepted solutions (1)
563 Views
4 Replies
Replies (4)
Message 2 of 5

old_snickers
Advocate
Advocate

Try it like this:

 

ENTITY LIST $selected_patterns = INPUT ENTITY MULTIPLE pattern "Select patterns to combine..."

CREATE PATTERN "Combined"

FOREACH $patty in selected_patterns {
EDIT PATTERN $patty CLIPBOARD COPY
EDIT PATTERN "Combined" CLIPBOARD PASTE
}

Message 3 of 5

celso.amaral
Contributor
Contributor

@old_snickers 

Thank you very much, it's an excellent option.

 

Instead of using pick by selection, is it possible join all the patterns inside one folder?

 

Tahnks

 

0 Likes
Message 4 of 5

old_snickers
Advocate
Advocate
Accepted solution

So you want to have a temporary folder, where you can drop your patterns wich you want to be joined per one click?

Create a folder, e.g. named tempfolder_2b_joined. Put your patterns inside it and try this:

 

FOREACH patty in folder ("Pattern\tempfolder_2b_joined") {
EDIT PATTERN $patty CLIPBOARD COPY
EDIT PATTERN "Combined" CLIPBOARD PASTE
}

 

P.S.: if the pattern "Combined" does not exist, it will be created, activated and displayed. If it's already present, the state (active or visible) will not be changed. You may have to add these two lines, if you make sure to see the result immediately:

 

DRAW Pattern "Combined"

ACTIVATE PATTERN "Combined"

Message 5 of 5

celso.amaral
Contributor
Contributor

@old_snickers

 

Thank you very much.

 

Works Good.

 

0 Likes