Jump to content
RDS Casa

Marionette limits to Dim input

Recommended Posts

Hello.

Is there way to put limits on the dim input nodes? Or alert users to the limits? Eventually my script creates a marionette object. But if some of the user parameters go below a given number the relationships fall over. So ideally the control parameters in the user info box will not let the parameters go below (or above) a give size range?

Thanks so much

Share this post


Link to post

@RDS Casa

There are a handful of ways that can help with this. Alan's example is one way, another would be to use a slider control (it could still be overridden, but the slider itself would have the limits)

Another thing you could do is set it so that if a user goes below or above a certain number, the dimension would be the smallest possible one they could use.

You could also wire up a node that will alert the user if there is an issue from the User Interaction category.

 

In the file attached, the first circle is defined by a slider control. The user can slide between 1 and 25 for the radius, the user can override the value by typing it in.

The second example will alert the user when their value is less than 1 and will set the radius (size) to 1, otherwise the network will just create the circle.

 

You could take the alert and also use it in the slider control if you'd like. Keep in mind that when the value gets overridden in the script that the value in the OIP will be inaccurate until set to a valid value by the user.

ErrorHandling001_MFarrell.vwx

Share this post


Link to post

Are these VW 2018 files? I've not upgraded yet, normally I wait a bit until the bugs are ironed out.

 

I'll down load an install the new version 

Thanks

Share this post


Link to post

Hello, sorry, not updated to 2018 yet, just need to sort out the vss login details,  but in the short term ...

I was adding brackets to name of my nodes to control user input  e.g.

"Width (200 - 400mm)"

Big NO to this.

Its taken me ages to work out why nothing was happening. I've been copying and posting bits of the network into a sand box layer, until I eventually found out that if you put brackets into a name, it all stops working????? at least this is happening to me.

Are names text and numbers only? I've not read anything about restrictions? 

VW should stop you from putting these in if so.

 

 

Share this post


Link to post

Yes, this is a current limitation. It's being looked into internally to see if we can find a way to allow it.

Right now, no special characters are permitted in node names. You can use underscores, though.

Share this post


Link to post

Hello again,

Is there a way to name an input node (for my sanity) but for it not to appear as a user parameter in the marionette object?

Thanks

Share this post


Link to post

Yep, seriously need a warning when special characters are mistakenly included in the name, a rouge full stop just cost me an hour. 

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...