I have a drawing and I have a field calling up the path and file name. Is their a way to limit the size of the path displayed? For example, if my drawing is C:\users\name1\name2\name3\t4\new5.dwg, is their a way to only show ...\name3\t4\new5.dwg?
Using DIESEL expression in you field will help point you in the right direction if you path names are all a consistent length
$(substr,%<\AcVar dwgprefix \f "%tc1">%,15)
will display the path from the 15th character
Also take a look at this link, one of the posts shows how to display a set number of characters from the end
Close. But I can't to constant characters because the directory names will always be a diferent length. I can say i just want everything from the third or fouth "\" forward. Would that help?
I don't think it will be possible with diesel
I haven't much time at the moment to get too deep but there may be a solution here at this link
Access a broad range of knowledge to help get the most out of your products and services.