I am looking for a way using expression logic to limit a number of wedges assembled together based on the angle of each wedge and the total angle of the assembly of wedges.
In the attached file, I have an assembly of 8 wedges each with angle B. The total angle of all the wedges in the assembly is angle A. The limit of angle A is less than or equal to 120 degrees. Angle B could be 3 different angles. Wedges 3-8 are inserted based on a desired total of angle A, but cannot exceed 120 degrees. I would like to come up with a way based on this that as I am inserting wedges 3-8 either the expressions force another angle on a particular wedge so Angle A does not go over 120 degrees or if that is not possible, just forces the input to 0 so the wedge and subsequent wedges are forced off.
I know conditions can be set up to flag an expression that does not fit into the applied condtion as its defined, but this is not very obvious to the user changing the various wedges out in the assembly.
Hopefully this makes sense.
Thank you for any help anyone can provide.
Solved! Go to Solution.
No, they could be different. As an example, lets say the versions of angle B are 10, 20, 40. The setup could be 10, 10, 20, 40. Or all 8 could 10's. Or it could go something like 10, 20, 40, 20, 10.
I have also created an expression that sums the total angle of the 8 wedges thinking this may be part of the check in an expression or expressions to help do what I am looking for.
I have not had anymore time to play around with this more. And as of right now we do not have PTS. I am trying to get the group that handles all of out NX licenses to get us a licenses for it, but its not high on thier list of things to do right now as we are in the middle of an upgrade and testing it. However, I thought PTS would be the better avenue for this as well.
I would definately be interested in seeing your non-PTS attempt at this. I am curious to see how you did the interpart expressions.
Open assembly2, unpack wedge-15 and use Replace Component to replace it with wedge-18. The last wedge-15 will become suppressed. Replace the remaining wedge-15's with wedge-18's and the second to last component will become suppressed. Not the best example and the constraint updates can be unpredictable, but you might get something out of it.