Hi,
Here is a snippet from a script I have been using for some time but, with the advent of VW2018 it has stopped working. It seems that the variable string 'sides' is no longer passed to the Class type selector in SelectObj (it only works if the actual selector is set to (C= 'sides') directly).
Procedure CustTool;
VAR
LineType:STRING;
PROCEDURE Poly (line: STRING);
BEGIN
lineType:= line;
SelectObj((C=lineType) AND (V=TRUE));
END;
BEGIN
Poly('sides');
END;
Run(CustTool);
Has anyone else come across this /can anybody shed any light on it please?