iPart with rule not triggerred

iPart with rule not triggerred

Anonymous
Not applicable
443 Views
2 Replies
Message 1 of 3

iPart with rule not triggerred

Anonymous
Not applicable

Hi,

 

Here is my situation :

 

I have an iPart with parameters that show or hide certain features on my part. In my iPart table I have created a few rows with some preset parameters values but most of the others parameters are set to "Custom User Parameter" because creating all possible combination would need hundreds of lines.

 

At first, I wanted to show/hide features simple by using the suppress condition of the feature (right click -> properties) but unfortunately some need two parameters conditions to show/hide and it seems that I can only use one condition with this method.

 

So, I decided to use a iLogic Rule to SetActive or not the various features depending on my parameters. All go right that way.

 

But here come my problem :

 

Once the iPart is put inside an assembly, I use a Rule in that assembly to set Custom User Parameters of my iParts... But rule from the iPart doesn't get triggerred. I have found a post dating from 2009 where Autodesk staff said that it was a know problem and they were planning to do something for that but we are 8 years later and it seem that it still doesn't work :s

 

So, I am here to ask if someone could provide me an alternative way of doing that ? I am a bit stuck with that problem.. No multiple conditions feature suppress, can't RunRule on an iPart from an assembly and too much possibilities to create all part inside the iPart table. What should I do ?

 

Thank a lot for your help !

0 Likes
Accepted solutions (1)
444 Views
2 Replies
Replies (2)
Message 2 of 3

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi! The behavior does not sound right to me. Custom iPart member is like a derived part with a table linked to the iPart factory. If the same workflow works in Derive, it should work in Custom iPart member. It sounds like either the rule is not properly copied to the member file or the trigger is not set up. Could you attach an example here or send it to me directly (johnson.shiue@autodesk.com)?

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 3 of 3

Anonymous
Not applicable

Thank you, you pointed me in the right direction !

 

My problem was the event trigger. I tried first only  on "Before Save" but it doesn't seem to work. I now have put the rule in a few others events and it seem to trigger correctly.

0 Likes