Author Topic: InvokeConstructPicker - Limited to Elements?  (Read 2126 times)

David Rains (bioform)

  • EA User
  • **
  • Posts: 83
  • Karma: +0/-0
    • View Profile
InvokeConstructPicker - Limited to Elements?
« on: March 12, 2014, 02:31:14 am »
The documentation for the related Select <Item> Dialog indicates that you can select attributes, etc.

And even the InvokeConstructPicker will allow you to filter for attributes, but on clicking OK... alas a 0 is returned.

I need to be able to use the InvokeConstructPicker capability to allow a user to specify a state, operation, or attribute (besides an element).

Any ideas on how I can go about this (I'm doing this in VBscript)

Thanks as always...
 ;)

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: InvokeConstructPicker - Limited to Elements?
« Reply #1 on: March 12, 2014, 11:53:02 am »
The help documentation states that InvokeConstructPicker returns the ElementID of the selected object.  Pretty sure it currently only supports selection of elements, not features such as Attributes or Operations.

David Rains (bioform)

  • EA User
  • **
  • Posts: 83
  • Karma: +0/-0
    • View Profile
Re: InvokeConstructPicker - Limited to Elements?
« Reply #2 on: March 12, 2014, 02:23:18 pm »
The link from the help text for Repository.InvokeConstructPicker - references the following help via the "Select <Item> Dialog" help link to

http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/instanceclassifier.html

That is what lead me to ask the question as this mentions several of the things I would LOVE to be able to select!  :)

Thanks for the help and the confirmation.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 11851
  • Karma: +460/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: InvokeConstructPicker - Limited to Elements?
« Reply #3 on: March 12, 2014, 05:42:35 pm »
David,

I can confirm that it only supports elements. I've already asked for it to be extended to other types of elements, but no luck so far.

I suggest you send in a feature request as well.

Geert