Guest xionmark Posted December 14, 2005 Share Posted December 14, 2005 Hi there, When using the following expression: `objlightmask($OBJ, fa)` in a mental ray SHOP for determining the light mask (which has this expression set as default), the string it returns is NULL. However, when doing something like: `objlightmask("/obj/model", fa)` the light list is returned correctly. So it appears $OBJ is not expanding correctly. I thought $OBJ was a valid variable in any context where one needs to get the object name. Bug? Work around? Thanks! --Mark Quote Link to comment Share on other sites More sharing options...
edward Posted December 14, 2005 Share Posted December 14, 2005 I have no idea about $OBJ, but from a syntactic point of view, should $OBJ have double quotes around it? Quote Link to comment Share on other sites More sharing options...
Guest xionmark Posted December 14, 2005 Share Posted December 14, 2005 ... should $OBJ have double quotes around it? 23255[/snapback] Hi Edward, That's what I thought too, I tried it, still doesn't work. --Mark Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.