float $resultArray[] = `getFaceVertexCoordList("polySurface1" )`; print $resultArray; global proc float[] getFaceVertexCoordList(string $shapeName) { float $resultArray[] = {}; string $ftv[] = `polyInfo -faceToVertex ($shapeName+ ".f[0]")`; string $buf[]; $numTokens = `tokenize $ftv[0] ":" $buf`; $numTokens = `tokenize $buf[1] " " $buf`; for ($element in $buf) { float $coords[] = `xform -ws -q -t ($shapeName + ".vtx[" + int($element) +"]")`; $resultArray[size($resultArray)] = $coords[0]; $resultArray[size($resultArray)] = $coords[1]; $resultArray[size($resultArray)] = $coords[2]; } return $resultArray; }
hi !yes, .shp, file .gdb or .osm allow you to import such attributed..obj / .dae / .fbx cannot be used for this.you could use Python scripting to assign specific attributes to specific shapes though.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.