I have an IBody2 object which I would like to export in IGES format so that a third party library can process it.
My attempt at doing this is as follows
The problem is that a hidden document can't be activated and iges can only work if the document is active. The code only works if I set hidden to false.
Is there any way around this? I don't want documents popping up and disappearing.
The raw source code for SaveAsIges and CreateHiddenDocument are here.