CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > CoCreate Modeling Personal Edition

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 07-12-2009, 12:42 PM
dairymilk dairymilk is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
data exchange

Hi,
Can some one help me, how to batch export cocreate 3d models in to UG NX.
This would be of great help.
Thanks
Dairy
Reply With Quote
  #2  
Old 07-12-2009, 10:06 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: data exchange

CoCreate Modeling (the commercial version) or CoCreate Modeling PE (the free version)?

In the free version, your options are quite limited - basically, you can only write data in .pk2, STL and VRML format.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #3  
Old 07-13-2009, 05:42 AM
HomeBrew_Nation HomeBrew_Nation is offline
Registered User
 
Join Date: Mar 2009
Posts: 25
Re: data exchange

There is a add on program called Task Agent that will allow you to batch export a .pkg file to any other file types that you have a license for. The documentation on this module is dodgey, and the fact that I am mentioning the addon module does not condone Cocreates approach to provideing a base product and then nickel and dime your future needs, good luck.
Reply With Quote
  #4  
Old 07-13-2009, 10:13 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: data exchange

I guess the real question here is whether or not dairymilk is running Modeling PE (likely, since we posted here, i.e. in the PE forum) or the full commercial version.

Modeling PE (the free version) is probably too limited in terms of export formats, so I'd recommend to use the full version and use it to export data in some format which UX accepts.

Once the format of choice has been decided upon, converting files in a batch-like process is trivial. Using Task Agent may well be overkill for this particular case. That said, Task Agent is great for establishing well-defined automatic processes in a design team, of course.

Claus

PS: The discussion at http://cocreateusers.org/forum/showthread.php?t=7290 (in the Modeling forum!) is probably directly related to this.
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #5  
Old 07-14-2009, 03:49 AM
dairymilk dairymilk is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
Re: data exchange

Hi,
Thanks for the inputs, for my personal use at home i am using Personal Edition.
But at work iam using the full version.
I am a new user to CoCreate. I have to normally do a lot of data exchange from Cocreate to UG and vice versa.
Hence looking to batch export Cocreate files to UG NX, please suggest the best possible way for this data exchange.
Also How can I export Assosiative drafting files?
Suggestions would be of great help.

Thanks in advance
Dairy.
Reply With Quote
  #6  
Old 07-14-2009, 04:01 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: data exchange

I see two fundamental ways for batch processing:
  • All in one session: Run Modeling, load a model, save it in NX format, delete model, load next model, save it in NX format... - for this approach, all you need is a simple loop written in Lisp
  • One model per session: Run Modeling, load a model and save it in NX format, then terminate. Rinse and repeat for next model. For this approach, you can use any scripting language of your choice, such as DOS batch language, bash, VBScript...

To find the right command for saving in NX format (whichever format you prefer, in fact), step through the process manually and record it (using the Recorder goodie which ships with Modeling). Then edit the recorded file to your liking.
See http://www.clausbrod.de/OneSpaceModeling/MacroModelClipping for an example of this process.

If you follow the process, you will find out that the command to export data in (foreign) native formats is NATIVE_CAD_OUT.

To find out how to export 2D drawing data, you can use the same approach based on the recorder. Bonus hint: The command is called AM_STORE_DRAWING.

And finally, here is a code sample for a simple Lisp loop (completely untested):
Code:
  (dolist (file (directory "c:/files_to_convert/*.pkg"))
    (let ((filename (namestring file)))
      (load_package filename)
      (native_cad_out :cad_system :parasolid_unigraphics 
        :parts :all_at_top 
        :filename (format nil "~A.x_t" filename))  
      (undo)))
Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/

Last edited by clausb; 07-14-2009 at 04:20 AM.
Reply With Quote
  #7  
Old 07-28-2009, 06:20 PM
dairymilk dairymilk is offline
Registered User
 
Join Date: Jul 2009
Posts: 6
Re: data exchange

HI,
Is there a way , I can batch translate Cocreate models to step.
Iam looking for an outof the box feature with full version of Cocreate.
Please help ASAP.
Thanks alot.
Dairy
Reply With Quote
  #8  
Old 07-29-2009, 01:29 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: data exchange

Since we're discussing the commercial product now, I suggest we continue the discussion in the CoCreate Modeling forum at
http://cocreateusers.org/forum/showthread.php?p=22199 (which covers the same topic anyway).
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/

Last edited by clausb; 07-29-2009 at 06:20 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:03 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
You Rated this Thread: