Error
Número de ID del error | BUG-000106416 |
---|---|
Enviado | July 7, 2017 |
Última modificación | November 16, 2022 |
Relacionado con | ArcGIS CityEngine |
Versión encontrada | 2017.0 |
Sistema operativo | Windows OS |
Versión de sistema operativo | 7.0 64 Bit |
Estado | Under Consideration |
Use this python function to find attribute type mismatches: def findAttributeTypeMismatch(shapes): sceneAttributeList = [] sceneAttributeTypeList = [] badAttributes = [] badAttributeTypes = [] for shape in shapes: shapeAttributeList = ce.getAttributeList(shape) for attributeName in shapeAttributeList: attributeType = type(ce.getAttribute(shape, attributeName)) if attributeName not in sceneAttributeList: sceneAttributeList.append(attributeName) sceneAttributeTypeList.append(attributeType) else: expectedType = sceneAttributeTypeList[sceneAttributeList.index(attributeName)] if attributeType != expectedType: if attributeName not in badAttributes: badAttributes.append(attributeName) badAttributeTypes.append([expectedType,attributeType]) print badAttributeTypes return badAttributes.
ID del error: BUG-000106416
Software:
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri