How to delete a specific object

On 01/09/2016 at 23:16, xxxxxxxx wrote:

Sorry for this noob question i want to delete a object (Foreground Object) using python and i have no idea how to use Obj.Remove() 
and i want to delete that specific object but the python tag is on the null and controlling the userdata i dont want to move the tag to delete it
please help

On 02/09/2016 at 01:16, xxxxxxxx wrote:

Hello and welcome,

could you describe what you actually are doing? How is a Python tag or user data related to your question?

Please notice that a Python tag is supposed to work as an expression. This means that it is executed every time the scene is executed. This is done in a background thread and therefore you are not allowed to change the scene from a Python tag. This includes deleting objects.

Best wishes,
Sebastian