C.Miguel Posted September 15, 2018 Share Posted September 15, 2018 Hi, I did a marionette script using some DomC script (thanks to him) to setting up quickly all the classes, layers and stories and get the good setup for every project I Would have. I got the class, layer and story creation working fine. My problem come when I want to setup the story elevation. I was using the function (vs.SetStoryElevation)seems not working. My next step would be to set every layers with the correct story, I guess using ( vs.AssociateLayerWithStory). Could you help me to find what I'm doing wrong...kind of new user. You will find enclosed my file. Thanks ClasseListe.vwx Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted October 9, 2018 Vectorworks, Inc Employee Share Posted October 9, 2018 Hello @C.Miguel- sorry for the late response but I think I have discovered a bug in the story setup commands. I have attached a file that works, but it is important that you set up storys BEFORE you create classes. This is one of the few things that have a set order of operations in Vectorworks. I would also recommend you add in the command CreateStoryLayerTemplate and use that to create your layers, not creating them first and then associating them to a story. The bug I noticed is something to do with units. The document units of the attached file are millimeters, and the command seems to work as millimeters, but if it is set to different document units, it still reads the number as millimeters. I will file a bug but until then I would recommend creating your scripts to set up files using millimeters and then change the document units after running the script. Create Storys mm.vwx 1 Quote Link to comment
C.Miguel Posted October 9, 2018 Author Share Posted October 9, 2018 Hi Sarah, Thanks for your answer. The file works great...And I will follow the steps to create first Story and then classes, didn't know that. For the unit, it doesn't matter for the moment, I will wait the bug solved and will process has you said. Thanks again for your solution. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted October 9, 2018 Vectorworks, Inc Employee Share Posted October 9, 2018 Sorry I meant to write set up Storys before you set up Layers - this is because you can then use CreateLevelTemplate to create your default story levels as well as have the option to create associated layers at the same time. 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.