Enforcing Rules Multiple Part

Enforcing Rules Multiple Part

Anonymous
Not applicable
453 Views
3 Replies
Message 1 of 4

Enforcing Rules Multiple Part

Anonymous
Not applicable

Im looking for some help!

 

Say I have two of the same part in an assembly and want to create a rule(s) that will change the dimensions of these parts based on what is required.

 

Is there any way I can make the two identical parts update differently according to the created rule or will they update the same no matter what.

 

I figured if I worded the rule like this with the ":1" and ":2" describing which placed part in the assembly requires the solution to the statement, the model would update accordingly. But instead all of the inserted parts are updating to the rule that is ran last.

 

If Parameter1 = "DesciptionA" Then
Parameter("PartA:1", "Parameter1") = "LengthA"
Parameter("PartA:1", "Parameter2") = "WidthA"
End If
If Parameter2 = "DesciptionB" Then
Parameter("PartA:2", "Parameter1") = "LengthB"
Parameter("PartA:2", "Parameter2") = "WidthB"
End If

I need each placed part to update the lengths differently.... :S

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

Anonymous
Not applicable
Accepted solution

The behaviour you describe is correct. You cannot have the instances of the same part with different dimensions. Create seperate parts and update them with your rule accordingly

0 Likes
Message 3 of 4

Anonymous
Not applicable

If this is the case isn't that quite limiting to the Rule feature.

 

I think there should be a way to differentiate between the same part but different instances in an assembly so only one part model is required.

 

Thank You for your input.

0 Likes
Message 4 of 4

SBix26
Consultant
Consultant

Sounds like iParts would be useful here-- different instances of the same basic part.  There will still be two separate part files, but they are derived from the parent with different parameters of your choice.

0 Likes