Welcome to the Cinema 4D Forum

Cinema 4D F.A.Q (Updated: 2007 Jul 13 6:44 pm)

C4D Gallery Speed Modeling Sessions C4D Freestuff
 
 
Checkout the Renderosity MarketPlace - Your source for digital art content!


 Subject: Import multiple .dxf files?

speters1 opened this issue on Aug 06, 2013 · 8 posts

Top of Forum Unsubscribe Print

  speters1 ()  ( posted at 7:52PM Tue, 06 August 2013 

I am going to be getting around 600 .dxf files that I need to combine into one scene inside c4d. These are going to be just a bunch of splines. Now I no that I can just drag multiple files over from the content browser into one file, the problem with that is a dialog box pops up on each one of those files. So any ideas on how I can either automate clicking ok on the dialog box, using the default settings, or anyway to combine all of those files without a dialog box?

 

Thanks,

Steve


  speters1 ()  ( posted at 3:28PM Wed, 07 August 2013 

Once I figure that out the next thing is that each file has multiple splines that would first need to be converted into one spline so that I could apply a sweep nurbs to each spline. I have figured out how to connect, optimize, then join, to get one spline. But I would need some sort of script to be able to do this 600 times. If I was in PS I could create and action for something like this. Any ideas?

 

I have attached a file with just a few of the dxf files dragged into on scene.

 

 

 

Thanks,

Steve


  speters1 ()  ( posted at 3:28PM Wed, 07 August 2013 


Once I figure that out the next thing is that each file has multiple splines that would first need to be converted into one spline so that I could apply a sweep nurbs to each spline. I have figured out how to connect, optimize, then join, to get one spline. But I would need some sort of script to be able to do this 600 times. If I was in PS I could create and action for something like this. Any ideas?

 

I have attached a file with just a few of the dxf files dragged into on scene.

 

 

 

Thanks,

Steve


  contrafibbularities ()  ( posted at 5:07PM Wed, 07 August 2013 

In the Content Browser, select all files you want to get into your scene. Hold down the ALT key while right-clicking in the Content Browser and selecting "Merge" from the context menu. All dxf files should then be added to the scene without the import dialogue.

I thought there was an option to switch off the import dialogue in the preferences altogether, but it appears I was wrong, or I just couldn't find it...

Not sure how to solve your other problem without a script or maybe XPresso...

Cheers,
contrafibbularities


  speters1 ()  ( posted at 5:53PM Wed, 07 August 2013 

Thanks for the reply. I just tried merging the selecting files, exactly sa you said, in the content browser and it still gives me a dialog box for each file.

For the joining the splines I just saw a quick tutorial on the script log, which basically works like PS actions. But I can not figure out how to get it to record selecting the next layer. I will have to keep researching.

 

Thanks,

Steve


  speters1 ()  ( posted at 6:27PM Wed, 07 August 2013 

Also, I can't figure out how to get the script log to select all of the splines inside of a group or select the next group?


  contrafibbularities ()  ( posted at 1:27PM Thu, 08 August 2013 

Sorry to hear the trick with the ALT key doesn't work for you. I've just tested it in R14 and it does the trick for me. Can't help you with the scripts, I'm afraid.

Instead of using SweepNurbs would something like SolidSpline be an option for you? Because in that case it would just be a matter of selecting all splines, adding a Solid Spline tag to them, and changing the settings of the tag as required, and add a material to change the color etc.

Cheers,
contrafibbularities


  cartesius ()  ( posted at 7:47PM Fri, 23 August 2013 

The ALT key trick is the only way I know for bypassing the dialog. Scripting (and perhaps some Xpresso) could probably solve your connection issues but that is a dark area for me, I'm afraid.

/Anders

CINEMA 4D Forum Moderator
Contact Me | Gallery | Store | dogday-design.se

 

 


 To create a post you must first sign in or register an account.