Jump to content
reGenerate Design

Marionette - data coming out of Content Node

Recommended Posts

Hi there I'm a newbie to Marionette and and excited about learning it. However, I'm having trouble with some unexpected wire values coming out of the Contents node that I'm hoping someone can help me with.  

 

I made a simple group with some rectangles in it, and used a Name node to get that into Marionette. Then I put a Contents node to get the individual rectangles in. When I debug the wire coming out of the Contents node, I've getting a single value containing codes corresponding to the number of rectangles in the group, but I'm expecting a list of values with each value being "Vectorworks Handle type: 3". 

 

I'm using this video as a guide, and at 21:25  is where I'm learning what the Contents node should output (

 

Thanks so much in advance for your help

Marionette practice 3.vwx

Edited by reGenerate Design

Share this post


Link to post

Hello
The Content-Node "groups" the Values in List sequences (to be able to get groups in groups). In your case, just use the "flatten-Node" to get single values instead of a list-sequences.

image.thumb.png.07da8659824eaf5078cd2d34b5722899.png

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