Jump to content
Developer Wiki and Function Reference Links Read more... ×
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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.