Reply

Part Copy functionality in C++

Hi Jason,

 

I am using part copy functionality in vb.net as follows:

 

Dim objConstruct As SolidEdgePart.CopyConstruction

Dim objDoc As SolidEdgePart.PartDocument

Dim InputFile as String = "c:\temp\temp.asm"

 

objConstruct = objDoc.Constructions.CopyConstructions.Add(InputFile)

objConstruct.IncludeConstructionSolidBodies = True

objConstruct.BreakLinks()

 

But, same approach doesn't work in C++.

I have imported "part.tlb" and created pointers as follows:

 

SolidEdgePart:Smiley TongueartDocumentPtr _pPartDocument;

SolidEdgePart::CopyConstructionPtr _pCopyContruction;

 

but, on _pPartDocument i cant access Constructions.CopyConstructions.Add method.

 

Can you please help me to achieve part copy functionality in C++.

 

 

Thanks in Advance,

Sandip.

 

Posted by: sandip
Post date: 11/9/2012 7:10:18 AM