The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Window Attribute combinations

mrclicheemrclichee Member Posts: 1 Learner III
edited November 2018 in Help
Hello clever people!

Please help me with my problem. I have the attributes: atr1 atr2 atr3... atr10. I want to create combinations of these, but not all the combinations, just this way: [atr1], [atr1,atr2], [atr1,atr2,atr3]... [atr2,atr3]. [atr2,atr3,atr4], ... [atr9,atr10], [atr10]. So I don't need [attr1, atr4] or [attr6, attr8, attr9] for examples. I hope you can see the pattern.

I tried this with a loop subsets (which is nice, to calibrate max and min attribute numbers), and inside of it set macro (named atts) and a Remove attribute operator with first and last attributes setted on °%{atts}. (I don't actually know how it works, I found this solution here). But this process creates ALL the combinations of the attributes.

Thanks,
mrclichee
Sign In or Register to comment.