Creating a connector is fairly easy. Once you got the two requirements elements in according objects (say source and target) you create the connector like this:
connector = source.Connectors.AddNew( "", "Dependency" );
connector.SupplierID = target.ElementID;
connector.Update();
q.
Hi qwerty,
I think you are very big expert in Enterprise architect!
Unfortunately, I'm newer in EA, and I have some doubts for it use.
I thought it was possible modify the script Jscript-csv (from application bar Tools/Scripting/EAScriptLib) and run the CSV import command to use my modifies. Wrong thought!
Furthermore the Jscript-csv has no effect, when I run it.
The console output of the script is the following:
[01632329] Stack recording threshold set to 3 frames
[01632426] Default Directory is C:\Program Files (x86)\Sparx Systems\EA
[01632427] Agent dll found: C:\Program Files (x86)\Sparx Systems\EA\vea\x86\SSScriptAgent32.DLL
[01632427] Default Directory is C:\Program Files (x86)\Sparx Systems\EA
[01632428] Agent: Started
[01632651] edit and continue - unsupported
[01632723] Script finished
[01632724] Debug Session Ended
Have you any suggestions to clarify me how use the script?
Tahnk you in advance!