[sectionBegin," The MultiMarker Tool ",0,"ZScript Primer (Press to expand this section)",
	[varDef,zbPrimerTempOpenMM][varDef,zbInitDocSavedMM,0][varDef,zbInitSavedDocMM,""]
	[iPress,7442][if,(zbPrimerTempOpenMM),
		[iKeyPress,'N',[iPress,document:newdocument]]
	, // else
		[if,[messageYesNo,"OK to clear all customized tools, lights and materials?","DOCUMENT MUST BE CLEARED BEFORE PROCEEDING..."],
			[if,[isEnabled,document:save],
				[if,[messageYesno,"Would you like to save this document before proceeding?","Document has not been saved."],
					[iPress,document:saveas]
					[varSet,zbInitSavedDocMM,[fileNameGetLastUsed]]
					[varSet,zbInitDocSavedMM,1]
				] // end if (user saves)
			] // end if (save enabled)
			[Note,"One moment please...",,2]
			[iKeyPress,13,[iReset]]
			[varSet,zbPrimerTempOpenMM,1]
		, // else (user won't reset)
			[iUnPress,0][exit]
		] // end if (wanna reset?)
	] // end if PrimerTemp
	[Note,"This primer describes the \Cffa000MultiMarkers\Cc0c0c0 tool, which enables you to reposition markers or combine all the marked 3D objects into one mesh (model).",tool:multiMarkers,-1][routineCall,ExitNote]
[IShow,Tool:]

[IPress,TOOL:MULTIMARKERS]
[Note,"Before we can use this tool, we need to place 3D objects in the canvas and Mark their positons and orientations.",MARKER:,-1][routineCall,ExitNote]

[IPress,TOOL:Ring3D]
[IColorSet,255,0,0]
[CanvasStroke,(ZObjStrokeV02n43=H76V9BH76V9EH77VA0H78VA2H79VA4H7AVA6H7CVA8H7DVAAH7FVADH81VAFH83VB1H84VB3H85VB5H87VB7H88VBAH8AVBDH8BVC0H8DVC2H8EVC4H8FVC6H91VC8H91VCAH93VCEH94VD2H95VD6H96VD9H97VDCH98VDEH99VE0H9AVE1H9AVE2H9BVE2H9BVE3H9BVE4H9CVE4H9DVE5H9EVE6H9FVE6H9FVE7HA0VE7HA0VE8HA1VE8HA1VE8)]
[IPress,TRANSFORM:MARK]
[IColorSet,0,255,59]
[CanvasStroke,(ZObjStrokeV02n50=HB3VEAHB4VEDHB6VF1HB8VF4HBAVF6HBBVF8HBCVFAHBEVFCHBFVFEHC1V101HC3V104HC5V107HC7V109HC9V10CHCAV10DHCCV110HCDV111HCEV112HCEV114HCFV115HD1V118HD2V11BHD3V11DHD4V120HD5V122HD5V123HD6V125HD7V126HD7V128HD8V129HD8V12AHD8V12BHD9V12CHD9V12DHDAV12EHDAV12FHDBV131HDCV132HDCV134HDCV135HDDV136HDDV138HDDV13AHDEV13DHDEV140HDFV142HDFV145HDFV146HE0V146HE0V146)]
[IPress,TRANSFORM:MARK]
[IColorSet,0,22,255]
[CanvasStroke,(ZObjStrokeV02n45=
H4AVEAH4DVEDH4FVF0H52VF2H54VF6H57VF9H5AVFCH5DVFFH60V103H63V107H66V10AH68V10CH6AV10EH6BV10FH6DV111H6EV112H6FV113H70V115H71V116H72V117H73V119H74V11AH75V11CH77V11DH78V11FH79V121H7AV122H7BV124H7CV125H7DV126H7DV127H7DV128H7EV129H7EV12AH7EV12BH7FV12CH7FV12EH80V12FH80V132H81V133H81V135H82V136H82V137H83V137H83V137)]
[IPress,TRANSFORM:MARK]
[IPress,TOOL:Ring3D]
[IPress,TOOL:MultiMarkers]
[IPress,MARKER:MODIFIERS:COLOR]

[Note,"We can now select the \Cffa000MultiMarkers\Cc0c0c0 tool and use it to draw all the marked objects at once.",TOOL:MULTIMARKERS,-1][RoutineCall,ExitNote]
[CanvasStroke,(ZObjStrokeV02n33=H1A4VD3H1A4VD5H1A4VD7H1A4VD9H1A4VDBH1A5VDEH1A6VE2H1A8VE6H1AAVF0H1ACVFAH1AEV104H1B0V10EH1B2V112H1B4V115H1B5V119H1B8V11DH1BBV121H1BDV125H1BFV128H1C1V12CH1C1V12FH1C3V134H1C4V135H1C4V136H1C4V137H1C4V138H1C4V139H1C4V13AH1C4V13BH1C4V13CH1C4V13DH1C3V13EH1C3V13E)]

[Note,,TRANSFORM:ROTATE, -1]
[Note,,TRANSFORM:SCALE, -1]
[Note,"By activating any of the transform modes, you can transform all objects as a group...",TRANSFORM:MOVE,-1][RoutineCall,ExitNote]

[IPress,TRANSFORM:ROTATE]
[Note,"ROTATE..." ,TRANSFORM:ROTATE,1]
[CanvasStroke,(ZObjStrokeV02n26=H1D6VF3H1D5VF3H1D0VF0H1C7VEAH1BFVE5H1ADVDDH19BVD5H171VCCH153VC6H145VC3H13FVC1H13DVC1H138VC0H135VC0H130VC0H12BVC0H128VC0H125VC1H11DVC2H118VC3H113VC4H10FVC5H10BVC6H108VC7H107VC8H107VC8)]
[IPress,TRANSFORM:SCALE]
[Note,"SCALE..." ,TRANSFORM:SCALE,1]
[CanvasStroke,(ZObjStrokeV02n12=H1B3VEAH1B4VEAH1B6VEAH1B9VEAH1BBVEEH1BDVF3H1BFVF7H1C2VFEH1C4V102H1C6V106H1C6V108H1C6V108)]
[CanvasStroke,(ZObjStrokeV02n11=H1B4VF0H1B3VEEH1B1VEAH1ABVE4H1A5VDEH1A1VDBH19EVDAH19BVD8H199VD7H198VD7H198VD7)]
[IPress,TRANSFORM:MOVE]
[Note,"OR MOVE..." ,TRANSFORM:MOVE,1]
[CanvasStroke,(ZObjStrokeV02n16=H1D7V94H1D9V93H1DCV91H1E2V8DH1E8V86H1EBV82H1EFV7CH1F1V77H1F3V71H1F4V6DH1F5V68H1F5V65H1F5V60H1F5V5DH1F5V5CH1F5V5C)]
[Delay,1]
[Note,"By entering Edit mode, you can move, rotate and scale each of the objects separately..." ,TRANSFORM:EDITOBJECT,-1][RoutineCall,ExitNote]

[IPress,TRANSFORM:EDIT]
[IPress,TOOL:R]

[CanvasStroke,(ZObjStrokeV02n31=H264V191H263V191H261V191H25EV190H25CV18EH257V18CH252V18AH250V189H24DV188H24BV187H247V187H245V186H241V186H240V185H23DV185H23AV184H236V184H234V184H22FV184H229V184H225V185H21FV186H21DV186H219V187H217V187H216V187H215V188H213V189H212V189H211V189H211V189)]
[IPress,TRANSFORM:MOVE]
[Note,"MOVE..." ,TRANSFORM:MOVE,1]
[CanvasStroke,(ZObjStrokeV02n35=H154VB9H154VB6H154VB4H154VAFH155VAAH157VA7H15CVA0H162V99H166V97H174V92H182V8FH186V8DH194V8BH198V8AH1A0V89H1A4V89H1B2V89H1B5V89H1BBV88H1BDV87H1C1V85H1C1V84H1C3V82H1C3V81H1C4V7FH1C4V7EH1C4V7AH1C4V77H1C4V76H1C4V75H1C4V74H1C4V73H1C4V72H1C3V72H1C3V72)]
[CanvasStroke,(ZObjStrokeV02n28=H1C1V98H1BFV9BH1BDV9DH1B6VA2H1B2VA4H1ADVA7H1A7VA9H1A3VA9H195VA9H18DVA9H189VA8H181VA5H17BVA3H176VA0H171V9DH16EV9BH16DV9AH16CV99H16BV97H169V95H169V94H168V94H167V93H166V93H166V92H165V92H164V91H164V91)]
[CanvasStroke,(ZObjStrokeV02n17=
H1B6VFAH1B5VF9H1B5VF5H1B5VEFH1B4VE9H1B4VE4H1B2VDEH1B0VD8H1AEVD2H1ACVCCH1ABVCAH1A8VC5H1A6VC1H1A4VBEH1A4VBDH1A4VBCH1A4VBC)]
[IPress,TRANSFORM:SCALE]
[Note,"SCALE..." ,TRANSFORM:SCALE,1]
[CanvasStroke,(ZObjStrokeV02n26=
H19CVB9H19DVB9H19DVBBH1A0VBFH1A3VC3H1A5VC6H1A9VCBH1AEVCFH1B1VD4H1B5VD8H1B7VDAH1B9VDDH1BBVDFH1BDVE1H1C0VE5H1C4VE9H1C5VEBH1C8VF0H1CAVF4H1CCVFAH1CDVFFH1CFV105H1D1V10BH1D3V10EH1D4V110H1D4V110)]
[CanvasStroke,(ZObjStrokeV02n34=
H259V140H258V140H256V140H253V141H24CV144H23EV147H230V149H222V149H206V149H1ECV149H1DEV149H1D4V149H1CAV149H1BCV149H1B2V149H1A4V148H198V147H18EV146H182V145H178V144H162V141H158V13FH151V13CH14BV13BH145V138H13FV137H13BV136H139V136H136V136H135V136H134V136H133V137H132V138H132V138)]
[CanvasStroke,(ZObjStrokeV02n21=
H1B4V63H1B4V65H1B5V66H1B7V68H1B9V6CH1BCV72H1BFV78H1C2V7EH1C3V80H1C4V81H1C6V83H1C7V86H1CAV8AH1CBV8FH1CEV95H1CFV98H1D0V9CH1D2VA1H1D4VA5H1D5VA6H1D5VA6)]
[CanvasStroke,(ZObjStrokeV02n19=
H22AV96H22AV98H22CV9FH22EVA5H232VACH236VB7H238VBEH23BVC7H23DVCCH23EVD1H23EVD4H23FVD8H23FVDBH23FVDFH23FVE1H23FVE4H23FVE5H23FVE6H23FVE6)]
[CanvasStroke,(ZObjStrokeV02n27=
H259V-BH256V-9H24EV-4H234V6H22CVCH21AV17H20CV1FH200V31H1F8V39H1EBV41H1D7V48H1D4V4CH1CCV52H1C8V55H1BAV5BH1B6V5FH19EV66H186V6CH178V70H172V74H16CV77H165V79H162V7BH15EV7CH15DV7DH15CV7DH15CV7D)]
[IPress,TRANSFORM:ROTATE]
[Note,"OR ROTATE..." ,TRANSFORM:ROTATE,1]
[CanvasStroke,(ZObjStrokeV02n16=
H1A1V72H1A1V74H1A6V7AH1B4V88H1D4V9AH1E2VA8H1E8VB0H1EFVB8H1F2VBEH1F6VC2H1FAVC7H1FEVC9H203VCBH207VCBH208VCBH208VCB)]
[CanvasStroke,(ZObjStrokeV02n21=
H151V1BAH154V1B9H162V1BAH188V1BBH1A8V1BCH1CAV1BFH1E4V1C0H1F8V1C0H206V1C0H20BV1C0H20CV1BFH20EV1BEH20DV1BEH20AV1BEH206V1BDH204V1BCH201V1BBH1FFV1BBH1FEV1BBH1FDV1BBH1FDV1BB)]
[CanvasStroke,(ZObjStrokeV02n32=
H1D9VF1H1DAVF1H1DDVF1H1E3VF1H1F7VF1H20BVF1H221VF1H237VF1H23EVF1H245VF0H24BVEDH251VEAH25CVE0H261VCAH265VC4H266VC1H266VC0H266VBAH266VB5H266VAFH266VA8H265V9AH265V8CH265V78H264V62H264V5AH263V53H262V4EH262V4AH262V47H261V47H261V47)]
[CanvasStroke,(ZObjStrokeV02n19=
H268V19BH265V19CH25FV19EH257V1A0H241V1A1H22DV1A1H215V1A2H1FFV1A2H1E7V1A2H1CFV1A2H1C1V1A2H1B9V1A2H1ABV1A2H19EV1A2H198V1A2H194V1A2H191V1A2H18FV1A2H18FV1A2)]
[IUnPress,TRANSFORM: EDIT]
[Delay,1]

[Note,"When satisfied with the object, you can press the Make PolyMesh button to create a single PolyMesh3D composite object from the group." ,TOOL:MODIFIERS:MAKEPOLYMESH,-1][RoutineCall,ExitNote]
[iPress,tool:modifiers:reposition]
[IKeyPress,13,[IPress,TOOL:MODIFIERS:MAKEPOLYMESH]]
[ISet,tool:itemInfo,999]
[IPress,TOOL:R]
[Note,"ZBrush also creates a new texture map, which is a composite of all the colors and texture maps of each object in the group, and automatically assigns proper UV coordinates to fit the newly-created texture.",28601,-1][RoutineCall,ExitNote]
[Note,"The new PolyMesh tool can now be edited as a single object.",29901,-1][RoutineCall,ExitNote]

[IPress,LAYER:MODIFIERS:CLEAR]
[CanvasStroke,(ZObjStrokeV02n43=H12CVEBH12CVEDH12CVF0H12CVF4H12CVF8H12CV102H12CV106H12CV10AH12CV10EH12CV112H12CV115H12CV118H12CV11BH12CV11EH12CV121H12CV124H12CV127H12CV12AH12CV12DH12CV12FH12CV130H12CV132H12CV134H12CV136H12CV13AH12BV13DH12BV13FH12BV141H12BV142H12BV143H12BV144H12BV146H12BV147H12AV148H12AV14AH12AV14BH12AV14CH12AV14DH12AV14EH12AV14FH12AV150H129V150H129V150)]
[IPress,TRANSFORM: EDIT]

[CanvasStroke,(ZObjStrokeV02n39=H1B8V105H1B7V105H1B6V105H1B3V105H1ACV105H1A4V104H19EV104H197V104H192V104H18CV103H188V103H184V102H17DV101H177V101H170VFFH165VFDH15BVFBH13CVF9H12FVF9H123VF9H117VF9H10EVF9H106VF9HFDVFAHF8VFBHEEVFDHE3VFEHD8VFFHCEVFFHC5VFFHBFVFFHB8VFFHB4VFFHB2VFFHB1VFFHB0VFFHAFVFFHAEVFFHAEVFF)]
[IPress,TRANSFORM:MOVE]
[CanvasStroke,(ZObjStrokeV02n11=H138VB5H148VA9H150V9FH151V9EH156V98H15BV91H15EV8EH161V8AH16BV80H16DV7FH16DV7F)]
[CanvasStroke,(ZObjStrokeV02n10=H15DV125H163V138H16AV142H177V14BH18AV14DH19FV14BH1B1V13DH1C1V12EH1C2V12DH1C2V12D)]
[CanvasStroke,(ZObjStrokeV02n11=HFAV106HF4V106HE3V105HD2V105HB6V105H9AV103H7CV101H66V101H50V101H4FV101H4FV101)]

[IUnPress,TRANSFORM: EDIT]
[IPress,TRANSFORM:MOVE]
[CanvasStroke,(ZObjStrokeV02n14=
H170V11BH172V11BH17CV11BH189V11CH1ABV11FH1B7V121H1BAV121H1BEV121H1CCV124H1CEV124H1D0V124H1D3V124H1D4V124H1D4V124)]
[IPress,TRANSFORM:ROTATE]
[CanvasStroke,(ZObjStrokeV02n23=
H1ADV11BH1ADV11DH1ABV124H1A8V129H1A3V12BH19DV12EH196V131H195V131H194V131H192V131H191V12FH191V12DH191V12BH192V12BH194V12AH196V128H198V126H199V126H19AV126H19CV126H19DV126H19DV125H19DV125)]
[IPress,TRANSFORM:DRAW POINTER]
[Delay,1]
[Note,"And it can also be used as a drawing brush.",29901]

[Note,,STROKE:Dots,-1]
[Note,"Selecting the \Cffa000Dots\Cc0c0c0 stroke mode, and drawing...",TOOL:COMPOSITEMESH01,3]

[IPress,STROKE:Dots]
[ISet,DRAW:DRAW SIZE,18]
[CanvasStroke,(ZObjStrokeV02n20=H64VD1H65VD1H66VD1H68VD1H6DVD0H7BVCFH91VCEHADVCBHCFVC5HF5VB7H10FVAFH125VA1H13FV8DH155V7DH169V69H17FV55H189V49H19DV39H1A5V25H1A5V25)]
[CanvasStroke,(ZObjStrokeV02n17=H5AV161H5BV160H6FV160H8DV160HA9V162HC9V166HEDV16DH119V174H13DV17BH14DV17EH16DV192H18DV1A8H1ADV1BCH1C9V1CCH1E3V1D2H1F1V1D4H1FBV1D6)]
[Delay,1]
[Note,"This concludes the MultiMarkers primer. To return to your original document, press the red button in the ZScript window.",1,-1][RoutineCall,ExitNote] 

] // end sectionBegin
[routineDef,ExitNote,
	[Note,"\n\n\C909090(Click continue, press 'Esc' to abort.)\Cc0c0c0",,0]
]
[pd]
[iButton," Return to your original (saved) document ","Return to your original file",
	[fileNameSetNext,zbInitSavedDocMM]
	[if,[isEnabled,document:save],
		[iKeyPress,'N',[iPress,document:open]]
	, // else nothing to save
		[iPress,document:open]
	] // end if
	[varSet,zbInitSavedDocMM,""]
	[varSet,zbInitDocSavedMM,0]
	[varSet,zbPrimerTempOpenMM,0]
] // end iButton
[sectionEnd] // end of MultiMarker tool
