ZBrushCentral

How should I make a summary of these looped subtool volumes together?

How should I make a summary of these looped subtool volumes together?

Try this:

[VarSet,sum,0]//number of subtools that are solid
[VarSet,totalVol,0]//total volume of solid subtools
[VarSet,activeST,[SubToolGetActiveIndex]]//store selected subtool
[Loop,[SubToolGetCount],
	[SubToolSelect,n]
	[If,[IsPolyMesh3DSolid],//check it's solid
		[VarAdd,totalVol,[GetPolyMesh3DVolume]]
		[VarInc,sum]//increment subtool count
		,//else not solid	
		[Note,[StrMerge,"\Cff9025SubTool \Cffffff",[IGetTitle,Tool:Item Info],"\Cff9025 skipped as not solid"],,2]
	]
,n]
[SubToolSelect,activeST]//reset to selected subtool
[Note,[StrMerge,"\Cff9025Total volume of \Cffffff", sum,"\Cff9025 subtools:  \Cffffff",totalVol]]

Marcus

Thanks for your reply, thank you