Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic iPart update

0 REPLIES 0
Reply
Message 1 of 1
AbellS
418 Views, 0 Replies

iLogic iPart update

I have a rule designed to change iParts upon selection of the part name from a multi list param.

The rule is functioning fine in the lower sub assemblies but in my top assembly it fails to exicute. Even if I right click the rule and run it manually.

see below

 

Dim oFileName As String
Dim SheaveDia As String
Dim SheaveThx As String

oFileName = "DEV-0100MRL-S:1"'change this to match the name of the first part in the list above.

iPart.ChangeRow("Sheave:1",Parameter(oFileName, "MRL_Sheave"))
iPart.ChangeRow("Sheave:2",Parameter(oFileName, "MRL_Sheave"))
SheaveDia = iPart.CurrentRowStringValue("d2_Dia")/25.4
SheaveThx = iPart.CurrentRowStringValue("d0_Width")/25.4
Parameter("DEV-0100MRL-S:1", "d10_MRLSheaveDia1") = SheaveDia
Parameter("DEV-0100MRL-S:1", "d10_MRLSheaveTHK") = SheaveThx

InventorVb.DocumentUpdate()

trigger = iTrigger0

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report