Book a Demo

Author Topic: using <ModelView> stereotype in a script  (Read 4761 times)

steve.anderson

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
using <ModelView> stereotype in a script
« on: June 30, 2016, 07:53:02 pm »
Hi,

I am writing a vbScript based Script that create a diagram and then places 3 object with the stereotype <ModelView> on to the diagram to display usage information about an chosen element.

My issue is that I have the Object created but I can't seem to assign what is in the Source Attribute of the object (the piece with the SQL query for it to display).

Thanks in advance.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: using <ModelView> stereotype in a script
« Reply #1 on: June 30, 2016, 10:46:49 pm »
I might be able to help if you provide a little bit more information on what you are trying to achieve, and where you are stuck.

Geert

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: using <ModelView> stereotype in a script
« Reply #2 on: June 30, 2016, 10:50:15 pm »
The SQL goes into the tagged value “ViewProperties”. So you have to manipulate that tagged value.
Best regards,

Peter Heintz