|
|
hi,
I'm trying to print, from a macro, the declared name of an object passed
to it, ie.
#declare Tobj = torus { ... };
object { Tobj }
mymacro(Tobj)
and in the macro (where the parameter is ObjId)
#debug concat("object's name:", ObjId)
that doesn't work, POV complains "expected string, oid found instead",
so is there a way to get the name string ('Tobj') from the ObjId?
thank you.
jr.
Post a reply to this message
|
|