Inventor General Discussion

Inventor General Discussion

New Member
2 Posts
0 Kudos
Registered: ‎01-02-2013
Post 1 of 1

iLogic Issues with unsupressing iassembly members within master assembly

58 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!