reddozen Posted June 22, 2014 Share Posted June 22, 2014 objName = scene.getMeshByName("Prt_f01_Rag2_bro_mtree_a_04");objName = objName.createInstance("Prt_f01_Rag2_bro_mtree_a_04_inst_"+ Prt_f01_Rag2_bro_mtree_a_04_inst +"");objName is NULL on the second line above. As you can see from the picture below, the object is loaded into the scene, so objName shouldn't be null after the getMeshByName call. Maybe I'm doing this wrong, or maybe there's a better way to handle this? Quote Link to comment Share on other sites More sharing options...
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.