I'm trying to define a custom PartNo property that includes the current configuration name using the File/Properties custom tab in my Part file. I have multiple configurations such as -2, -3, -4 and I'd like the PartNo to appear in the BOM as HNTT5-3; i.e. as the base name "HNTT5" with the current configuration appended.
I've sucessfully appended dimension values to the PartNo expression by using something like this in the Value/Text Experssion field: HFS6-3060-"D1@boss-Extrude1"
This then evaluates to HFS6-3060-340 and shows up in the BOM PartNo column in my Assembly. the help documentation seems to suggest that I could use something like HNTT5-"$Configuration@HNTT5 Nut.sldprt" to get the current configuration Name, but that allways evaluates to HNTT5-"$Confguration@HNTT5 Nut.sldprt" without any substitution at all.
As a workaround, I could just define a Configuration Specific PartNo for each configuration but that's more work and something that would need to be updated when configurations are added or configuration names are changed.
Does anyone have any ideas how I can accomplish this?