- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have set up detail files and xrefed them into a plot sheet. I want the detail number to be run by the detail file name. I have used this diesel expression in my field within the xref to do this.
$(substr, $(getvar, dwgname), 1, 5)
Which displays the first 4 characters of the file name as the detail number. (File Name: 100B - Detail Name)
The problem is when I xref this detail into my plot sheet then the field looks to the host file name and not the xref file name. If it looks to the source file then the plot sheet would show every detail as having the same number.
How do I get the field to only look at the source file and not the host file?
FYI - I don't want to prevent the xref from updating either. The purpose is to be able to change the detail number by only changing the file name and not having to change it multiple places. When the detail number was just text we had several occasions where the detail number wasn't updated when the file names were changed.
Solved! Go to Solution.