Creating 3D text objects

Creating 3D text objects

bcf
Enthusiast Enthusiast
3,248 Views
3 Replies
Message 1 of 4

Creating 3D text objects

bcf
Enthusiast
Enthusiast

We often use 3d text objects in our models to label things like column grids and pipe names. I wrote a LISP to automate the process. I've only been using it a few days but so far so good. Two issues came up:

1. You must have Express tools installed.

2. The font in the code is the only one I've found that can do 4's without missing a small piece when extruding them.

 

When you run the lisp it asks for a start point and then allows you to type in the text. I thought it might useful to some other people.

 

bcf_0-1653050391646.png

 

0 Likes
3,249 Views
3 Replies
Replies (3)
Message 2 of 4

Kent1Cooper
Consultant
Consultant

Interesting, but isn't this a contradiction:

 

(if (not (tblsearch "style" "3D-bcf"))
  (command "-style" "3D-bcf" "Eras Medium ITC" "4.5" "0.9" "" "" "")
)
(setvar "textstyle" "Arial-bcf")

 

Don't you want to set it to 3D-bcf instead?  EDIT:  In fact, the command-line -STYLE command sets the Style current in the process, so if 3D-bcf is really what you want to be current, you can just omit the (setvar) step entirely.

Kent Cooper, AIA
0 Likes
Message 3 of 4

bcf
Enthusiast
Enthusiast

Kent1Cooper - You're right. I attached an old version of the file. Attachment has been updated. Thanks.

0 Likes
Message 4 of 4

ronjonp
Mentor
Mentor

@bcf 

You might also look at Sean's 'T2G' Text To Geometry. It works really well with great accuracy.

ronjonp_0-1653070026148.png

 

0 Likes