rdarnitall
Automotive
- Aug 19, 2014
- 3
I have searched the forum and although I have found the link about renaming expressions to remove the hash marks, I don't believe it really achieves my goal, so please pardon me if I am wrong about that.
I have a NX8.5 start part that contains a Feature Group that is copied and pasted into other part files. The Feature Group brings with it, about 45 expressions that are used to drive sketches. The expression names all use an arbitrary number (99), that is intended to make it obvious to the user that the values have not been updated.(ex. feature_99_dia, feature_99_length, etc.). I am exporting a .exp file from an Excel spreadsheet that contains corresponding expression names and values, but the number in the expression names are defined by a value in the spreadsheet, (ex. feature_5_dia, feature_5_length, etc.). I will have several exported .exp files, each with a different number in the expression names, and I may use more than one of them to drive different Feature Group sketches in a single part.
My current process is for the user to copy the feature group from the start part, paste it into their part file (re-associating as necessary), rename the expressions to the number matching their .exp file, and then import the .exp file to update the values of the expressions and thus the 3D part. The problem is that manually renaming 45 expressions is time consuming and error prone. I would like to simplify/automate this by letting the user simple specify what their desired feature number is. I am open to doing this either in the start part before the copy or in their part after pasting.
Can anyone help me out with a method to do this?
I have a NX8.5 start part that contains a Feature Group that is copied and pasted into other part files. The Feature Group brings with it, about 45 expressions that are used to drive sketches. The expression names all use an arbitrary number (99), that is intended to make it obvious to the user that the values have not been updated.(ex. feature_99_dia, feature_99_length, etc.). I am exporting a .exp file from an Excel spreadsheet that contains corresponding expression names and values, but the number in the expression names are defined by a value in the spreadsheet, (ex. feature_5_dia, feature_5_length, etc.). I will have several exported .exp files, each with a different number in the expression names, and I may use more than one of them to drive different Feature Group sketches in a single part.
My current process is for the user to copy the feature group from the start part, paste it into their part file (re-associating as necessary), rename the expressions to the number matching their .exp file, and then import the .exp file to update the values of the expressions and thus the 3D part. The problem is that manually renaming 45 expressions is time consuming and error prone. I would like to simplify/automate this by letting the user simple specify what their desired feature number is. I am open to doing this either in the start part before the copy or in their part after pasting.
Can anyone help me out with a method to do this?