I think I understand your issue. You would like several parameters/iproperties to change based on thickness and material change in the form correct? You would like ipart functionality in the custom format. I assume trying to change the material from the content center will erase your custom parameter sizes correct?
This rule will automatically change the CODIGO parameter based on conditions being true. The down side of this method is the code is in each file.
If Espessura = "3/8" AndAlso iProperties.Material = "ASTM A36" Then
CODIGO = "05.022.01.003.0005"
ElseIf Espessura = "1/2" AndAlso iProperties.Material = "ASTM A36" Then
CODIGO = "05.022.01.003.0004"
End IF
This rule here will allow you to change the CODIGO parameter from external rule. The down side of this method is that it needs to be manually run on the document to update the parameter
If Parameter("Espessura") = "3/8" AndAlso iProperties.Material = "ASTM A36" Then
Parameter("CODIGO") = "05.022.01.003.0005"
ElseIf Parameter("Espessura") = "1/2" AndAlso iProperties.Material = "ASTM A36" Then
Parameter("CODIGO") = "05.022.01.003.0004"
End IF
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan