Book a Demo

Author Topic: Shape script printing number of connectors  (Read 2948 times)

DavidM

  • EA User
  • **
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Shape script printing number of connectors
« on: February 15, 2019, 05:46:38 am »
Hi,
I am sure it is obvious, but I want an element I have designed as a business capability, to print the number of connectors it has to systems, in a container.

Is there a variable in Shape shift script to print the number of convectors of a particular type that an element has?
Nothing fancy, just printing connector number.

Thanks
David

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Shape script printing number of connectors
« Reply #1 on: February 15, 2019, 06:08:16 pm »
Not out of the box. You have to write an add-in and use the result in a statement like
Code: [Select]
print("#addin:myAddIn#")
q.