![]() |
Creating relationships with API |
Post Reply
|
| Author | |
javafreak
Member
Joined: 14.May.2017 Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: Creating relationships with APIPosted: 14.May.2017 at 20:05 |
|
Hello,
how do I create a relationship between two objects with the MetaEdit API? Thank you. |
|
![]() |
|
stevek
MetaCase
Joined: 11.Mar.2008 Points: 643 |
Answer Post Options
Thanks(0)
Quote Reply
Posted: 14.May.2017 at 21:41 |
|
You want to create a binding: see createBinding() in the Workbench API Chapter 9.4.7 Graphs and bindings. This will create a new conceptual binding in that graph, along with its new relationship and new roles, linking those objects. It won't create a representation for any of this in a diagram; you can either choose Graph | Import Graph in the Diagram Editor, or call addNewBindingRepFor() in (one of) the diagrams() of the graph.
|
|
![]() |
|
javafreak
Member
Joined: 14.May.2017 Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 15.May.2017 at 09:44 |
|
Thanks for the help and the quick response.
![]() |
|
![]() |
|
iamokkkkk
New Poster
Joined: 30.May.2019 Location: United States O Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 30.May.2019 at 09:30 |
|
Very thankfull for great information.
|
|
![]() |
|
Post Reply
|
|
| Tweet |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |