Select to view content in your preferred language

set object attributes

420
1
09-22-2022 10:47 AM
biaozeng
Occasional Contributor

I created a pile of geometry. I need to assign the height calculated by cga to the object attributes. I have a lot of shapes that need such operations

biaozeng_0-1663868669464.png

biaozeng_0-1663868861324.png

 

 

0 Kudos
1 Reply
JonasObertuefer
Esri Contributor

Hey @biaozeng,

In order to do this you need to report geometry.height in your rule and then run a script based export on your shapes where you then can query each reported value after the model generation and write the value as an object attribute with ce.setAttribute.

Please note that the object attributes are not updated automatically you have to run the script each time you want to update the object attributes.

0 Kudos