Inventor General Discussion

New Member
Posts: 2
Registered: ‎01-02-2013
Message 1 of 1 (56 Views)

iLogic Issues with unsupressing iassembly members within master assembly

56 Views, 0 Replies
01-02-2013 04:57 AM

Fairly new to all the ilogic rules and programming. Have got reasonably far....but have hit a brick wall and am desperate for help....before i go crazy..


Basically I created an iassembly with 18 members and placed within a master assembly which has in total 4 iassemblies in with 18 memebers each.


they each have unique part numbers, problem is trying to unsuprress the part numbers, once I have supressed them.


The parts change dependent on the length, the other lengths are supressed, when I come to select the correct length to unsupress the part its comes up with ERROR in rule Component: The Component named "11111:1" was not found.


Example of the rule written that doesnt work to unsupress members, once the lngth has changed..


MultiValue.SetList("LENGTH", "10","15","17.5","20","25","30","33","35","38","40","45","47","48","50","55","60","65")

If  SINK_REQUIRED = "NO" And LENGTH = "10" Then 
Component.IsActive("11111:1")= False

Else If  SINK_REQUIRED = "YES" And LENGTH = "10" Then 
Component.IsActive("11111:1")= True

Else If  SINK_REQUIRED = "NO" And LENGTH = "15" Then 
Component.IsActive("22222:1")= False

Else If  SINK_REQUIRED = "YES" And LHD_LENGTH = "15" Then 
Component.IsActive("22222:1")= True
End If

Please help????????? Thanks

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