the reason is after use function ff:makelayer-aci,the object have choose will become unchoosed.
Title: Re: command argu changed when the layer is exist or not.
Post by: mhupp on December 05, 2021, 09:24:38 PM
ff:change2layer and ff:change2layer2 do the same thing.
You don't need to do a table search again in ff:change2layer when the if statement that calls it has already did that check. (unless you use it somewhere else without this check add it back in)
no need to turn off cmdecho in the other functions because you turned it off in ff:toggle2layer you also need to turn it back on again
Someone correct me on this but I don't think you can pass selection set to other functions but you can call them. or you cant do it by the vairable name @ss it has to be <Selection set: 3e41e4e0>
Once you take all those things out you can merge it down to one function again.