• Announcements

    • JimW

      The Future of Algorithmic Design   05/23/2017

      Natively available within Vectorworks software, Marionette delivers an algorithmic means to orchestrate and dictate design forms and customizations without needing to be a programmer.   Let the Marionette collaboration begin. Watch this video to learn how you can upload and share Marionette objects, nodes, and networks with your peers.
DomC

Batch Import SketchUp

7 posts in this topic

Another example for a Marionette productivity-tool.

 

The Attached Marionette Network imports all .skp Files from a chosen or predefined folder as Symbols.

 

Limitations:

- No special characters like äöü (I think a limitation of the vectorscript function)

- No Sub-Folders

 

This is a fore-taste of a couple of nodes I did the last weeks for import/export data or mass-modification of resources. So stay tuned ... :-)

 

DomC

Import SU.png

BatchImport SketchUp.vwx

2

Share this post


Link to post
Share on other sites

Mmmh, and if i want import image to create ImageProp?  I see un node called 'Image prop".

When i replace your "Import sketchup AsSym" by Image prop, of course, nothing appers..

 

Could you show me how to do?

 

0

Share this post


Link to post
Share on other sites

Posted (edited)

Hi

The "GetFiles"-Node, collect files by a suffix. I think you input a wrong suffix (fill in suffix in the string input without the dot). If you want to see, which suffix your image files use, you can see that by select your file in the finder and hit cmd+i.

 

OK, the "GetFiles"-node could be improved by collect all files, if suffix is not delivered by user input. 

 

Edit:

I can't say what "Image Prop" exactly do "texture ref" seems to be something which already have to exist in the drawing. I can remember, I tried to abuse "Image Prop" to batch import 3D Textures  but that failed. 

 

I used a script instead, to convert images to arroway import-format here. And import them with the import-arroway command:

https://forum.vectorworks.net/index.php?/topic/46877-create-a-texture-with-color-shader-with-imported-image/#comment-239269

 

Edited by DomC
0

Share this post


Link to post
Share on other sites

Thnak you.

But, what i want to do is a batch to import image from a folder (suffix tif) and create image props.

I tried to adapt your batch but unfortunately, it doesn't work..

 

It's the fort time i use Marionette...

In attachement, the file

 

Could y ou help me? :-)

BatchImportImageProp.vwx

0

Share this post


Link to post
Share on other sites
1 hour ago, DomC said:

I can't say what "Image Prop" exactly do "texture ref" seems to be something which already have to exist in the drawing.

 

 

Cool, this script help me to import de directory with image into textures.  It's very useful.

But with te "Image Prop", i don't understand...

 

I've tried with the name of a texture existing in the file but without results

0

Share this post


Link to post
Share on other sites

I just tried the bulk SketchUp import. Not sure if I'm doing something wrong, but when I run the network and choose the folder containing the .skp files, I get the following error:

 

5941a5160098a_ScreenShot2017-06-14at2_04_23PM.png.cd51035ef42ece502894a60c4fb84925.png

 

I'm not very familiar with Marionette so I'm not sure what it means. @DomC?

0

Share this post


Link to post
Share on other sites

Posted (edited)

Hi

 

The "GetFiles"-Node, need a suffix (skp) I think. Enter the suffx in the string input node.

Hope this helps

 

Dom

 

 

 

Bildschirmfoto 2017-06-15 um 22.28.27.png

Edited by DomC
0

Share this post


Link to post
Share on other sites

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