Using a hard-coded function but getting the 'function not found' error

I want to be able to show a list of objects contained within another object.

I've tried to use both GetAllChildObjects and GetDirectChildren but both are giving this error:

Error running script: Function not found: 'GetDirectChildren'/Error running script: Function not found: 'GetAllChildObjects'

I'm not sure why it doesn't work or if I'm missing something really simple! Also, is there a better way of doing this?


A lot of hard coded functions are strongly typed. So for example there is a function GetDirectChildren (object) but no function GetDirectChildren (string). This means that if you give it a parameter of the wrong type, it will say the function isn't found.

If this is the issue, it probably says in the error message what signature it's looking for.

If you need more help to get it working, try giving us the code that's causing the problem, and the actual error message.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums