• Announcements

    • JimW

      The Future of Algorithmic Design   05/23/2017

      Natively available within Vectorworks software, Marionette delivers an algorithmic means to orchestrate and dictate design forms and customizations without needing to be a programmer.   Let the Marionette collaboration begin. Watch this video to learn how you can upload and share Marionette objects, nodes, and networks with your peers.
taavilooke

Changing window custom sash options in Marionette

4 posts in this topic

Hi!

 

I have a project where I have to create about 500 windows with custom sash options (multiple panels, some operable-openable, others fixed). There are reasonable constraints like the operable parts being the same width everywhere. This seems like a perfect place for using Marionette to set all the custom sash options according to some pattern from a record or sth similar.

 

Is there a way to access the custom sash options of windows inside a marionette script? Looking through all the nodes, I cannot find anything for this purpose. The Vectorscript/Python reference does not give me much either.

 

Regards,

Taavi

 

 

Edited by taavilooke
0

Share this post


Link to post
Share on other sites

@taavilookeI am thinking the best option is to modify a styled window close to the one you need, and save it as a style.

Keep making different styled ones either new or from the previous one created.

Marionette will only create you a window object and you would need to convert it to a styled window anyways. (Happy to be corrected)

0

Share this post


Link to post
Share on other sites

I'll try to explain the situation a bit more:

 

I have already created all the windows in the model with the correct rough opening sizes. Now I have to specify how they are divided up into panes. Style-wise they are all the same style, just that the dimensions and sash patterns are different. The tricky part is that almost none of the windows will have the same sash-panel patterns. I'm hoping I can specify the sash pattern through some code and then make Marinonette (or vectorscript/python) set the custom sash options for all the windows. Styling all the 500 windows manually will be a headache...

0

Share this post


Link to post
Share on other sites

A better option may be to use a worksheet.  You can add columns for the parameters you want to be able to control. Edit the first one and then copy that cell, select all the other cells in the column and Paste.  Kind of works like Fill Down in Excel.

 

Scripts can work, but you will need to have either one script that changes all of the parameters or multiple scripts for each different parameter. And in order to make a change you will need to edit the script first and then run it. You could put in dialog boxes, but the time you spend writing and editing the scripts is likely to be more than the time to make the changes manually.

 

Take a look at the following thread to find how to see what formulas you would need in a worksheet.

 

You probably should read back through the thread to see what the script is supposed to do. Make sure you run the script with a window NOT In Wall as the only selected item in the drawing.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now