It is currently Wed Feb 08, 2012 6:26 pm



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Merge of classes
PostPosted: Fri Nov 23, 2007 8:02 pm 

Joined: Tue Oct 02, 2007 8:05 am
Posts: 6
Due to CM issues:

I need to
(1) copy a class
(2) reset all references (e.g. occurrences on diagrams) from the original to the new class
(3) delete the old element and rename the new

... then continue doing that for lots of element.

Is there any automated way to do it?

/bear


Offline
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 9:57 pm 
User avatar

Joined: Wed Oct 31, 2007 10:00 pm
Posts: 45
A lot of things can be automated by VBA scripts calling COM API functions.
1. create a new class
2. copy all attributes, operations and so on
3. delete the old class, this also deletes all references
4. rename the new class


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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:


suspicion-preferred