Inventor General

Posts: 14
Registered: ‎05-20-2013
Message 1 of 1 (204 Views)

iLogic iPart update

204 Views, 0 Replies
07-16-2013 06:15 AM

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


trigger = iTrigger0

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor