How can i remove name file "Semnalizare" from this attribute value?

How can i remove name file "Semnalizare" from this attribute value?

alexpromd
Participant Participant
427 Views
1 Reply
Message 1 of 2

How can i remove name file "Semnalizare" from this attribute value?

alexpromd
Participant
Participant

 

I use Dynamic Block and insert attribute field for value - placeholder - name. here is a print screen - http://joxi.ru/l2ZYpRXU88VExm

 

If i attache the file from a reference in another file, this bloc shows  the block name and file name in attribute value.

view here - http://joxi.ru/zANBvYdfllwBkA

 

How can i remove name file "Semnalizare" from this attribute value?


Thanks.

0 Likes
428 Views
1 Reply
Reply (1)
Message 2 of 2

jarredmonday
Collaborator
Collaborator

Maybe this will get you started on what you want to do.

 

If you go to the properties on the text and notice in the CONTENTS. This is getting the name of the drawing file. 

 

$(substr,$(getvar,dwgname),1,$(-,$(strlen,$(getvar,dwgname)) ,0))

 

The 1 and 0 are the numbers you want to adjust depending on how you want the string to appear. If you change the 1 to a 2 you'll remove the first character in the string and 3 will remove the first two characters in the string.

 

Also, if you change the 0 to 4 you'll remove the last four characters in the string.

Please mark Accept as Solution if your question is answered. Kudos gladly accepted. ⇘
0 Likes