- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I don't entirely comprehend the extent of what you're saying unfortunately because I'm so new there's really so much that is outside the depth of my understanding but let me try and explain my situation a bit more as I think the way it was phrased is misleading.
I'm not trying to reference a parameter for a part that's in an assembly. My company created a form that allows us to create a set of standardized parts while only changing the features that differ between each. For this specific example I have a feature position that is based on the overall length of this part. So if the length is greater than 36 inches the distance for this feature from the end of the part needs to be 9 inches. In and of itself the simple code that I wrote in the original post works well as an internal rule for this. However my company doesn't like using internal rules because if I were to use that I would have to go to each part individually and add this code in, if something in the code breaks later I would have to make the fix in each individual variation. I want to find a way to make this an external rule so I can go through each part just run this rule and it would automatically make the change.
I think instead of referencing the file name is there a way I could grab the parameter based off an iProperty? I think the easiest way to differentiate all these files would be to use the part number rather than trying to go off the file name.
If you need more clarification let me know as I'm currently rushing typing this out.