KroVex Posted August 15, 2022 Share Posted August 15, 2022 Hi All I'm trying to build a Wall Merger Tool (separate Walls are combined to one Wallstyle). Im almost done, but one last thing make me crazy: With vs.GetObjStoryBound i can get the Layer Level Types. It needs as input the component handler and the boundID. The boundID needs a 0 for the lower edge and a 1 for the upper edge. So if I feed in a list of 1's, or a list of 0's, I get all top edges or all bottom edges extracted. But when I shuffle the lists (no matter how), wrong values come out:GetLayerLevelType.vwx Sure, I could use "Get Component Story Bound" twice, once with 0 lists and once with 1 lists. But I'm interested in why it doesn't go together and it wouldn't be solved that nicely either. Does anyone have an idea or explanation? Greetings KroVex Quote Link to comment
Marionette Maven Marissa Farrell Posted August 29, 2022 Marionette Maven Share Posted August 29, 2022 This has to do with the way Marionette runs - it will run as many times as the longest list, repeating the last value. It's lightly discussed on this page: https://developer.vectorworks.net/index.php/Marionette_Basics In any case, I'm attaching a network that I think does what you'd like better, let me know if you need any more help! GetLayerLevelType_MFarrell.vwx 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.