16
Automation Interface, Add-Ins and Tools / How can I update Notes for Diagram?
« on: December 01, 2022, 11:24:43 pm »
Hi All,
I want to update the Notes for a Diagram, but it doesn't work. Here is part of my code:
Dim eaEleDiag As EA.Diagram = m_Repository.GetDiagramByGuid(someDiagramId)
eaEleDiag.Notes = “Some Notes"
eaEleDiag.Update()
I tried many times, and I couldn't see that the Notes had been changed to new value when debugging, but after program exited, the notes on that diagram didn't change.
Which step did I miss?
I want to update the Notes for a Diagram, but it doesn't work. Here is part of my code:
Dim eaEleDiag As EA.Diagram = m_Repository.GetDiagramByGuid(someDiagramId)
eaEleDiag.Notes = “Some Notes"
eaEleDiag.Update()
I tried many times, and I couldn't see that the Notes had been changed to new value when debugging, but after program exited, the notes on that diagram didn't change.
Which step did I miss?