How to convert text to polylines but keep elevation

How to convert text to polylines but keep elevation

Anonymous
Not applicable
1,985 Views
8 Replies
Message 1 of 9

How to convert text to polylines but keep elevation

Anonymous
Not applicable

Hi There. 

 

I have a text that is elevated as a spot hight, I need to convert it to polyline or just lines but keep the elevation, I know that you can use the command "TXTEXP" but that moves the text down to 0.0 on the Z axis or elevation 0.0, So I'm wondering if there is a way to change the text but still keep the elevation that it is in now....

 

Thank you in andvance for the response 

Andri Ingolfsson 

0 Likes
1,986 Views
8 Replies
Replies (8)
Message 2 of 9

pendean
Community Legend
Community Legend
There is nothing built-in to do that: any reason you cannot move it back?
0 Likes
Message 3 of 9

Llam.Tech
Advocate
Advocate

Are you trying to create a 3D solid text? First, you need to go to the express tool in the MENU/EXPRESS/TEXT then explode the text. Then PEDIT command, make sure that there is no gaps on each and every line.

 

Check this video, I created numbers and letters into 3D solid with different font type. https://youtu.be/QChRZ9bB0CE

 

0 Likes
Message 4 of 9

Anonymous
Not applicable
it's because I have over 10000 points like that and I'm trying to create Topsurface in Revit using a cad file
0 Likes
Message 5 of 9

Llam.Tech
Advocate
Advocate

Here's the video I created. This is a solid model. But, you can always extrude this into surface.

https://youtu.be/MKB2fFd_6IA

hope this helps.

0 Likes
Message 6 of 9

Anonymous
Not applicable
Hi Liam.
This is not what I'm trying to do, I got a CAD file from someone witch has spot heights and if they are lines you can generate Surface in Revit with thoughts spot heights, but they aren't lines they are text boxes that are elevated into the height they are in the land but when. So the textbox is at some elevation for exemple 600m when I change the textbox into outlines the lines go down automatically to 0,0m.

But Thanks anyways Andri Ingolfsson
0 Likes
Message 7 of 9

pendean
Community Legend
Community Legend
That is a lot, not a one off: thanks for explaining it further.

There is nothing built into the program to do what you want. perhaps users in teh REVIT forum have tips you can try in that program (or with an add-on) http://forums.autodesk.com/t5/revit-architecture-forum/bd-p/133
Message 8 of 9

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

... 

I have a text that is elevated as a spot hight, I need to convert it to polyline or just lines but keep the elevation, I know that you can use the command "TXTEXP" but that moves the text down to 0.0 on the Z axis or elevation 0.0, So I'm wondering if there is a way to change the text but still keep the elevation that it is in now....

.... 


Welcome to these Forums!

 

Yes, there is a way.  It works as you want if you set the UCS to match the Text before TXTEXP-ing it, because it puts the results at elevation 0 in the current UCS.  In simplest terms, and lightly tested:

 

(defun C:TEE (/ teess n txt); = Text Explode at Elevation
  (prompt "\nTo Explode Text object(s) retaining their Elevation,")
  (if (setq teess (ssget '((0 . "TEXT"))))
    (repeat (setq n (sslength teess))
      (setq txt (ssname teess (setq n (1- n))))
      (command "_.ucs" "_object" txt)
      (sssetfirst nil (ssadd txt))
      (C:TXTEXP)
    ); repeat
  ); if
); defun

Add to that the saving of the current Coordinate System at the beginning, and resetting of that after the end [or simply setting it to the WCS at the end, if you like], and the rest of the usual enhancements [error handling, Undo begin/end wrapping, command-echo suppression, etc.] as you desire.

 

Kent Cooper, AIA
Message 9 of 9

Michiel.Valcke
Advisor
Advisor

You can reset the UCS to the proper height before you use TXTEXP Autocad will put the resulting objects on your drawing surface (determined by your UCS) but if your "Z"= 0 = the height of your text object then the text will not be moved. Offcourse that is pretty cumbersome if you have a lot of these to explode. Maybe someone smarter than me can put this workflow in a lisp.

 

EDIT: I just saw the post made by Kent.

0 Likes