Gregi Posted March 4, 2020 Share Posted March 4, 2020 Hi Forum I'm really new in Marionette, so I get struggle on some (maybe) easy points. I want to connect objects (Symbols OR Marionette-Objects like rectangle,...) to a record and if the Object is existing more than just once it should be set the same way every time. I tried it this way but its not working. Do you have any ideas? Forum_Set Record x times.vwx Quote Link to comment
m.graf Posted March 5, 2020 Share Posted March 5, 2020 @Gregi I would always assign one individual value in a database, in your case for example the position of the symbol. Alternatively, you can create one individual number (inventory number). Than keep this individual number as the first value (column) in the database. In a similar project, I only succeeded with this simple change. If that's not the solution, I'll take a closer look at your file. Quote Link to comment
m.graf Posted March 5, 2020 Share Posted March 5, 2020 @Gregi, entering the datafields as a repeat list is an interesting idea, but I don't think it works. Respectively I find no solution. List processing is somewhat difficult in marionette, here it would be very helpful to optimize marionette in the future. Here my experiments and a simple variant that works at least. (the lower one) Forum_Set Record-mg.vwx Quote Link to comment
Gregi Posted March 6, 2020 Author Share Posted March 6, 2020 @m.graf Thank you very much for your help! So i have to insert a separate "set record field" node for every single field - that's it 🙂 Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted March 12, 2020 Vectorworks, Inc Employee Share Posted March 12, 2020 I think you could try using a Mix2 node and choose the Cross Reference mode in the Object Info palette of the node. The important thing for list handling in this instance is that there are the same number of values flowing to each input. The Mix 2 node allows you to repeat values in the way that you want. Mix2 Cross Reference Example.vwx 1 Quote Link to comment
m.graf Posted March 12, 2020 Share Posted March 12, 2020 Hello Sarah Great, it even works! The handling with lists remains my personal weak point. 😫 greatings M.Graf @Gregi - take the example of Sarah it is much better Quote Link to comment
Gregi Posted March 12, 2020 Author Share Posted March 12, 2020 Hi Sarah This is great an makes my network more clear! Quote Link to comment
Gregi Posted August 6, 2020 Author Share Posted August 6, 2020 I just realized a weird thing. If I connect an object with several record fields I got duplicates in the output. A Bug? It's easy to fix with a "Remove Duplicates" Node Wrong, If i want this object to move afterwards: And fixed: 1 Quote Link to comment
Recommended Posts
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.