ADD TEXT NOTE UNDER THE DIMENSION LINE

ADD TEXT NOTE UNDER THE DIMENSION LINE

buitrongcuongypbn2000
Participant Participant
338 Views
3 Replies
Message 1 of 4

ADD TEXT NOTE UNDER THE DIMENSION LINE

buitrongcuongypbn2000
Participant
Participant

buitrongcuon_1-1685459974147.png

Hi everyone. I am having a problem when export drawing from Inventor to Autocad. The dimensions have the text under the dimensions line breaking the line as picture above.

I need a VBA code to fix this problem.

Could you help me?

Thanks for your attention!

0 Likes
339 Views
3 Replies
Replies (3)
Message 2 of 4

Ed__Jobe
Mentor
Mentor

Can you post a sample dwg?

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 4

buitrongcuongypbn2000
Participant
Participant

Dear Ed.Jobe,

This is an example file you needs.

Thanks.

0 Likes
Message 4 of 4

Ed__Jobe
Mentor
Mentor

Before you can code a solution, you have to figure out what is causing the condition. I found that if you right click on the dim and select Remove Style Overrides, then the dim line goes through. So there is an override setting causing the problem. I ran out of time to figure it out.

 

Also, the text override is "\fISOCPEUR|b0|i0;\H175.0000;<>\P\fISOCPEUR|b0|i0;\H175.0000;PART 6". The \P just inserts a return or new paragraph. If you change it to \X, it puts the second line below the dim line. So it would look like,

"\fISOCPEUR|b0|i0;\H175.0000;<>\X\fISOCPEUR|b0|i0;\H175.0000;PART 6".

 

It might help if your Inventor file used a style with these properties instead of using overrides in the first place.

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes