Determine if part is family of parts member.

I am new to solidedge macro development and i am trying to figure out how to determine if a file is a member of a family of parts. I.E. if the sheetmetal part file is a part copy then i dont want to open it. I want to keep cycling thru a file list until i get to the parent file with all the configurations. Any one know how to determine this?


Posted by: Andrew Bourgeois
Post date: 6/25/2012 11:55:09 PM


Re: Determine if part is family of parts member.



the SolidEdgePart.PartDocument and SolidEdgePart.SheetMetalDocument objects own a property CopiedParts which allows you to get a reference to a CopiedPart object if the par/psm document is a copied part. The CopiedPart object owns the property FamilyOfPartsMember which allows to determine whether it is a family of parts member or not.


Posted by: Wolfgang Kunert
Post date: 6/26/2012 12:56:37 AM