Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Field text
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Field text (Read 2208 times)
0 Members and 1 Guest are viewing this topic.
new_mem
Newt
Posts: 67
Field text
«
on:
December 17, 2015, 05:20:12 AM »
Hi all I have file name AA.BB.CC-sfdsafsa.dwg and i add field : %<\AcVar Filename \f "%tc4%fn2">%
return: AA.BB.CC-sfdsafsa
But i want return AA.BB.CC
How can i do it
Please help me
Thank u very much
Logged
Lee Mac
Seagull
Posts: 12912
London, England
WWW
Re: Field text
«
Reply #1 on:
December 17, 2015, 05:33:30 AM »
Use a DIESEL field with the following expression:
Code:
[Select]
$(substr,$(getvar,dwgname),1,8)
Logged
Lee Mac Programming
•
Twitter
•
Exchange App Store
new_mem
Newt
Posts: 67
Re: Field text
«
Reply #2 on:
December 17, 2015, 06:09:32 AM »
A HA, exactyle what i want.
Thank you Lee Mac.
Logged
Lee Mac
Seagull
Posts: 12912
London, England
WWW
Re: Field text
«
Reply #3 on:
December 17, 2015, 06:18:07 AM »
You're most welcome!
Logged
Lee Mac Programming
•
Twitter
•
Exchange App Store
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Field text