Jump to content
Collyns LD

Marionette Set Class not functioning properly

Recommended Posts

I'm kinda stuck and need a little help. I'm creating a Tyler GT Plug-in object that contains all the truss i use, and allows the connectors to be flipped. For easy sorting on big shows all symbols are in a "master class" but i would also like them Marionette symbol that is created to be placed in classes according to  length for easy sorting. 

Everything is working and the debug print is showing the proper string, but the class is not assigned the the object the first time around. it's takes two presses of the run command to assign the class by the radio button length option. As a result, when creating a plug-in object out of the wrapper, you cannot run the script twice so the class is never changed.

Can anyone please point me in the right direction. The only thing i can possibly think of it's trying assign the class before the object is done being created, and second time around, it's already there. Is there a way to time the script? Maybe a sleep function?

 

 

TRUSS v2019 Marionette Test V2.vwx

Share this post


Link to post

So I jammed a second group and a second set class after the frost ones and now it's working. It wont work with only 1 set class at the very end.

Now on to adding the legs 🙂

 

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