Hello I made a script to import a obj like this
[FileNameSetNext,“Path.OBJ”][IPress,Tool:Import]
but how can I do somthing like that with a ZTL instead of OBJ
Hello I made a script to import a obj like this
[FileNameSetNext,“Path.OBJ”][IPress,Tool:Import]
but how can I do somthing like that with a ZTL instead of OBJ
You’d just use Tool:Load Tool instead:
[FileNameSetNext,“Path.ZTL”][IPress,Tool:Load Tool]
That makes it turn into a new subtool and not imported or appended like the OBJ.
How can I appended it or copy from new subtool and make script switch back to old subtool and paste?
Think I figured it out it! Thank you!!
[FileNameSetNext,“Path.ZTL”][IPress,Tool:Load Tool]
[IPress,Tool:SubTool:Copy]
[ISet,Tool:Item Info,48]
[IPress,Tool:SubTool:Paste]
First time using “ISet,Tool:Item Info”
That’s the way, though it will only work if the tool you want to append to is at 48 in the Item Info slider.
You need to make sure the right tool is selected by storing its position first:
[VarSet,toolID,[IGet,Tool:Item Info]] //store tool ID
[FileNameSetNext,“Path.ZTL”][IPress,Tool:Load Tool]
[IPress,Tool:SubTool:Copy]
[ISet,Tool:Item Info,toolID]
[IPress,Tool:SubTool:Paste]