Jump to content

Solve this without custom Node

Recommended Posts

Posted (edited)

I am close before using a custom node and I thought, this time I ask before I create a new custom node 🙂
I have two corresponding data flows in two wires.  I want to add items of the second wire by counting the  items in first wire.

'obj1', 'obj1', 'obj2', 'obj3', 'obj3', 'obj3', 'obj3'

second wire is:

'str1', 'str2', 'str3', 'str4', 'str5', 'str6', 'str7' 

Somebody knows how to concatenate the strings of the second wire corresponding to the count of the items in wire 1?

'str1str2', 'str3', 'str4str5str6str7'

In a second scenario, I have already grouped the second wire in lists of the lenght of counts of the items in wire1

'obj1', 'obj2', 'obj3' 
['str1', 'str2'], ['str3'], ['str4', 'str5', 'str6', 'str7'] 


I repead: It is no problem to solve that with python, but with standard nodes I need an idea.


Add List of Strings.vwx

Edited by DomC

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.

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