Jump to content

Recommended Posts

Posted

Hi,

I have a drawing with 1000 points (Z coordinate equals 0) and next to it, is located a text object. Is there any LISP that would take contents from text object and change point's Z coordinate to value from text, and iterate function for all the points?

Text object and point (actually an autocad block) have the same insertion coordinates.

 

The drawing is a flat map and I am willing to construct 3d mesh of a terrain.

 

I will be grateful for help.

Regards

Greg

 

PS Thinking about the problem even easier solution came to my mind. Changing Z coordinate of a text to it's value from contents and later making points in every text insertion point.

 

PS2 SOLVED. Data extraction does the trick. I export X and Y coordinate and Z from value. Next I import points by "Point Manager" by LeeMac.

Posted

How about creating a point at the text insertion with Z-coordinate set by the Text Content - or does the Text necessarily need to be moved?

Posted

Thanks LeeMac. Yes, that would do the trick too. Since I have solved it with data extraction there is no need in investigating more.

 

The interesting part started when I wanted to create 3dmesh from these points. Browsing through Cadtutor forum and Google I found several topics regarding this problem but noone could help with a LISP routine. Fortunately I managed to create beautiful solid with drape function build in Autocad 2011 - directly from points.

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...