Showing results for 
Search instead for 
Did you mean: 

Part Copy functionality in C++

Valued Contributor
Valued Contributor

Hi Jason,


I am using part copy functionality in 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



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,



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