kfraysur
Bioengineer
- Feb 4, 2010
- 42
In our master part, we routinely import between 2 and 10 parts in various locations, depending on the application. Each of these imported parts are reused often and each contains two expressions that I would like to use to auto-fill multiple values in a table in the master part drawing.
The problem I am having is that after all the parts are imported, the expressions I am interested in end with a hash and a number ('#). The hash isn't a problem, but the number seems to correlate to the number of solids that exist, or have existed in the file. This is problematic because it means I can't be sure of what number will follow the hash and therefore can't have the appropriate code in the table to auto-fill based on the expression value.
In a past thread (thread561-239964) John Baker uploaded a grip file to take off the hash and number combinations of non-repeating expressions. I am wondering if there is some way to reset the expressions so that the numbering after the hash will start at 1 and continue for as many expressions as I need for the part (so if I am interested in the expression "Cylinder_Height", the list will have "Cylinder_Height'1", "Cylinder_Height'2", etc.. for as many parts as I have imported). It would also work just as well if I could consistently anticipate the numbers that will follow the hash, no matter what they are.
I would really appreciate any help you guys could give. Thanks in advance.
The problem I am having is that after all the parts are imported, the expressions I am interested in end with a hash and a number ('#). The hash isn't a problem, but the number seems to correlate to the number of solids that exist, or have existed in the file. This is problematic because it means I can't be sure of what number will follow the hash and therefore can't have the appropriate code in the table to auto-fill based on the expression value.
In a past thread (thread561-239964) John Baker uploaded a grip file to take off the hash and number combinations of non-repeating expressions. I am wondering if there is some way to reset the expressions so that the numbering after the hash will start at 1 and continue for as many expressions as I need for the part (so if I am interested in the expression "Cylinder_Height", the list will have "Cylinder_Height'1", "Cylinder_Height'2", etc.. for as many parts as I have imported). It would also work just as well if I could consistently anticipate the numbers that will follow the hash, no matter what they are.
I would really appreciate any help you guys could give. Thanks in advance.