Error Occure while updating title block in ACADE using "c:wd_tb_process_one"

This widget could not be displayed.

Error Occure while updating title block in ACADE using "c:wd_tb_process_one"

Anonymous
Not applicable

Hello All,

 

To update tittle block I am  use ACADE API 

"c:wd_tb_process_one"

I am run this API on every drawing in project and it works for some drawings. but, in some drawing it added "\W0.8000; " text before project title as well as before drawing title. my complete command is

(c:wd_tb_process_one 0 (list (list 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0) 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19))

see output after running API.

 

 

W0.8000.PNG

0 Likes
Reply
772 Views
3 Replies
Replies (3)

rhesusminus
Mentor
Mentor
Is the attribute in the title block a multi-line attribute?

Do you get this problem if you use the Title Block Update utility?

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉

Anonymous
Not applicable

Hello rhesusminus,

Thank you for your response.

 

This attribute is Not multiline attribute  and while using "Title Block Update utility" the same problem occur.

Also ,I observe one thing here the attribute name is as expected in attribute edit window but on drawing it's add "\W0.8000;" this text extra(see. attached image).

 

 

W0.8000(2).PNG

 

0 Likes

rhesusminus
Mentor
Mentor
The /W0.8000 is a control code for mtext/multiline attributes, saying that the width factor of the following text should be 0.8 .

My suggestions are:

1. Do not use a multi-line attribute, as AutoCAD Electrical don't support them very well
2. Go to the text styles (type STYLE on the command line), and set the width factor to 1 for the text styles used for that Attribute
3. Change the font for the above text style

Trond Hasse Lie
EPLAN Expert and ex-AutoCAD Electrical user.
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉