TemplateManager
instead.
public interface PartFamilyManager extends TransientObject
Part.getPartFamilyManager()
to get the instance of this class. _value, dispose, printTestData, printTestData
int getMemberCount() throws NXException, RemoteException
Template.getMembers()
instead
NXException
RemoteException
Part createMember(int memberIndex) throws NXException, RemoteException
TemplateManager.saveFamilyAndCreateMembers(nxopen.partfamily.InstanceDefinition[])
instead
memberIndex
- the index of member for which part needs to be createdNXException
RemoteException
int addMember(PartFamilyMemberValues memberData) throws NXException, RemoteException
TemplateManager.addInstanceDefinition(java.lang.String, nxopen.partfamily.InstanceDefinition, java.lang.String)
instead
memberData
- the member valuesNXException
RemoteException
void editMember(int memberIndex, PartFamilyMemberValues newMemberData) throws NXException, RemoteException
TemplateManager.getInstanceDefinition(java.lang.String)
and InstanceDefinition.setValueOfAttribute(nxopen.partfamily.FamilyAttribute, java.lang.String)
instead
memberIndex
- the index of member that needs to be editednewMemberData
- the new member data
NXException
RemoteException
void deleteMember(int memberIndex) throws NXException, RemoteException
TemplateManager.deleteInstanceDefinition(nxopen.partfamily.InstanceDefinition)
instead
memberIndex
- the index of member that needs to be deleted
NXException
RemoteException
int askIndexOfMemberName(String memberName) throws NXException, RemoteException
TemplateManager
instead
memberName
- the member name NXException
RemoteException
void printFamilyTable() throws NXException, RemoteException
TemplateManager
to query and print part family information
NXException
RemoteException
String establishMember(int memberIndex) throws NXException, RemoteException
TemplateManager.establishFamilyInstance(java.lang.String)
memberIndex
- index of memberNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.