It is currently Fri May 24, 2013 11:13 pm

All times are UTC





Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Copy and rename.
PostPosted: Fri Oct 05, 2007 2:50 pm 
Offline
MCAD Addict
User avatar

Joined: 17 Feb 2004
Posts: 586
A few years ago, I wrote some code to copy rename some assemblies and their associated parts. In order to accomplish this from inside Inventor some hacking was involved since Inventor would not allow this to happen using apprenticeServer called from an addin.

I had to create a com server application that called apprentice server to do the work using a different thread.

I need a similar program for .Net but I don't like the lack of connectivity between the apps.

Does this limitation still exist or can I do this directly from Inventor now?

_________________
Oh Yeah!


Share on FacebookShare on TwitterShare on DiggShare on DeliciousShare on TumblrShare on Google+
Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 5:17 pm 
Offline
MCAD Addict
User avatar

Joined: 22 Mar 2004
Posts: 530
Country: United States
State: Pennsylvania
CAD System: Inventor
I have not investigated this in depth yet so take it with a grain of Sodium Chloride. According to the 2008 API docs, the functionality of Apprentice has been rolled into the Inventor Type Library. The docs tell you that Apprentice is still supported but will go away in the future.

I too have a rename parts/assemblies routine (stand-alone using Apprentice though) that works unmodified using 2008 and Apprentice. It has been my plan to try this as an add-in but I can

_________________
Robert A. Williams
http://www.leacar.com
"Gentlemen...you can't fight here. This is the War Room!"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 5:44 pm 
Offline
MCAD Addict
User avatar

Joined: 17 Feb 2004
Posts: 586
Thanks Robert, I will let you know if it works as this is a method I will definitely need and I hated using a com server to do the work.

_________________
Oh Yeah!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 05, 2007 5:45 pm 
Offline
MCAD Addict
User avatar

Joined: 17 Feb 2004
Posts: 586
I did notice that when I did this manually in an assembly that it unadapted (new word, just made it up!) the original part(assembly).

But since I have been warned not to use adaptivity, it should not be a problem for me if using the API does the same thing.

_________________
Oh Yeah!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
POWERED_BY