Announcement

Collapse
No announcement yet.

delete hidden objects from scene?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • delete hidden objects from scene?

    Anyone know of a quick way to delete the hidden objects from a scene? I've got a lot of them and if I unhide them they'll be everywhere and I know I'll miss some. Couldn't find anything on scriptspot to my knowledge.
    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

  • #2
    I would just select everything that is showing, then unhide all, invert selection and delete.

    Or create a selection set of the stuff you want to keep, unhide all, select te set , hide and delete the rest.
    Eric Boer
    Dev

    Comment


    • #3
      Perfect! I knew I was missing something.
      Thanks.
      www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

      Comment


      • #4
        As a script it is not really that difficult.
        Code:
        for i in objects do
        (if i.ishidden == true do delete i)
        It deletes everything that is hidden, no confirm or similar, so be careful when using it. Advantage is that you don't have to unhide anything.

        Best regards,
        Michael
        This signature is only a temporary solution

        Comment


        • #5
          Thanks. Saved for future reference.
          www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

          Comment


          • #6
            thanks a lot Sushidelic, veryvery usefull! (with cad import ie)
            =:-/
            Laurent

            Comment

            Working...
            X