AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
644 Views, 3 Replies

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

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

3 REPLIES 3
Message 2 of 4
rhesusminus
in reply to: Anonymous

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
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉
Message 3 of 4
Anonymous
in reply to: rhesusminus

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

 

Message 4 of 4
rhesusminus
in reply to: Anonymous

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
AutoCAD Electrical and EPLAN expert
Ctrl Alt El
Please select "Accept Solution" if this post answers your question. 'Likes' won't hurt either. 😉

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


AutoCAD Beta