Why is new sheet getting automatically added after instantiating drawing view with a sketch in it in NX 11?

Hello All,

I instantiate a drawing view from one file through code(VB.net) into a another file(sheet).
If the view contains only text then it works fine.
But if the Instantiated view contains a sketch and text(Notes) then a new sheet is automatically added to the drawing in NX 11 at the end of the code.
There is no provision to add sheets in the code .

I have some old views in the detail sheet containing text and sketch.
When these view are instantiated , then a new sheet is not added .
These views were probably made in NX 9.

What could be the reason for this behavior ?
What is the relation between sketch in instantiated view and automatic addition of new sheet in NX11?

I don't know of any good reason that a new sheet would be created unless your code is using the copy/paste functionality. Depending on what you are selecting, it might cause the sheet to be selected and copied over to your new file.

Can you post the relevant part of your code?