0

I'm in the process of converting an Addin written in ArcObjects to an ArcGIS Pro Addin. I need to rotation everything in a point layer using the values stored in the ANGlE field. In ArcObjects I was able to define a rotation renderer like this then apply to the entire point layer,

pRotationRenderer.RotationField = "ANGLE"    ' ANGLE is the name of a field in the feature class
pRotationRenderer.RotationType = esriSymbolRotationType.esriRotateSymbolGeographic

How do I achieve this using the ArcGIS Pro SDK?

1 Answer 1

1

I've not yet had a chance to develop in ArcGIS Pro but a quick whizz around their API help file I would suggest you explore the CIM model and have a look at the symbology examples for inspiration.

2
  • Thanks for your suggestion. Unfortunately I've already combed through most of the examples but couldn't find a way to pass the angle column in. Each point's angle are different and there are hundreds of points in a layer I really don't want to have to loop through each point and set the angle one by one.
    – Yannie
    Commented Mar 26, 2020 at 19:19
  • @Yannie could this help?
    – Hornbydd
    Commented Mar 26, 2020 at 20:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.