Using MeshTransform class

214
1
09-23-2023 04:35 AM
PatrykJankowski
New Contributor

Hi, i would like to transform created 3d mesh, like moving or scaling. There is a MeshTransform class and i wonder if i can use it, but i cant find an example of using MeshTransform nowhere. Could you give me an usecase and example of using this class. Btw currently i remove mesh and creating new with updated cooridantes.

Tags (3)
0 Kudos
1 Reply
dani
by Esri Contributor
Esri Contributor

Hi,

Using MeshTransform in this way is still in beta and may change in the future, but if I've understood correctly, I believe your use case could be handled more simply using the 'offset()', 'rotate()', and 'scale()' methods on the Mesh class, documented here

Does this properly address your question? If not, could you explain a bit more what exactly you're trying to accomplish and provide some code you've tried so far. 

0 Kudos