Methods Introduced:
To get the generic model for an instance, call the method pfcFamily.FamilyMember.GetParent.
From Pro/ENGINEER Wildfire 4.0 onwards, the behavior of the method pfcFamily.FamilyMember.GetParent has changed as a result of performance improvement in family table retrieval mechanism. When you now call the method pfcFamily.FamilyMember.GetParent, it throws an exception pfcExceptions.XToolkitCantOpen, if the immediate generic of a model instance in a nested family table is currently not in session. Handle this exception
and use the method pfcFamily.FamilyMember.GetImmediateGenericInfo to get the model descriptor of the immediate generic model. This information can be used to retrieve the immediate generic
model.
If you wish to switch off the above behavior and continue to run legacy applications in the pre-Wildfire 4.0 mode, set the configuration option retrieve_instance_dependencies to instance_and_generic_deps.
To get the model descriptor of the top generic model, call the method pfcFamily.FamilyMember.GetTopGenericInfo.
Similarly, the method pfcFamily.FamilyTableRow.CreateInstance returns an instance model created from the information stored in the FamilyTableRow object.
The method pfcFamily.FamilyMember.ListRows returns a sequence of all rows in the family table, whereas pfcFamily.FamilyMember.GetRow gets the row object with the name you specify.
Use the method pfcFamily.FamilyMember.RemoveRow to permanently delete the row from the family table.
The method pfcFamily.FamilyTableRow.GetInstanceName returns the name that corresponds to the invoking row object.
To control whether the instance can be changed or removed, call the methods pfcFamily.FamilyTableRow.GetIsLockedand pfcFamily.FamilyTableRow.SetIsLocked.