Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Aaron B

Pages: 1 ... 3 4 [5] 6 7 ... 59
General Board / Re: Sql query for retreiving all packages in model
« on: March 21, 2016, 05:13:10 pm »
Actually, GetElementSet() can use a SQL Query, but it can only return a collection of Element objects, not Package objects.

You might be able to use something like:
EA.Collection result = Repository.GetElementSet("select object_id from t_object where object_type = 'Package'", 2);

Then make sure to handle the contents of this collection as EA.Element types, not EA.Package.  To get the corresponding EA.Package for each of these elements, try calling Repository.GetPackageByGUID( element.ElementGUID ).

Automation Interface, Add-Ins and Tools / Re: Getting Started with MDG
« on: March 03, 2016, 03:19:11 pm »
The "Profile Helpers" video from the following Webinar might be a good place to start.  It walks through the creation of a simple set of uml, diagram and toolbox profiles, then builds and deploys them as an MDG Technology.

This video was created using EA 10 back in January 2013, so there might be some minor changes to the menu commands, but the general process is still the same as far as I am aware.

Or use %sl% to output the backslash character ...

Code: [Select]
if(lines[i].indexof('%sl%t')>0){//do something}

Unfortunately, no.  There is no way to set options such as the default diagram, theme or header image when calling Repository.RunHTMLReport at this time.  Sorry.

I think Auto Increment is something like:


Not sure about other options like Unsigned.

General Board / Re: Giving Kudos
« on: February 01, 2016, 09:46:18 am »
Just taking a quick peek in the forum settings I think you currently need to have a minimum of 20 posts before you can give +/- karma.

If deploying with an add-in, another solution is to have your model templates as string resources of your add-in project, then return them in response to the EA_OnRetrieveModelTemplate broadcast event.

See the "Columns" section of the table at the end of the following page:

Columns are similar to attributes, but have an autonumber element containing Startnum and its increment, and these added properties:
  • Length
  • NotNull
  • Precision
  • PrimaryKey
  • Scale
  • Unique
In the column definition, you cannot assign a value to the NotNull, PrimaryKey or Unique properties.

So just write "NotNull" without any value in the column definition.  You can also set the Length, Precision and Scale values as needed.



Bugs and Issues / Re: Setting up automatic checkout of shared license
« on: January 19, 2016, 09:58:36 am »
The value required in the AutoCheckEx registry entry will depend upon the type of EA license that you want the user to obtain.

The value "hex:1a,00,00,00" is for getting an EA Ultimate edition license key.
The value "hex:02,00,00,00" is for getting an EA Corporate edition license key.

The registry settings on page 22 of the Deployment white paper use the value "hex:1a,00,00,00" as an example only.  The details of the values that should be entered into each of these fields are described in the table below that example.  There is an additional table on page 23 with a list of the possible license codes for the AutoCheckoutEx field.

I'd suggest putting both dialogs at the same level in the hierarchy.  Don't nest one dialog below the other in the Project Browser.  You could use some sort of connector between the two dialogs to indicate their parent/child relationship if needed, but it would only be for your own reference.


 |- MyMainDialog
 |- MyChildDialog

General Board / Re: EA 12.1 passwords do not work
« on: January 11, 2016, 10:27:08 am »
There was a change introduced in EA 11 to the way passwords are saved in the repository.  Which specific build(s) of EA are you using?  If a password was set using EA 12.1 for example and then that user tries to login with EA 10 (or possibly an early build of EA 11), it will fail.

Edit: Just realised you were talking about using a cloud repository, which would mean all users are running EA 11 or higher already and therefore my first guess above would likely not be relevant.  Sorry.  Are you setting the password and then trying to login as a different user with the same EA installation and exact same cloud repository connection?  What authentication settings are configured in your Cloud Service?  E.g. Is it using MODEL_AUTHENTICATION or GLOBAL_AUTHENTICATION?  Are you using Active Directory / Windows Authentication?

Hi Geert,
Thanks for bringing these to our attention.  I'm working with Roy at the moment to see if we can fix some of those holes in the API documentation.

General Board / Re: "Cannot Create XML Document"
« on: December 22, 2015, 11:30:19 am »
Please try installing MSXML 4.0 from the following link:
This should resolve the error.

Suggestions and Requests / Re: Generate code from state machine diagram
« on: December 11, 2015, 09:35:24 am »
I have got the Corporate Edition. So do I need one of the versions you have listed there?
Yes, you need one of those editions to generate code from a State Machine.  Corporate edition does not support code generation from behavioral models.

Suggestions and Requests / Re: Generate code from state machine diagram
« on: December 10, 2015, 09:32:47 am »
how can I generate a code from a state machine diagram?
I found that example 'Java Code Generated From State Machine Diagram', but I don't know how to do this in EA. It isn't explained there.
First, which edition of EA do you have?  Code generation from behavioral models is only available in the Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect.

Pages: 1 ... 3 4 [5] 6 7 ... 59