Copy & Paste view, balloons and Partslist

Dear All --

 

I want to move all the views, balloons, and partslist from one sheet to another. How best I can do this?

 

cheers

 

 

Posted by: Kiran Thomas
Post date: 1/10/2011 1:12:48 AM

1 REPLY

RE: Copy & Paste view, balloons and Partslist

All --

 

I did it.

 

//Get the select set object of the document

//Activate the appropriate sheet

//Add all objects in the active sheet using select set

//Copy the added data to clipboard using select set

 

 

Let us have a new draft, say draft2

 

//Activate the new draft file

//Activate the appropriate sheet

//Get the active window of the activated sheet

SolidEdgeDraft.SheetWindow sWind = (SolidEdgeDraft.SheetWindow)draft2.Application.ActiveWindow;

//Paste the data from clipboard

sWind.Paste();

 

Let me know if somebody has a doubt.

 

cheers.

 

 

 

 

Posted by: Kiran Thomas
Post date: 1/11/2011 12:32:21 AM