I think a really simple question. Writing a script that manipulates Max text objects - including changing the text. For error checking i need to be able to tell if the selected object is a text object. If it's a mesh object like Sphere001, or Plane001, the script will die as
$.text
is undefined for those object types.
I'm looking for a conditional test that i can wrap around all my text control commands.
if ($ is a text object) then
(
do all the text stuff
)
else
(
warn user to select text object
)
Thanks!
barigazy · 2013-03-13
miauu · 2013-03-13