Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  


Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Getting the string of a Text object (shape?)  (Read 6328 times)


  • Newbie
  • *
  • Posts: 1
    • View Profile
Getting the string of a Text object (shape?)
« on: October 05, 2008, 09:39:59 am »

Hi! Total n00b at ASL (not at programming tho).

I was looking through the .obj exporter script and more or less understood what it's doing. But is there any way of getting the actual text that you write in a Text object? I mean:

  textcom {
    name { "text04" } //<--- gettable from $ ?
    base {
      origin { (37.303 1.6854 0) }
    string { L"iuliyluiy" }       //<--- THIS BIT HERE!

I'd probably do sth like:

if ($shape.GetKind() == SHAPE_KIND_TEXT)
/* do stuff with the text */



  • Administrator
  • Hero Member
  • *****
  • Posts: 2122
    • View Profile
Re: Getting the string of a Text object (shape?)
« Reply #1 on: October 05, 2008, 08:04:23 pm »

There isnt' any way to do that.  It's a good idea.