Jump to content
Developer Wiki and Function Reference Links Read more... ×
RMDiekmann

Access to symbols in Default Files

Recommended Posts

With Marionette, Is there any way possible to access my Default Folder Files to retrieve symbols I would like to be in new drawing? Thank you for any help with this!

Share this post


Link to post

I created a node in the attached file called "GetExternalSymbol"

You'll be required to enter the full path to the file location as well as the name of the symbol you want to use.

This can be changed, if you want, we can make it more custom later.

A note on your path - based on your machine, you may have to normalize the path. The path in my example is windows based, you are required to do double slashes (//) instead of singular, due to escape characters in python.

Mac may be more difficult. If you need it, I'll look into it and get back to you soon.

Please let me know if you need any help with this.

Edited by MarissaF

Share this post


Link to post

Marissa,

Thank you so much for your quick response. Wether you know it or not, You have been my hero through my whole experience with marionette so far. I have been living on the forum for many weeks now. Almost there!! I am on a Mac Pro and I have attached a screen shot of my results.

I have taken one of the get symbols out of the network until I resolve what is happening.

Path string is /Users/robertdiekmann/Desktop/Test Symbol/SYMBOL TEST.vwx

symName is Red Cir

The screenshot shows that I receive a popup that look as if it is location points or it may have something to do with something more internal to the reference file . When i resolve that with OK. I get my results just fine.

Is there a way not to have this popup?

Share this post


Link to post

Whoops! That popup is my fault.

The node in this file shouldn't do that anymore :)

I often throw in alert dialogs to make sure my scripts are running correctly, and I forgot to comment this one out!

Share this post


Link to post

You ROCK! I am loving Marionette to death right now, as I have been able to cut hours out of my drawings with automating so many routines. I am sure I will be in touch. Thanks again.

Share this post


Link to post
You ROCK! I am loving Marionette to death right now, as I have been able to cut hours out of my drawings with automating so many routines. I am sure I will be in touch. Thanks again.

Now here's someone we need to hear more from, could you share some of your ideas and networks please so that we can learn from.

I noticed the Offset Poly node, Cant find this in my standard library.

Maybe looking in wrong location or maybe its one posted.

But thanks got it now.

Edited by Alan Woodwell

Share this post


Link to post

Allen,

Just starting to get my feet wet with Marionette and finding out you can teach an old dog new tricks. I can't take the credit for the offset node, I found it along the many hours of scanning this forum. I hope that you will be hearing more from me. This forum and the networks shared here have given me and users the ability to learn from others on our own time. I find it very hard to find formal education on a schedule that works for me and my family. I hope Nemetschek and other users keep this going.

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.

×