Skip to main content
Question

How can autocad_anno_handle be created and associated between mtext and leader

  • December 9, 2019
  • 9 replies
  • 82 views

I am trying to create mtext leaders and I am trying to follow the documentation which has these attributes

 

and

 

I have tried to create text adder at last point on leader line and then write a unique annotation handle to autocad on both leader line and text but the entities are not associated when I open in autocad.

Can I not create text in a leader?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

9 replies

charry
Supporter
Forum|alt.badge.img+5
  • Supporter
  • December 10, 2019

how create autocad

leader

  • Author
  • December 10, 2019

how create autocad

leader

I can make the leader but I need to attach text to leader here is workspace. filegdb2acad.fmwt


becchr
Influencer
Forum|alt.badge.img+33
  • Influencer
  • December 11, 2019

hi @garydlester, seems you have to give the text a handle and then you refer too in the line. I added some attributes in your workspace and exposed the format attributes in the writer: now when i move the text the leaders follow, is this what you were looking for?

1576059869558 

filegdb2acad.fmw


  • Author
  • December 11, 2019

hi @garydlester, seems you have to give the text a handle and then you refer too in the line. I added some attributes in your workspace and exposed the format attributes in the writer: now when i move the text the leaders follow, is this what you were looking for?

1576059869558 

filegdb2acad.fmw

Yes that is exactly what I am looking for, your on a roll today!


  • Author
  • December 11, 2019

hi @garydlester, seems you have to give the text a handle and then you refer too in the line. I added some attributes in your workspace and exposed the format attributes in the writer: now when i move the text the leaders follow, is this what you were looking for?

1576059869558 

filegdb2acad.fmw

@becchr I took your example and I added a landing to simulate a multileader. This is really cool.

 

1576093400876 

LeaderExample.fmwt


Forum|alt.badge.img

Hi @garydlester​, @becchr​ ,

 

For some reason, I'm not able to set the entity_handle thing. Could you share either of you workspaces again perhaps? It seems they're not downloadable anymore.


  • Author
  • December 7, 2020

Hi @garydlester​, @becchr​ ,

 

For some reason, I'm not able to set the entity_handle thing. Could you share either of you workspaces again perhaps? It seems they're not downloadable anymore.

Here is something that works.


Forum|alt.badge.img

Here is something that works.

Cheers, I'll give it a go. support also re-enabled the links for the older downloads.​


Forum|alt.badge.img

Here is something that works.

Thanks for the example. I got that far as well, but I was looking for a method to actually couple these, like in the example below where mtext and leader are seen as one object when selecting:

Screenshot_19 

Now these objects above are multi leaders, and I know that FME can't write multi leaders. But I was hopeful that you trick with entity_handle and entity_anno_handle would make a link between them. However, it doesn't matter functionally whether or not you actually set these two attributes, or even use the correct value.

Perhaps I'm missing something?