Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

cadffm
en respuesta a: Amriya_Exe

Hi,

 

 

 

No, you have to activate your cell, rightmouseclick -> Insert Field

https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-1B6DD22B-10D1-44ED-BAA2-E6D79FE52327

 

In Field dialog, choose category DIESEL (or Diesel Expression?) and there is a place to paste this code.

 

>>"$(substr,$(getvar,DWGNAME),1,14)"

1. This code reads your DWGNAME variable, you talked about the CTAB variable.

2. This will read the first, not the last characters

3. 14 characters instead 6

 

for you:

$(substr,$(getvar,CTAB),$(-,$(strlen,$(getvar,CTAB)),5),99)

 

Read more about DIESEL, it's useful: [F1]

 

Sebastian