Methods and Properties Introduced:
|
|
IpfcFamilyMember.GetImmediateGenericInfo() |
|
|
IpfcFamilyMember.GetTopGenericInfo() |
|
|
IpfcFamilyTableRow.CreateInstance() |
|
|
IpfcFamilyMember.ListRows() |
|
|
IpfcFamilyMember.GetRow() |
|
|
IpfcFamilyMember.RemoveRow() |
|
|
IpfcFamilyTableRow.InstanceName |
|
|
IpfcFamilyTableRow.IsLocked |
To get the generic model for an instance, call the property IpfcFamilyMember.Parent.
From Pro/ENGINEER Wildfire 4.0 onwards, the behavior of the property IpfcFamilyMember.Parent has changed as a result of performance improvement in family table retrieval mechanism. When you now call the property IpfcFamilyMember.Parent, it throws an exception IpfcXToolkitCantOpen, 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 IpfcFamilyMember.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 IpfcFamilyMember.GetTopGenericInfo().
Similarly, the method IpfcFamilyTableRow.CreateInstance() returns an instance model created from the information stored in the IpfcFamilyTableRow object.
The method IpfcFamilyMember.ListRows() returns a sequence of all rows in the family table, whereas IpfcFamilyMember.GetRow() gets the row object with the name you specify.
Use the method IpfcFamilyMember.RemoveRow() to permanently delete the row from the family table.
The property IpfcFamilyTableRow.InstanceName returns the name that corresponds to the invoking row object.
To control whether the instance can be changed or removed, call the property IpfcFamilyTableRow.IsLocked.