• 0 Votes
    3 Posts
    353 Views

    You could also delete all of the model entities by filtering by type. Visible geometry objects have type 'body', so you could do:

    import s4l_v1.model as model entities_to_delete = [e for e in model.AllEntities() if e.Type == 'body'] for e in entities_to_delete: e.Delete()