Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Copy parts & paste in a different subassy

Status
Not open for further replies.

yadvdinesh

Aerospace
Apr 13, 2015
31
I am working on an NXOpen application(C++) to copy all the parts from a subassy & paste those parts in another sub assy. Both the subassys are under the same root component. the requirement is such that when the parts are copy pasted from one subassy to another, parts should get pasted exactly at the same location where original parts are present. When I am trying to copy parts on clipboards using CreateCopyCutBuilder in NX I am getting memory access violation error. Attached is the code fragment. Can anyone pz suggest me where I am going wrong or is there any other way by which I can meet my requirement
 
 http://files.engineering.com/getfile.aspx?folder=1d97ad68-96ef-4083-8931-fb0da66deeda&file=error_screen_shot.JPG
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor