Hi again !
The more I script, and the more I encounter problems
so this time I try to make a script which saves the current tool coordinates, then clear and resize the canvas, then puts the tool back three times in different angles.
but for some reasons, the transform set doesn’t work and nothing happens afetr the canvas resizing.
Here is the code :
[VarDef, VGCurrentGradientRate, [IGet, document:rate ] ]
[VarDef, VGCurrentWidth, [Iget, document:width ] ]
[VarDef, VGCurrentHeight, [Iget, document:Height ] ]
[VarDef, xPos, 0]
[VarDef, yPos, 0]
[VarDef, zPos, 0]
[VarDef, xSc, 0]
[VarDef, ySc, 0]
[VarDef, zSc, 0]
[VarDef, xRot, 0]
[VarDef, yRot, 0]
[VarDef, zRot, 0]
[IButton, “Tool:Vinny Tools:VSheet”, "Create a sheet ",
] //end IButton
I guess that the transformset cant, f9ind that last drawn tool, but how can i proceed in this case ?
Thx !