"Rebuild all" feature is not active when I connect to inventor with remote inventor api using c#

"Rebuild all" feature is not active when I connect to inventor with remote inventor api using c#

hayattangercekler2
Advocate Advocate
261 Views
1 Reply
Message 1 of 2

"Rebuild all" feature is not active when I connect to inventor with remote inventor api using c#

hayattangercekler2
Advocate
Advocate

This time I added the inventor feature (rebuild all) that I was trying to run with the Inventor api directly to the rule in the iam file. Here, I added the trigger function under "close documents" to indicate that the trigger should be done while the file is closing. After sending a request via C# using the Visual Studio IDE and closing the file, the commands on the Ilogic side did not work. Then when I tried it manually again, it works successfully. Even when my file is still open, the "rebuild all" feature does not work when I connect with C# via the inventor api. What is the reason of this ? Do these features turn off when there is a remote access?

 

My ILogic code:

InventorVb.DocumentUpdate()

ThisDoc.Document.Rebuild2(True)

ThisDoc.Document.Save2(True)

 

hayattangercekler2_0-1669878450062.png

 

0 Likes
Accepted solutions (1)
262 Views
1 Reply
Reply (1)
Message 2 of 2

CattabianiI
Collaborator
Collaborator
Accepted solution

Do these features turn off when there is a remote access?
yes.

After sending a request via C# using the Visual Studio IDE and closing the file
In the image you posted there is no document closure. (Application.Quit is different from Document.Close)



0 Likes