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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.