AutoCAD 2010/2011/2012 DWG Format
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
block attribute formulelik e this text = right(text ;4)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
101 Views, 1 Replies
10-04-2012 06:48 AM
hi
i have a titelblock whit an attribute definition -> filename ->Uppercase
the result is a full path
wath i want is just te last 4
ex D:\folder\folder\folder\projectname\index0051\file
i want the atribute value to be 0051
can someone help me?
kris.
Re: block attribute formulelik e this text = right(text ;4)
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-04-2012 12:33 PM in reply to:
KrisP007
In a field in the attribute value, select diesel expression and paste the following
$(substr,$(getvar,Dwgprefix),$(-,$(strlen,$(getvar
It should do what you want
Regards Steven Gray
Setting Out (Joinery Manufacturing)
Autocad 2013LT
Windows 7 professional
Setting Out (Joinery Manufacturing)
Autocad 2013LT
Windows 7 professional
