4

Is it possible to use the functions from ArcMap's Main Menu (for example Add Data, Start Editing) in my model?

I cannot find a way to add any other functions except Toolboxes.

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Alexei
  • 41
  • 1
  • What functions do you want to use from ArcMap menu? Main idea of ModelBuilder is to apply some processing tasks (geoprocessing) to input data and receive output. – Alex Markov May 31 '12 at 10:15
  • Tools that support edit sessions piggyback onto the existing edit session. It is not possible without using ArcObjects to start/stop an edit session programmatically. – blah238 Jun 04 '12 at 03:35

1 Answers1

3

There is actually one hacky method. To use COM objects in Python and in this way to communicate with ArcObjects.

There was already such topic here: How do I access ArcObjects from Python?.

Read also this presentation: Using ArcObjects in Python.

and this thread on Esri forum: ArcMap 10, ArcObjects, and Python: very cool, but help with a couple of problems?

Alex Markov
  • 4,017
  • 22
  • 34