Jump to content
DomC

Batch Import SketchUp

Recommended Posts

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

  • Like 2

Share this post


Link to post

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?

 

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post
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

Share this post


Link to post

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?

Share this post


Link to post

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

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

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.

×
×
  • Create New...