Community
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?
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.