- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi.
I used the following field functions to get the file name.
%<\AcVar Filename \f "%fn2">%
but there are unnecessary characters included in the first section of the file name.
Example: foo_FILENAMES.dwg
My question is, how can I remove these characters from the file name?
Thanks.
¡Resuelto! Ir a solución.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
>> how can I remove these characters from the file name?
The field expression to show Filename only is %<\AcVar Filename \f "%tc1%fn2">% , about what characters you're talking ?
Regards,
Imad Habash
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi imadHabash.
Thanks four your reply.
What I want to do is, get a edited file name using an field expression.
Ex:foo_FILENAMES.dwg
%<\AcVar Filename \f "%tc1%fn2">% <- this expression return "Foo_FILENAMES"
I want only "FILENAMES".
Is there a way to remove just the first 4 characters (foo_) from the returned file name (foo_FILENAMES.dwg)
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
>> Is there a way to remove just the first 4 characters (foo_) from the returned file name (foo_FILENAMES.dwg)
that field formula reflect the real existing name for your drawing , i doubt that it could be customized but you can rename the drawing file name itself , am i understand you well ?
Regards,
Imad Habash
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Check [F1] for DIESEL and Threads like this http://help.autodesk.com/view/ACD/2018/ENU/?caas=caas/discussion/t5/Visual-LISP-AutoLISP-and-General...
Sebastian
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi,
Filename format is determined by my company, so I can't change this X<.
I understood that it is difficult, so I will consider another way.
Thank you so much for telling me about that information.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hi CADffm,
Thanks for your reply.
It seems very nice!
I will confirm the forum immediately.
Thank you for your information.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Yes, you can easily do it with a Diesel Expression.
It is written here (Diesel Expression area).
Chicagolooper
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar