Access control point vertices using Python

323
3
01-17-2024 11:47 PM
Status: Already Offered
Bud
by
Notable Contributor

Regarding control points:

If I understand correctly, there isn't a way to access control point vertex coordinates using Python. Could that functionality be added?

3 Comments
ShaunWalbridge
Status changed to: Needs Clarification

You should be able to access the control point information with the ArcPy CIM access, see the symbols CIM definitions for the item types. There are a few different elements in the CIM to support this behavior, I'd recommend you try experimenting with some data, then extract the CIM from the .aprx you're using to examine its structure. The ArcPy class works well, but a working mental model of the CIM layout is important to make effective use of it.

Cheers, Shaun

Bud
by

@ShaunWalbridge 

Ok. Thanks. Feel free to close.

HannesZiegler
Status changed to: Already Offered

Closed as already offered as per the discussion above, the recommended solution provided by @ShaunWalbridge is copied here for convenience:

You should be able to access the control point information with the ArcPy CIM access, see the symbols CIM definitions for the item types. There are a few different elements in the CIM to support this behavior, I'd recommend you try experimenting with some data, then extract the CIM from the .aprx you're using to examine its structure. The ArcPy class works well, but a working mental model of the CIM layout is important to make effective use of it.