How to create Draft Document from a part File

 

HI,,

   I want to create a draft document from a part file the way we do manually in solid edge.

PLz help.

A code snippet will be helpfull.

 

Posted by: Pritam Dulam
Post date: 7/27/2009 8:56:54 PM

4 REPLIES

RE: How to create Draft Document from a part File

 

HI all,

         Is ther any APi to do it.

 

Posted by: Pritam Dulam
Post date: 7/27/2009 10:54:42 PM

RE: How to create Draft Document from a part File

 

Or do I have to create awhole parts views on a draft file again??

 

Posted by: Pritam Dulam
Post date: 7/27/2009 11:14:17 PM

RE: How to create Draft Document from a part File

 

Hi,

here a short code snippet (VB6) which creates a drawingview from a given part file on the active (empty) drawing file:

 

        Set objModelLink = objDftDoc.ModelLinks.Add(strParFile)

        Set objDrawingView = objDftDoc.ActiveSheet.DrawingViews.Add(From:=objModelLink, Orientation:=igTopView, Scale:=1#, x:=0, y:=0)

 

Posted by: Wolfgang Kunert
Post date: 7/28/2009 8:04:33 AM

RE: How to create Draft Document from a part File

 

Thanks a lot.

 

Posted by: Pritam Dulam
Post date: 7/28/2009 7:07:41 PM