Creating an iFeature containing an iLogic rule

Creating an iFeature containing an iLogic rule

AutoKai
Explorer Explorer
326 Views
2 Replies
Message 1 of 3

Creating an iFeature containing an iLogic rule

AutoKai
Explorer
Explorer

Hi,

 

In short: can an iFeature contain iLogic, and if so, how? If not, are there good alternatives?

 

To give some background, I have designed a grid-like structure made of extrusions and patterns. The size of the grid is parametric and may be changed by the user. Therefore, the number of grid cells have to adapt, which I did using iLogic. Using parameter equations only would be quite annoying because there are several branching decisions and edge cases to be considered.

Now, I would like to use this grid as an iFeature in other parts. When extracting the iFeature I mark the required parameters as "size parameters", leaving the iLogic rule-driven parameters unchecked. However, when placing the feature it has lost its iLogic rule, and the driven parameters do not update anymore.

Therefore, is it possible to embed the iLogic rule into the iFeature? If not, which alternatives should I consider? I have been searching for a solution online, but all people are trying to do is placing an iFeature from iLogic code, it seems - my problem is somewhat the same, but reversed.

 

If you need an example, I attached the file I would like to extract the iFeature from down below.

 

Thank you for any help and best regards,

Kai Krull

0 Likes
327 Views
2 Replies
Replies (2)
Message 2 of 3

A.Acheson
Mentor
Mentor

I have only used ifeatures partially and I found them cumbersome especially when trying to build them out by code. I suspect building a sketch and extrusion directly in the code would be a better way to go. You then have direct control over all aspects. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 3 of 3

AutoKai
Explorer
Explorer

Thank your for the tip, @A.Acheson. I might look into that, although I am not sure whether it is worth the effort given my use case. I'll leave the topic open in case someone knows more details about how to get it working with iFeatures directly.

0 Likes