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.


Topics - philchudley

Pages: [1] 2 3 ... 11
1
Automation Interface, Add-Ins and Tools / Close the Search Window
« on: December 05, 2023, 11:42:28 pm »
Hi All

It is possible to display results from a SQL Search within a Script to the Search Window.

BUT it appears there is no way to close the Search Window within the Script.

On the first execution the results display correctly, but on all subsequent executions, blank rows appear s the last rows in the Search Window.

Does anyone know how to close the search window within a script? I am using EA  16.1 latest build 64 bit and my script is written in JavaScript.

Many thanks
Phil

2
Automation Interface, Add-Ins and Tools / Session.Prompt Dialog
« on: November 08, 2023, 11:34:08 pm »
I am playing around with Model based add-ins using EA version 16.11.1627 64bit

Just, for the moment a simple menu to display an About box. The About box is displayed using Session.Prompt

This works fine, except that EA appears to hang with OK is clicked with the "blue circle of death" and will eventually (after about 45 secs to 1 minute) close the dialog.

Anyone else experienced this? If so, did you find a solution?

I suppose the delay does give the user time to read the dialog.  ;)

Phil

3
Bugs and Issues / Latest Release of EA v16.1 Template Fragments
« on: January 24, 2023, 12:12:23 am »
Hi All

Sparx have announced a new build release if EA v 16.1 and in the release notes it states, in

Template Fragments can now be used in all element sections within a document template

I have just tested this, and yes a Template Fragment can be used in the Element section within the Diagram section of a template, but NOT within the Child elements section of Element section!

Not quite all element sections within a document template methinks, unless of course Sparx regard Child elements as not an Element section.

Anyone else confirm or deny my test? If confirmed, then a bug report will be sent off.

Phil

4
Automation Interface, Add-Ins and Tools / Session.Prompt Dialog
« on: January 03, 2023, 08:04:29 pm »
Has anyone else experienced the following?

In a script or Model Add-in, when using Session.Prompt to display a modal dialog, the very first time the script (or Model Add-in) is run the very first execution of a Session.Prompt command, the modal dialog is displayed minimised on the Windows task bar, rather than on the EA workspace? This gives the impression that EA has "hung up".

All subsequent executions display the dialog as expected.

Using latest build of EA v 16.1, and the behaviour is the same for Windows 10 and Windows 11.

Phil

5
Automation Interface, Add-Ins and Tools / Workflow Events
« on: November 29, 2022, 12:25:35 am »
Hi All

There is a workflow broadcast event that is named EA_AllowPropertyUpdate for which the EA user guide states:

"This event is sent to workflow Add-Ins after a user has changed a built-in property value."

However, upon testing this, it appears that a change to the element Name property does not trigger this event, where as a change to version does
trigger this event. There may be other properties that trigger this event, but I would really like to detect an attempt to change the name property.

I seem to recall in the dim distant past when Workflow scripts were introduced, there was a list of property changes that we detected, I guess Name is not one of them.

Phil

6
PCS General Board / Prolaborate Logout Issues
« on: August 11, 2022, 05:47:09 pm »
I hope someone out there can point me to a solution to the following problem

I have Prolaborate installed on a VM which I access remotely

I can login from my remote machine. everything is fine BUT when I log out Prolaborate returns the url

http://localhost:81/Logout.aspx?logout=rm

instead of a url beginning with my vm url

This in effect means I am not logged out.

What is causing this and how to fix it.

All help greatly appreciated

Phil

7
General Board / Old Test Case Element
« on: May 10, 2022, 06:10:56 pm »
Hi All

I am working a repository for a client that was created quite a few years ago and in one section models Test Cases. These elements are rendered, as Use Case elements with a bold black X in the top, on a Use Case diagram.

On older versions of EA this used to be (incorrectly IMHO) in the UML Use Case Diagram toolbox.

When one of these test case diagrams is opened in EA v 15.2, the test case element is not in the diagram tool box, but is rendered correctly with the bold black X.

Does anyone out there know where this old test case element is located, which MDG should be used?

Of course copying an existing element and pasting as new works, but I would still like  to know how create one these old test case elements from scratch.

I have tried creating a UML Use Case and assigning the stereotype <<testcase>>, but that just produces the text <<testcase>> in the Use Case and not the bold black X.

Thanks

Phil

8
Bugs and Issues / HTML Publishing in EA v 16 RC 64bit
« on: April 06, 2022, 09:40:59 pm »
I have just tried Publish to HTML in EA v 16 RC 64 bit, and it appears to work in all browsers and has a new "look and feel" with no Browser tree.

BUT, despite setting a Model default diagram, and setting this upon HTML generation, NO diagram is displayed when loading index.htm

This is also true when the other diagram settings (current, select other diagram) are selected.

Just behaves as if No diagram was selected.

Most annoying!

9
Automation Interface, Add-Ins and Tools / SQL Query Using Firebird
« on: March 02, 2022, 03:46:47 am »
Hi All

I personally do not use Firebird as an EA repository, but I have a client who does, and I have run into a SQL Query problem.

Using a SQL query like the one shown below:

SELECT t_object.Name
FROM   t_object, t_objectproperties
WHERE  t_object.Object_ID = t_objectproperties.Object_ID
AND    t_objectproperties.Property = 'Publish?'
AND    t_objectproperties.Value    = 'Yes'

Fails since Value is a reserved word, but certainly is the column name.

Value is highlighted in Blue in the SQL Scratch Pad but works in other repository formats, so how do you use the t_objectproperties.Value column in SQL queries for Firebird?

Thanks

Phil

10
PCS General Board / EA - JIRA Integration via PCS
« on: February 18, 2022, 02:57:25 am »
I have successfully achieved an EA - JIRA integration using PCS. All works, I can see everything from JIRA in EA, can push and pull changes, and can create a linked element from a JIRA item.

BUT, what I cannot do is create an item in JIRA from EA.

I have got types mapped and fields mapped including Description to Notes, but when I try to create the new item I receive the error:

External Data (Jira - PA JIRA): Field 'description' cannot be set. It is not on the appropriate screen, or unknown.

What does this mean and how to correct it?

All help and guidance most appreciated

Thanks

Phil

11
PCS General Board / Query Driven Doc Gen fails
« on: September 29, 2021, 09:07:48 pm »
Not sure if this is a general issue but:

I have a master /model document model where the model document is driven by a SQL query to get a set of elements in a specific sequence. The query works just fine and it returns the classguid and classtype

If I generate the document using an ODBC connection it works just fine. BUT if i connect via PCS the query simply does not run and I end up with an empty document!

If this is an issue it really needs to be sorted, there appears to be quite a few things that work with ODBC connections but not with PCS connections.

Phil

12
General Board / Export of List Overrides
« on: September 09, 2021, 07:30:34 pm »
Hi All

Just a quick query, but I am aware it is possible to export as reference data RTF templates, style sheets project constants etc, but is it possible to export list overrides as created during RTF template creation?

Phil

13
PCS General Board / PCS Cannot import HTML or Documentation Templates
« on: June 29, 2021, 09:42:56 pm »
Hi All

I tried to import some resources into my repository accessed via PCS. I was a bit surprised to be shown an warning diagram stating that Documentation and HTML Templates cannot be imported using a PCS connection and to use ODBC instead.

All other resources imported just fine.

Is any reason as to why the import of Documentation and HTML Templates is not supported by PCS?
Will support for this import be added in the future?

I am using PCS version 4.2.64

Thanks

Phil

14
Hi All

Is it possible to define a stereotyped relationship for my own Stereotype connector, between a Stereotype element defined in my MDG to an element (in this case SysML 1.5::block) defined if a different MDG?

I have tried defining a stereotyped relationship, setting the tag to my Stereotype connector and defining the SysML block as Abstract / Non Abstract, but the quicklink does not work. The Stereotype connector is in the toolbox for the diagram I am attempting to create the relationship on.

If it is possible to achieve what I am trying to do, how is it done?

Phil

15
General Board / Parse Error Reading C++ code
« on: June 03, 2021, 08:29:23 pm »
Hi All

A few years ago I imported some C++ code into EA, but recently I cannot import the following code (first lines shown only);

#define CCASNDITRACKINGDEVICE_H_HEADER_INCLUDED_C1C2FCD2

#include "CCASTrackingDevice.h"
#include <list>
#include "CCASTrackingTypes.h"
#include "CCASNDIProtocol.h"
#include "CCASNDIPassiveTrackableDevice6D.h"
#include "CCASSerialCommunication.h"


#include <vector>
#include <map>

namespace CCAS {
class
    NDIProtocol;

/** Documentation
    * \brief superclass for specific NDI tracking Devices that use serial communication.
    *
    * implements the TrackingDevice interface for NDI tracking devices (POLARIS, AURORA)
    *
    * \ingroup IGT
    */
class CCAS_IGT_EXPORT NDITrackingDevice :
   public TrackingDevice {
public:

    typedef CCAS::TrackingDeviceType NDITrackingDeviceType; ///< This enumeration includes the two types of NDI tracking devices (Polaris, Aurora).
    typedef CCAS::SerialCommunication::PortNumber PortNumber; ///< Port number of the serial connection
    typedef CCAS::SerialCommunication::BaudRate BaudRate; ///< Baud rate of the serial connection
    typedef CCAS::SerialCommunication::DataBits DataBits; ///< Number of data bits used in the serial connection
    typedef CCAS::SerialCommunication::Parity Parity; ///< Parity mode used in the serial connection

The error received is a Parse error on the lines asking if I would like to create a Language Macro and reparse:

class CCAS_IGT_EXPORT NDITrackingDevice :
   public TrackingDevice {
public:

    typedef CCAS::TrackingDeviceType NDITrackingDeviceType;

C++ is not my first language, but I cannot see anything incorrect with the code above,

Any Ideas

Using EA version 15.2.1559

Phil

Pages: [1] 2 3 ... 11