Jump to content
Martin Crawford

Symbols and Folder Locations

Recommended Posts

I am creating a script to create about 100 symbols, I would like to place them into various folders.

 

I have the script working except for putting into the correct folder, is there an easy way to create them in a specific folder?

 

Thanks

 

Martin

Share this post


Link to post

def  vs.InsertSymbolInFolder(targetFolder, symbolDef):

   return None

 

Should do what you want. 

 

You might also what to look at the BeginFolder/EndFolder if you are creating all the symbols that go in a single folder at once.

 

You might also need to look at BeginFolderN/EndFolder and NameObject to create the symbols folders .

 

 

Share this post


Link to post

Thanks

 

Sometimes the answer is right in front of you.

 

Insert worked great,

 

So far I have cut the amount of time to create a drawing from 4-5 hours to about 2 hours. I think I can cut it down more by creating a few more scripts.

 

I like python coding...

 

Thanks for the assistance.

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

×