Community
My dear friend...I had the same problem when I was doing my master thesis. The only solutions Ißve found are:
or you send a sendkey...to press the ok button
or you generate the geometry directly withou imports...
so far no other "miracle"...