Book a Demo

Author Topic: EA scripting support classes?  (Read 3627 times)

David Rains (bioform)

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
EA scripting support classes?
« on: January 20, 2011, 05:55:19 am »
I am in the middle of refactoring a script and started to define some classes to make the code a bit easier to follow...

Having a bit of a problem create one of my classes from within another class?

Example: create C (a connector class) and during the process of assigning the connector's ID (let) it triggers the creation of the supplier (Es) and client (Ec) elements...

I know this might seem overkill but it is to help me prototype a solution for building an add-in later...

Thanks,
David

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA scripting support classes?
« Reply #1 on: January 20, 2011, 02:47:11 pm »
David,

Give it up with those scripts already and start working in real programming language 8-)

Geert

David Rains (bioform)

  • EA User
  • **
  • Posts: 84
  • Karma: +0/-0
    • View Profile
Re: EA scripting support classes?
« Reply #2 on: January 20, 2011, 03:40:11 pm »
LOL okay okay!