Submitted by vishal g on Wed, 08/04/2021 - 09:43
Forums:
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?
re: new sheet
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?