ZBrushCentral

Scalling to 10% all subtool macro with pivot 0,0,0

Hello,

I made some time ago script in Zbrush 4r6 which scalling dwon all subtool 10X. It worked nice scaling with pivot in 0,0,0.
Now in Zbrush 4r7 it scalling all subtool but with local pivot positon. It doesn’t work for me :frowning:

Maybe you know how to modify this script to make all scaling with pivot in 0,0,0

Thank you in advance!

bellow is my macro

//ZBRUSH MACRO - Recorded in ZBrush version 4.6
[IButton,???,“Press to run this macro. Macros can be aborted by pressing the ëescí key.”,
[IShowActions,0]
[IConfig,4.6]
[ISet,Tool:Deformation:Size,0]
[ISet,Tool:Deformation:Size,-100]
[IPress,Tool:Deformation:Repeat To Other]
[ISet,Tool:Deformation:Size,0]
[ISet,Tool:Deformation:Size,-100]
[IPress,Tool:Deformation:Repeat To Other]
[ISet,Tool:Deformation:Size,0]
[ISet,Tool:Deformation:Size,-100]
[IPress,Tool:Deformation:Repeat To Other]
[ISet,Tool:Deformation:Size,0]
[ISet,Tool:Deformation:Size,-40]
[IPress,Tool:Deformation:Repeat To Other]
]

This works fine for me when tested with the DemoSoldier. If I select the glove by Alt+clicking it then run the macro everything is scaled down around the origin.

Can you show an image of what’s going wrong? And what OS are you using?

Hi,

Thanks for answer.

Demo Soldier is in middle of origin so it is scalling ok. But most of models has origin at the feet and after scaling feet are floating in the air.
I used for example model Nickz_humanMaleAverage and add plane in 0,0,0. After scaling model is floating in the air.

I use Windows 7 64 bit and newest Zbrush 4r7 p3

I hope that somebody have idea how to scale with pivot in 0,0,0

Cheers!

Attachments

afterscaling.JPG

before scalling.JPG