Get All Objects in a Folder


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #The objectValues() method returns a list of objects contained in a folder.
  2. # If the context happens not to be a folder, nothing is returned
  3.  
  4. objs = context.objectValues()

URL: http://www.plope.com/Books/2_7Edition/BasicScripting.stx

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.