Teamcenter代码获取LOV值

TCComponentListOfValuesType lovType = (TCComponentListOfValuesType) session.getTypeComponent("ListOfValues");//获取lovtype

TCComponentListOfValues projectItemslov = lovType.findLOVByName("LH8_ProductCodeLOV");

String[] projectItems = null;

if(projectItemslov != null) {

projectItems = projectItemslov.getListOfValues().getLOVDisplayValues();

}

 

你可能感兴趣的:(Teamcenter开发)