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 Issues with unsupressing iassembly members within master assembly

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
163 Views, 0 Replies

iLogic Issues with unsupressing iassembly members within master assembly

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
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