Alessio Posted May 15, 2020 Share Posted May 15, 2020 Hi, I added my own custom record to a projector in the projector models.vwx file. When i use the "Video Screen tool" and i select the projector where i attached the record to, it imports the record format in my active drawing. Now i made some "auto generate worksheets" in vectorscript and i want to seach for the record but it only works if i check the "plug-in object" checkbox in the header search criteria. Does somene knows how to enable the "plug-in object" option in the script. my script: dynCharArray:DYNARRAY [] OF CHAR; var tH :handle; dynCharArray := '=DATABASE((INSYMBOL & (R IN [''[Faber]Projection'']) & (''[Faber]Projection''.''Amount''>=1)))'; SetWSCellFormulaN(tH,5,0,5,0,dynCharArray); SetWSCellFormula(tH,5,1,5,1,'=(''[Faber]Projection''.Amount)'); SetWSCellFormula(tH,5,2,5,2,'=(''[Faber]Projection''.Brand)'); SetWSCellFormula(tH,5,3,5,3,'=(''[Faber]Projection''.Type)'); Quote Link to comment
Alessio Posted May 15, 2020 Author Share Posted May 15, 2020 sometimes you need to reboot your vectorworks😅 It works with INOBJECT. This post may be deleted. 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.