Jump to content

Recommended Posts

Posted

Where i'm from, When creating topographic maps we are required to include a text inside the drawing that describes the property we are drafting. So for example if there is a square, it is desbribed by its corners (A,B,C,D) and its surface eg Surface = 200sq.m.

 

Is there someway from inside autocad that dynamically links this information to the text so when something is changed the text is updated?

 

So if i move a corner and the surface now becomes 220sq.m. it should update on its own so as to premptive a nasty omission

 

Also i need to define said shape, so it also got control of its corner, and i f i add a vertex it should now say A,B,C,D,E

 

Can someone help me with this

Posted

Re: area displayed as text automatically. My first thought would be to use something like Lee Mac's Areas to Field lisp routine.

 

http://lee-mac.com/areastofield.html

 

Can't help you with the second part of your question.

Posted
Re: area displayed as text automatically. My first thought would be to use something like Lee Mac's Areas to Field lisp routine.

 

http://lee-mac.com/areastofield.html

 

Can't help you with the second part of your question.

 

Thanks thats a nice start got 2 questions though.

 

-If something changes got to hit regen for text to update. Is there a way for this to happen automatically in case i forget to regen in which case the text remains the same

 

-How can i add this inside an existing mtext? Lets say i have an mtext sentence, in which i write "The surface of the hereby plost eaquals to [here goes field reference] sq.m."

Posted

Inside mtext are fields so you pick an object like a pline then drill down a level to area and save.

Screen Shot 03-16-18 at 05.10 PM.jpg

Posted

Yes this worked, but i still need to regen each time i change the polyline shape. Is there a way for changes to happen automatically and the fields to be updated in case i forget to regen

Posted

You would need some form of reactor not my area of expertise. Some one else may suggest something, in mean time RE or make a key do RE like on F12 or an icon on a toolbar.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...