Inventor API reenterable dll

Inventor API reenterable dll

Anonymous
Not applicable
508 Views
4 Replies
Message 1 of 5

Inventor API reenterable dll

Anonymous
Not applicable

Dear Friends,

I’m trying to automate assembly process by reading data from MS Access database. My code (*.dll) works well, but I have to start Inventor each time from the very beginning to make it work. May be I miss something important on exit from my piece of code that forces me to reload Inventor. How can I clean everything with Inventor to make my program work as many times as needed without reloading Inventor? I guess some macro must exist to complete on-the-fly cleaning…

Thanks in advance….

Andy S.

 

reposted from other forum/ no solution so far....

0 Likes
509 Views
4 Replies
Replies (4)
Message 2 of 5

GeorgK
Advisor
Advisor

Hello Andy,

 

it's hard to say what you are doing wrong. Could you provide the code?

 

Georg

0 Likes
Message 3 of 5

Anonymous
Not applicable

it is too big... otherwise I would have done it from the start...., I'll try to post most impotent fragment...

0 Likes
Message 4 of 5

Anonymous
Not applicable

I've extracted a piece of code. Tell me how can I forward it to you... Attachment is "CriticalSubPrintout".

0 Likes
Message 5 of 5

Anonymous
Not applicable

Mea culpa... It has nothing to do with Inventor API. Static class shall not be declared as "external"... old mistake... sorry. How it worked remains mystery unsolved...

0 Likes