Weld tag

Hello,

Why does the name of the weld in the Explorer or Properties window not match the Name field in the Tag Information group?  I have modified the Name property to match the client tagging standard and have added a property called weld code that will show a 2 digit code based on the weld type.  This code displays in the Name field successfully but is missing in the name shown in the Explorer pane.  When I select the code, the name in the Explorer pane will update but if I click on the Refresh button, the code will disappear.  If I close and reopen the model, the weld codes will disappear as well.

In my attempt to modify the Name of the weld, I created a custom property called WELD_CODE and tried using this if statement to determine the 2 digit weld code based on the Type:

IIf(this.TYPE = "SHOP","SW",IIf(this.TYPE = "FIELD","FW",IIf(this.TYPE = "FIELD_FIT","FF",IIf(this.TYPE = "JW","JW",IIf(this.TYPE = "MW","MW","Error")))))

While this new property works well in the name, it does not work in the name that is seen in the Explorer window:

How can I get the two names to show the 2 character weld code?

Thanks,

Justin

  • Hi Justin

    If you place a new component assembly with weld, it shows the same issue for name in explorer or its only for the existing components?

    Deepak

  • Hello Deepak, 

    This issue also occurs when I place new components as it does with existing.  I believe I have narrowed down the problem to the IF statement in the ECExpression attribute of the WELD_CODE property that I created.  If I remove that attribute and set it to be a drop-down selection list or a keyed-in field, the names in Explorer will display the right value so it seems that the IF statement does not work in this case. 

    The downside of using 2 fields for this is that the user has to selected the type of weld twice so it is double the amount of work to assign the type of weld and could lead to inconsistencies between the two values.  Is there another way to implement the IF statement to streamline this workflow?

    Thanks,

    Justin