Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

apprenticeservercomponent and excel

3 REPLIES 3
Reply
Message 1 of 4
marioriva
363 Views, 3 Replies

apprenticeservercomponent and excel

Hi,

 

I use apprenticeservercomponent to:

- open Documents

- change excel reference

- modify excel (with microsoft.excel.interop)

- save the documents (assembly and parts) in a new position on filesystem

 

After the execution everything in assembly and parts is OK and the linked excel documents are changed.

 

The problem is that the value of user parameters, depending from excel value, don't change. How can I do to force the refresh/update of the documents or user parameters from apprenticeserver? is it possible?

 

Thank you,

 

Mario

3 REPLIES 3
Message 2 of 4

You cannot change parameters of the model via Apprentice.  This should be performed in Inventor.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 4

ok. Thank you.

I will create command in Inventor to update user parameters.

But when I will be in Inventor environment, do I open the assembly, run through the occurencies, search parameters and update manually or may I call something like "refresh/update globally" command on the assembly?

Thank you. Regards, Mario
Message 4 of 4

Normally it is enough to Update the top assembly.  You also have Rebuild option.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report