Jump to content
Nico vd Schaaf

SET WS subrow value

Recommended Posts

Hi,

 

I've found a node that can get a subrow value (of a database row). Now I'm looking for a node that can SET a subrow value. Does it exist?

 

I've got a worksheet that counts symbols per space object. But I want the number to appear in a space label. Currently I use 2 WS to fix this: 1 WS that counts the symbols per space object and a second WS that just lists the space objects in which I manually type the symbol count (as shown in WS1) so it appears in the space label.

 

I was hoping that Marionette could automate this process for me.

 

Nico.

Share this post


Link to post

Subrows are calculated based on criteria, so the way to do this would be to modify the data attached to the item the subrow is referencing.

Which field do you use when adding the count data to the space object?

Share this post


Link to post

Hi Marissa,

 

Thanks for thinking along with me!

 

I'm using the no. of occupants field ('Space'.'11_Number of Occu'). I guess you'll need to grab both the 'count' and the object ID from a particular row and combine them in order to add the correct count to the correct space object? 

 

It also would be nice to recalculate the WS that counts the symbols. I guess for this action a node is also needed?

 

Regs,

 

Nico

 

 

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