Search the Community
Showing results for tags 'select obj'.
-
Hi there, Unfortunately, I have little to no experience with Vectorscript. So far I have created scripts via Marionette or menu commands. I often want to select Light Instruments by its "Fixture Name". Therefore I used Vectorscripts to select them by their individual name. Script looks like this: DSelectAll; SelectObj(INSYMBOL & INVIEWPORT & ((PON='Lighting Device') & ('Lighting Device'.'Inst Type'='ALEDA B-EYE K20'))); I have all these scripts in the Scriptpallette: 'Sel Scheinwerfer' The annoying thing is that so far I have to modify each script individually as soon as I add new light instruments to the drawing which I have not used before. It would be great if its possible to use a script that creates the individual scripts for the light instruments currently imported in the drawing. Is this possible? Maybe someone can point me in the right direction. Thanks for your help in advance Tom
- 8 replies
-
- vectorscript
- light instrument
-
(and 1 more)
Tagged with:
-
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?
- 9 replies
-
- select obj
- string variable
-
(and 1 more)
Tagged with: