I am brand new to zscripting and really have no idea what I am doing, I am basically just hitting record and then reverse engineering it…
I am trying to make my own hotkey for this, I hate having to set my local pivot and then either hitting delete or ctrl + clicking on the canvas to make the model fill up the canvas
I got pretty far, but the part that I cannot get past is the last step, I cant figure out how to keep the models rotation when I zoom in on it.
I know that the code that sets the models rotation and position is in the last row, but there is just a garble of numbers that I have no idea what they are and I cant find info on it anywhere. Anyone have any thoughts?
I wish I could figure out the command that zbrush runs when you hit the "delete" button. I think that might solve my problem
[ISubPalette, "Zplugin:E"]
[IButton, "Zplugin:E:Pivot_center","pivot_center",
[IPress,Transform:Quick 3D Edit]
[IPress,Transform:SetPvt]
[CanvasStroke,(ZObjStrokeV03n2%p1CC7800p19BFD00PNN1NsC9840DsC9840DsC9840Dz4000=Yh-2193C1v-1FD5B7K4Xh-2193C1v-1FD5B7)]
,]

