Erro
| Número de ID do Erro | BUG-000106416 |
|---|---|
| Enviado | July 7, 2017 |
| Última Modificação | November 16, 2022 |
| Aplica-se à | ArcGIS CityEngine |
| Versão encontrada | 2017.0 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 7.0 64 Bit |
| Status | 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 do Erro: BUG-000106416
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri