Author Topic: Jscript for creating Ports & Interfaces to a Component  (Read 119 times)

Suv

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Jscript for creating Ports & Interfaces to a Component
« on: March 18, 2019, 01:55:37 pm »
Hello Team,

I am a novice to EA scripting. But, I am quite familiar with most of the scripting languages.

I require to create >100 Ports & Required Interfaces to 1 of my components while creating Component Diagram in my Model.
I have a list of these Ports & Required Interfaces in CSV format.

Can someone help with a JScript to show how to automatically create Ports & Required interfaces from CSV.

For e..g. Component Name: ComponentA
List of Ports: Port1, Port2, ......., Port100
List of Required Interfaces: ReqIntf1, ReqIntf2, ......, ReqIntf100

Name of csv file: Test.csv