iLogic - Parameters tolerances

iLogic - Parameters tolerances

Anonymous
Not applicable
1,061 Views
2 Replies
Message 1 of 3

iLogic - Parameters tolerances

Anonymous
Not applicable

Hello,

 

I would like to write some ilogic code to set-up the paramaters to median tolerance , then export part in *.step format and save in a specific folder.

 

I succeed to export files and save it as I want but I can't find the command lines to drive tolerances of parameters (min/max/nominal/median).

 

Could someone help me or indicate me where to find inventor ilogic command lines... If I-logic could be as easy as VB where it proposed a list of command as you start to typing the function..
 

Enjoy your Week-end,

John.

0 Likes
Accepted solutions (1)
1,062 Views
2 Replies
Replies (2)
Message 2 of 3

Vladimir.Ananyev
Alumni
Alumni
Accepted solution

These lines should solve described task:

 

Dim oDoc as Inventor.PartDocument = ThisDoc.Document
Dim oParameters as Inventor.Parameters _
      = oDoc.ComponentDefinition.Parameters
oParameters.SetAllToMedian()

 


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

Message 3 of 3

Anonymous
Not applicable

Thanks for your help, it's works fine.

 

Please could you tell me where I could find which i-logic commands should be used related to inventor function? Is there a list of all i-logic / vb comands related to inventor?

 

Regards,

John.

0 Likes