wellebracht Posted August 26, 2024 Share Posted August 26, 2024 I have a Marionette that I would like to insert a 2d symbol from a Workgroup or project file I have under "favorites" in the Resource Manager, but the stock "Insert Symbol" node appears to only insert from the active project. Is there a different node, or a way I can augment the current node to look in the resource manager as a whole? Quote Link to comment
Pat Stanford Posted August 26, 2024 Share Posted August 26, 2024 Nodes have to be stored in VW files in specific locations for them to be seen by the Marionette Tool. I believe you can use aliases or shortcuts rather than duplicates of the file if you like where you have the file stored now. The relative path from the User folder or Workgroup folder is: UserOrWGFolder/Libraries/Defaults/Marionette If you want to have the node show up in a certain section there are specific subfolders the VW file will need to be put into also. I am not certain if you can create your own subfolders or not. Hopefully one of our Marionette Experts (or maybe the Maven herself) can help us out. And explain to me why the few subfolders (all empty) in my User Folder have $ characters at the end. Quote Link to comment
wellebracht Posted August 26, 2024 Author Share Posted August 26, 2024 My Issue is more that the Symbol I am referencing with the "Insert Symbol" node is located in a "Favorites" file, but the Marionette wont insert the referenced symbol unless that same symbol is in the active project folder. Quote Link to comment
Pat Stanford Posted August 26, 2024 Share Posted August 26, 2024 OK, I misread your post. You are not looking to add custom nodes to insert using the Marionette tool, you have a Marionette network that inserts a symbol and you want to be able to select that from a different file. I can't help on that one. @DomC? @Marissa Farrell? Quote Link to comment
Mirko Guhr Posted September 13, 2024 Share Posted September 13, 2024 Hi wellebracht, i have written a node for you and anyone else who needs it, which imports any type of resource (that is supported) from any file. The output is also this imported object and can then be directly packed into a symbol node or list. The value for type symbol is 16. Here is the documentation for the types: VALUE If the resource to be imported is already present in the document but modified, the usual dialog with change/overwrite, etc., will appear. It is not necessary to have the reference as a favorite or anything like that. The absolute path is specified. I haven’t done extensive debugging with this node yet. However, it is definitely not possible to work with %userprofile% syntax for AppData or user-specific storage locations within networks, at least in Vectorworks 2023. I also haven’t performed any tests regarding access-restricted folders. But I think it should work for you. Have fun with it, hope this is what you were looking for. Best regards 😉 Import Resource.vwx 1 Quote Link to comment
Mirko Guhr Posted September 14, 2024 Share Posted September 14, 2024 And now there’s already a change to the node. I thought it would be good if users who prefer a folder structure could also enjoy the node without pulling their hair out. Therefore, it is now possible to define a folder with an additional string input, which will be created at the first level or, if it already exists, the object will be placed directly into it. A hierarchy of folders cannot be created with this. The hierarchy must already exist, then the object will also move into the corresponding folder. ATTENTION!!! As is usual in Vectorworks, there must be no duplicate names. The node does not provide feedback if the name already exists. The folder will simply not be created if the name already exists. This does not have to be another folder. If there is a class/symbol or something similar with the same name, the folder will not be created. Example: The object to be imported is named Käsebrot. If I now define the input string for the folder also as Käsebrot, the folder will not be created. However, if I define the string as, for example, KäsebrotMitSpeck, this folder will be created, provided there is no KäsebrotMitSpeck yet. Feel free to play around and provide feedback if something doesn’t work Import Resource to Folder.vwx 1 Quote Link to comment
giobbe Posted March 31 Share Posted March 31 On 9/14/2024 at 7:43 AM, Mirko Guhr said: And now there’s already a change to the node. I thought it would be good if users who prefer a folder structure could also enjoy the node without pulling their hair out. Therefore, it is now possible to define a folder with an additional string input, which will be created at the first level or, if it already exists, the object will be placed directly into it. A hierarchy of folders cannot be created with this. The hierarchy must already exist, then the object will also move into the corresponding folder. ATTENTION!!! As is usual in Vectorworks, there must be no duplicate names. The node does not provide feedback if the name already exists. The folder will simply not be created if the name already exists. This does not have to be another folder. If there is a class/symbol or something similar with the same name, the folder will not be created. Example: The object to be imported is named Käsebrot. If I now define the input string for the folder also as Käsebrot, the folder will not be created. However, if I define the string as, for example, KäsebrotMitSpeck, this folder will be created, provided there is no KäsebrotMitSpeck yet. Feel free to play around and provide feedback if something doesn’t work Import Resource to Folder.vwx 274.63 kB · 11 downloads Hi @Mirko Guhr, do you have a concret example please? Thanks Quote Link to comment
Mirko Guhr Posted April 3 Share Posted April 3 (edited) Hello @giobbe, Here is an example. In my case, the file is located in the path: E:\VWX\Example To work correctly for you, you would need to: a.) place the file in the same path or b.) change the string in the example 🙂 Best regards Example.zip Edited April 3 by Mirko Guhr 1 Quote Link to comment
giobbe Posted April 8 Share Posted April 8 Hi @Mirko Guhr I tried everything, but it doesn't work, both on Mac and PC 😪 Quote Link to comment
Mirko Guhr Posted April 8 Share Posted April 8 (edited) Good day @giobbe, would you like to share some screenshots or a file with a section of your network? To help, I would need a better understanding of how the note is used in your network and what parameters it is fed with. Or does my example also not work for you? Best regards Edited April 8 by Mirko Guhr Quote Link to comment
giobbe Posted April 10 Share Posted April 10 hi @Mirko Guhr Look, I solved it The file versions were in 2023 instead I have the 2024 version I saved them both in the new version.. I need to re-enable all VectoWorks alarms 😆 1 Quote Link to comment
Mirko Guhr Posted April 10 Share Posted April 10 Hi @giobbe, i'm glad it was just that 🙂. I usually mention it, but this time I really forgot. Learned something again 👍. Good luck with the project! 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.