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:Ā 

How to Change Parameters using ApprenticeServer

2 REPLIES 2
Reply
Message 1 of 3
arunkgvm
381 Views, 2 Replies

How to Change Parameters using ApprenticeServer

I have changing the parameters of an inventor document using the inventor API by create an instanc e of inventor and open the document,but it  take more time .is it possible to use ApprenticeServer to change the parameters of the document.????

 

 

My code is

 

Dim oPartDoc As PartDocument = inventorApp.ActiveDocument
        Dim oParameters As Parameters
        oParameters = oPartDoc.ComponentDefinition.Parameters()
        Dim oLengthParam, oWidthParam, oHeightParam As Parameter
        oLengthParam = oParameters.Item("d0")
        oWidthParam = oParameters.Item("d1")
        oHeightParam = oParameters.Item("d2")
        oLengthParam.Expression = TextBox1.Text
        oWidthParam.Expression = TextBox2.Text
        oHeightParam.Expression = TextBox3.Text
        oPartDoc.Update()

 how can achive the same method using ApprenticeServer? anyone help?

--- *AM* ----
Tags (1)
2 REPLIES 2
Message 2 of 3
ekinsb
in reply to: arunkgvm

It's not possible to edit parameter values, or even query parameters, using Apprentice.  Apprentice provides a small subset of the Ivnentor API functionality.  You'll need to use Inventor.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3
arunkgvm
in reply to: arunkgvm

Okey ..Thanks Smiley Happy

--- *AM* ----

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

Post to forums  

Autodesk Design & Make Report