不具合
不具合 ID 番号 | BUG-000106416 |
---|---|
送信されました | July 7, 2017 |
最終更新日 | November 16, 2022 |
適用対象 | ArcGIS CityEngine |
見つかったバージョン | 2017.0 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 7.0 64 Bit |
ステータス | 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: BUG-000106416
ソフトウェア:
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード