tmichealsmith Posted June 27, 2008 Share Posted June 27, 2008 I want to be able to automate including the location of instruments along the x axis in lightwright. Ideas? Quote Link to comment
Rick Martin Posted June 30, 2008 Share Posted June 30, 2008 Autoplot Tools for Spotlight does this. Quote Link to comment
rocitop Posted July 1, 2008 Share Posted July 1, 2008 This script should help out. I did not come up with it but I can not remember who gave it to me. PROCEDURE XToUser2; VAR TheLayer : HANDLE; PROCEDURE PlaceXCoord(theFixture:HANDLE); VAR x,y,z : REAL; xString : STRING; BEGIN GetSymLoc(theFixture,x,y); xString := Num2StrF(x); xString := concat('X = ',xString); SetRField(theFixture,'Lighting Device', 'User Field 2',xString); END; BEGIN ForEachObject(PlaceXCoord, ((R IN ['Lighting Device']))); END; RUN(XToUser2); Quote Link to comment
rocitop Posted July 3, 2008 Share Posted July 3, 2008 It is pretty slick, now if I could come up with away to get it to list negative values as stage right and positive ones as stage left. Seems like it should be little more than a if else loop but I am still new at these vectorscripts Quote Link to comment
Rick Martin Posted July 3, 2008 Share Posted July 3, 2008 The script forum is pretty active. I bet you could get help within a day from the folks over there. Quote Link to comment
rocitop Posted July 4, 2008 Share Posted July 4, 2008 I got help pretty quick from the vectorscript email list. PROCEDURE XToUser2; VAR TheLayer : HANDLE; PROCEDURE PlaceXCoord(theFixture:HANDLE); VAR x,y,z : REAL; xString : STRING; value : CHAR; BEGIN GetSymLoc(theFixture,x,y); value := Num2StrF(x); IF (value = '-') THEN xString :='Stage Right ' Else xString :='Stage Left '; xString := concat(xString, Num2StrF(abs(x))); SetRField(theFixture,'Lighting Device', 'User Field 2', xstring); END; BEGIN ForEachObject(PlaceXCoord, ((R IN ['Lighting Device']))); END; I was able to get it to add stage right or left depending on if it was a negative number myself, it was getting it to display Stage Right 9'8" not Stage Right -9'8" that I had to get help with. Now let the massive pipe tape party begin. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.