I've attached a class NXDrwSheet as a template to copy the contents of a Drawing and past it to a new sheet. The CopyTo function does the work and the constructor gets all Note, Lines, etc from part loaded via OpenBase. The CutCopyPasteBuild's Validate function tells me everything is good to go but when I do a commit nothing is moved. Any help would be greatly apprieciated.
I think in another thread you started with a recorded journal & stripped it down?
I'm guessing you may have stripped a bit too much
Try re-recording the journal.
Then close (without saving) the part, re-open the part & re-run the "as recorded" journal - Does it work?
- if no, report to GTAC and see what they say (end of this procedure).
- if yes, continue with...
a) comment out a few of the undo mark bits
b) close (without saving) the part and re-open it
c) re-run journal
d) run OK? if so, redo steps a-b-c with more undo mark stuff commented out
if not, what you just commented out broke the journal
Eventually (with a bit of trial & error) you can whittle it down to what you really need.
I have found I can strip out *most* for the "undo marker" code recorded in journals, but every now & then that code is required to make something work
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled