ZBrushCentral

Question: Zscript is stopped when it call "<<R"?

This script is stoped when call “<<R”.
I don’t know why it execute till “<<R”, but “[Note,“after”]”.

Can I excute [Note,“after”]?

[IButton,"???","Rotate <<",
	[Note,"before"]	
	[IPress,Transform:Axis Rotation: << R ]    
	[Note,"after"]	
]

sorry for minimal and bad English language.

Unfortunately no. The Axis Rotation is a plugin, so when your code presses the button control passes to Axis Rotation and your code ceases to run. Only one zscript, plugin or macro can be active at a time.

Thank you for answering!
I was sad to hear that.
Maybe, I must make a camera movement script from full scratch.

If It could, could I ask a small hint what command to move viewport camera?

Look at this thread, there’s some useful stuff:

1 Like

Oh, thank you!