Author Topic: How to Add part through API  (Read 52 times)

sravang

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
How to Add part through API
« on: February 23, 2021, 11:57:11 pm »
Hello,

I am trying to add part to an element through API.

I added it to an element through UI.

In UI I did a right click on element I want to add part and after that I wanted to refer it to an instance of an element and I did by adding in Parts/Properties.

I want to add the same i,e want to refer to an instance of an element for my embedded element through API.

I retrieved the information of instance it is referring to by looking at element.MISCDATA[0].

Thanks,
Sravan
« Last Edit: February 24, 2021, 12:02:10 am by sravang »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 10790
  • Karma: +380/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to Add part through API
« Reply #1 on: February 24, 2021, 12:54:06 am »
I think where was a similar question a few weeks (or months) ago.

You might want to search for that one.

Geert