kleer001 Posted February 8, 2019 Share Posted February 8, 2019 How would you auto-magically remove the trailing "1" after an instance of a custom OTL? It seems like there should be some on-creation script location, somewhere... Quote Link to comment Share on other sites More sharing options...
toadstorm Posted February 8, 2019 Share Posted February 8, 2019 Is it creating the 1 because another instance of that same OTL exists in the same scene path? If something else is causing this, you can always just go to the Type Properties > Scripts window, and enter the following in the OnCreated event: me = kwargs['node'] me.setName('MyNameWithoutA1AtTheEnd', True) 1 Quote Link to comment Share on other sites More sharing options...
kleer001 Posted February 8, 2019 Author Share Posted February 8, 2019 That looks perfect, I bet it'll work. Thanks mate! Quote Link to comment Share on other sites More sharing options...
kleer001 Posted May 8, 2019 Author Share Posted May 8, 2019 Yup, totally works in production. Thanks again! 1 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.