Hi,
I am trying to learn VectorScript to accomplish some basic tasks for now.
For example, in Spotlight, I want to select all plugin-style objects for a type of cable (dmx5) and change the class of all of them.
Here's my code. It doesn't throw any errors, but it selects all the cables and doesn't change the class.
Does anyone have an idea of what I might be missing here?
Thanks.
PROCEDURE SetDMXClass;
VAR
Class: STRING;
h:handle;
BEGIN
SelectObj(INSYMBOL & INVIEWPORT & (PST='Data XLR5-XLR5'));
h:= GetParent(FObject);
Class := '003.Lightning-005.Cables-004 DMX';
SetClass(h, Class);
END;
RUN(setDMXClass);