KroVex Posted July 21, 2021 Share Posted July 21, 2021 Hi All Inspired by this Network created by @sbarrett, I would like to create new Story's, but without creating new layers. To do this, however, the Story should be linked to the existing layer. The Dev-Wiki says that with the command "vs.CreateStoryLayerTemplate" the creation of a new layer is optional. However, if no layers are created, I need the command "vs. AssociateLayerWithStory" so that the story is linked to the layer. So that "vs. AssociateLayerWithStory" works, "vs. SetLayerLevelType" is also required (according to the Wiki), but this creates a new LayerLevelType (without elevation o.O) and I can't use the existing LayerLevelType from the Node "Create Default Story Level". It is also strange that in the organization I see the additionally created LayerLevelType at the Layer, but as soon as I edit it, it is not assigned to any one: What am I doing wrong? Or have I misinterpreted the procedure? File with the new Node: Story.vwx Greetings KroVex PS: I hope the translation is not too bad and you understand what I mean. 🙈 Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted July 21, 2021 Vectorworks, Inc Employee Share Posted July 21, 2021 Hi @KroVex In the script that I created, there are two levels that aren't associated with layers in the stories, and to create those I made a custom node that creates default levels that are not associated with layers and then adds them to each story. I did not associate them with a layer after creation. This is the script inside the "Create Layerless Default Story Level" node - I simply used a blank string for the layer name. This is the script inside "Add Default Store Level to Story". If the default level does not have a layer name associated with it, it will not create one when added to a story. 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.