HOW TO

Bearbeiten von Diagrammen mit dem ArcGIS Schematics SDK

Last Published: April 29, 2024

Zusammenfassung

Diagrams can be edited using the ArcGIS Schematics SDK. As such, it is important to follow the correct pattern for editing diagrams, specifically to not load the diagram in memory prior to attempting to edit or hold a reference to the in-memory diagram when calling StopEditSchematicDiagram. Loading the diagram in memory is handled internally by the Schematic Layer during StartEditSchematicDiagram. Additionally, loading the diagram in memory within the custom code as part of the diagram editing process adds a reference to the in-memory diagram. Holding a reference to the in-memory diagram when calling StopEditSchematicDiagram may result in a crash or prevent the in-memory feature classes from being released internally by the framework.

Vorgehensweise

When editing schematic diagrams using the ArcGIS Schematics SDK, the following workflow is recommended. Please note the difference in the two referenced function calls.

  1. Initialize a Schematic Layer that includes the diagram to be edited.
  2. Call SchLayer.StartEditSchematicDiagram.
  3. Make edits to the diagram.
  4. Save the edits (if the edits must be discarded, do not save).
  5. Call SchLayer.StopEditSchematicDiagram.

Artikel-ID: 000018520

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln