Importing connectors (or other relations) from csv

Starting point for “ask and learn more about MagicDraw”

Moderator: Moderators

Importing connectors (or other relations) from csv

Postby » Fri Feb 11, 2022 9:42 am

I'm trying to import connectors between two part properties using a csv. More specifically I'm using the UAF plugin to connect two resourceroles with resource connectors. I'm having trouble figuring out what the mapping should be. If I try to import the connectors, I see one of the fields to map is "end", with the type being ConnectorEnd. The ConnectorEnds don't exist in the model yet; when I create a connector manually it looks like these are created automatically. If I try to put the name of the part properties in here the import fails saying "client and/or supplier could not be established" or something like that.

The next thing I tried was to import a csv with ConnectorEnds, thinking if I imported these first maybe the Connector import would work. I try this and I have to specify an owner. If I look at the connector I made manually, the connectorEnd properties list the Connector itself as the owner. So I'm stuck with this "chicken and egg" scenario where I have to have the connector defined to make the connector ends, but I have to have the connector ends defined to make the connector.

Is importing connectors via csv possible? Is there something I'm missing? I'm struggling trying to figure out what this mapping should be.
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:1
Joined: Fri Feb 11, 2022 9:28 am

Return to New to MagicDraw

Who is online

Users browsing this forum: No registered users and 1 guest