Jump to content

Alessio

Member
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Alessio

  1. @Antonio Landsberger i can't get it to work. i want it to be like the image below.
  2. Hi @Antonio Landsberger , Thank you for your supply. I am not realy sure how to do this. I am quite new at marionette. I want to create it with a input like the image. i hope you can help me out. Regards, Alessio
  3. Hi, I am wondering if it is possible to show the output value of a math node in the object info shape menu like on the image below. If it is, can someone tell me how to do it?
  4. Hi Michaelk, this is exactley where i was looking for!!! great!!!! thanks!
  5. I know where to do this but i want a quicker way to do it Alessio
  6. Hi All, can someone help me on a script to set all design layers to 1:100 Alessio
  7. Thanks for the reply, I created a workaround Now it works like i wanted it to work.
  8. Hi, I Created a custom dialog to create several worksheets. On the custom dialog i made a checkbox to export the active worksheet to a .txt file. I wonder if its possible to make is like: if you check several checkboxes and the "EXPORT TO TXT" checkbox is checked than it wil give me after the sheet is generated the "Export Worksheet" dialog. Example : Check the "Total LED" checkbox Check the "LED Screen 1" checkbox Check the "EXPORT TO TXT" checkbox Press "Create" The Script Creates the worksheet The Script opens the export setings DoMenuTextByName('Export Worksheet',0); You store the Export to a destination The Script will repeat the steps on every checkbox that will be cheked. Part of the scrip: GetBooleanItem(id, 6, Bool); if Bool THEN DoMenuTextByName('Oaktree ALL LED',0); GetBooleanItem(id, 7, Bool); if Bool THEN DoMenuTextByName('Oaktree LED Screen 1',0); GetBooleanItem(id, 8, Bool); if Bool THEN DoMenuTextByName('Oaktree LED Screen 2',0); The id of the "EXPORT TO TXT" checkbox is 37. i hope someone has a solusion. Alessio
  9. sometimes you need to reboot your vectorworks😅 It works with INOBJECT. This post may be deleted.
  10. 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)');
  11. Hi All, I got it working the way i want with the custom dialog. thank you!
  12. Hi Josh, I changed the script from a tool to a menu command and tried triggering it with "Do Menu Text By Name" and that worked perfect. i also created a Custom dialog with checkboxes. How can i make a checkbox listen to a "DoMenuTextByNamen"if it is checked? Here is the script for the dialog: PROCEDURE CreateDialog; VAR id: LONGINT; result : LONGINT; BEGIN id := CreateLayout('Create Screen Report',TRUE,'Create', 'Cancel'); CreateStaticText(id,5,'Select Screens:',-1); CreateCheckBox(id,6,'All Screens'); CreateCheckBox(id,7,'Screen 1'); CreateCheckBox(id,8,'Screen 2'); CreateCheckBox(id,9,'Screen 3'); CreateCheckBox(id,10,'Screen 4'); CreateCheckBox(id,11,'Screen 5'); CreateCheckBox(id,12,'Screen 6'); CreateCheckBox(id,13,'Screen 7'); CreateCheckBox(id,14,'Screen 8'); CreateCheckBox(id,15,'Screen 9'); CreateCheckBox(id,16,'Screen 10'); SetFirstLayoutItem(id, 5); SetBelowItem (id,5,6,0,0); SetBelowItem (id,6,7,0,0); SetBelowItem (id,7,8,0,0); SetBelowItem (id,8,9,0,0); SetBelowItem (id,9,10,0,0); SetBelowItem (id,10,11,0,0); SetBelowItem (id,11,12,0,0); SetBelowItem (id,12,13,0,0); SetBelowItem (id,13,14,0,0); SetBelowItem (id,14,15,0,0); SetBelowItem (id,15,16,0,0); SetHelpText(id,6,'This will create all screens combined in one report.'); result := RunLayoutDialog(id,NIL); END; RUN(CreateDialog);
  13. Oke i am completly new at this. Is there a manual somewhere how i can set it up?
  14. I want it to be like: Select tool -> click drawing -> get dialoge screen with screen selection -> press oke -> generate all the selected Worksheets.
  15. Hi Pat, Thank you for the quick reply, in the plug in manager i created a "tool" with just a script in it to generate a worksheet. In my tool set i made some buttons for it like in the video i attached. I want to make a tool that triggers these tools with the boolean selection. It would be great if that works. Kind Regards, Alessio ScreenRecorderProject2.mp4
  16. Hi All, I created some tools to generate workseets with record information of some custom symbols. Now i want to create a tool were I can select the sheetname that I want to generate. I started a new tool and then at "Edit Definition" I created some booleans with the sheet names i want to generate. Can someone tell me how to start the script? I want it to be like: If One boolean is selected than it runs the tool that generates the worksheets and if more booleans are selected it runs all selected tools. Kind Regards, Alessio
×
×
  • Create New...