Jump to content
Alessio

plug-in object

Recommended Posts

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)');
 

 

 


 

tempsnip.png

Share this post


Link to post

sometimes you need to reboot your vectorworks😅

It works with INOBJECT.

 

This post may be deleted.

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...