Select to view content in your preferred language

Editing data through Schematic Diagram

2004
1
08-01-2012 11:32 AM
BryanPittman
New Contributor
Does anyone know a way to edit the underlying data of a schematic diagram through the diagram itself. Basically, if I add Fiber Strands to my schematic feature class, I want my object data table in the database to update the new records. I would want to do this for attribute editing also. I don't see this as being possible but maybe someone has come up with a solution. Thanks.
Tags (2)
0 Kudos
1 Reply
RickAnderson
Frequent Contributor
The schematics api is just another part of ArcObjects.  So you definitely can edit the real features/objects from a diagram, but we don't allow that out of the box.  Out of the box, a diagram is just a view of the real data.  Depending on how your diagrams templates are configured and the type of underlying data, schematics keeps track of the 'real' classid, objectid and subid as well as the datasource from which it came.  So it is pretty easy to use that to get back to the source feature and make changes.  In the 10.1 desktop SDK, there is a digitizing sample that shows how you can digitize directly on a schematic diagram, so that will help you get a feel for various parts of the api.  Since standard features and schematic features are in different edit sessions, if you want to take what was digitized on the diagram and push it to the 'real' feature class, you will have to get that workspace, start editing and create the 'real' feature record based on what was digitized on the schematic. 

You should also take a look at the ISchematicFeatureLinker as it can help you retrieve objects (again depending on how the schematic dataset is configured).  This would be very useful if you want to update the 'real' feature attributes based on a change done in the schematic diagram.
http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/#/FindObjectsFromSchematicFeature_M...
0 Kudos