Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Apr 13, 2015
Messages
31
Location
IN
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
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top