Thanks Tom, and sorry for not having replied earlier. I wanted to try out your suggestion before replying, but I didn't have/still don't have the time to do so. But thanks anyway!
Michael -----Ursprungliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Thomas Higgins Gesendet: Montag, 6. Juni 2005 23:09 An: Lingo programming discussion list Betreff: RE: <lingo-l> width of text modelResource Michael, > I created a text modelResource in a 3D world like this: > > textModelResource = member("textSample").extrude3d(member("3D")) > > Now I want the width of that textModelResource, which obviously > depends on the width of the text in the text member. How do I get > that? textModelResource.width won't work. Apply the meshDeform modifier, then walk the meshes and their vertices looking for the min/max values along the various axes and from those compute the width, depth and height as needed. Cheers, Tom Higgins - Technical Product Manager Macromedia Director and the Shockwave Player http://www.markme.com/thiggins/ [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
