User input/value in a macro?

Hi ,

I am trying to make a macro for the shrinkwrap command. I want to set all options by the macro, but I would still like to control the resolution myself. How can I achieve this?

I’ve tried many things, starting to doubt if it is even possitble?

!_-ShrinkWrap PolygonOptimize=10 FillHoles=On DeleteInput=Off Preview=On DrawWires=Off HideInput=On SaveSettings=On

something like this - but this crashes my mac when run a second time
be careful.

!_-ShrinkWrap PolygonOptimize=10 FillHoles=On DeleteInput=Off Preview=Off DrawWires=Off HideInput=On SaveSettings=On Resolution=20 _pause _Preview=On _pause _Resoltuion _pause _enter

ok the crash is repeatable:

kind regards - tom

There’s a typo near the end there “_Resoltuion”, dunno if that causes the crash though

a typo should not cause a crash, it still crashes with correct spelling.

back to your topic:

best do it with a script.
Shrinkwrap
there are a few post that might serve as a startingpoint:

and chat gpt is very good in helping you to fine-tune.