Instead of selecting a specific object, you can use a keyword that selects all appropriate data from the part. If you want to have mass properties calculations on all of the solids in a part, including any solids in assembly components, use either PART or SOLIDS as the object name. In a similar manner, you can perform mass properties calculations on all sheet bodies in the part by using the keyword, SHEETS.