Field text

Field text

Anonymous
Not applicable
280 Views
1 Reply
Message 1 of 2

Field text

Anonymous
Not applicable
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
0 Likes
281 Views
1 Reply
Reply (1)
Message 2 of 2

hmsilva
Mentor
Mentor

@Anonymous wrote:
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

Hello pony.chubby and welcome to the Autodesk Community!

 

Perhaps anything like this

%<\AcDiesel $(substr,$(getvar, "DWGNAME"),1,8)>%

Hope this helps,
Henrique

 

EESignature

0 Likes