AnsweredAssumed Answered

How to "silently" save an IBody2 as IGES

Question asked by Brad Phelan on Jul 13, 2016
Latest reply on Jul 15, 2016 by Brad Phelan

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

and

 

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.

Outcomes