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 - Guillaume

Pages: 1 [2] 3 4 ... 20
16
Bugs and Issues / Copy / paste a port from a block to another
« on: July 05, 2018, 08:12:26 pm »
Working on a diagram, I have a port on a SysML Block that I'd like to copy/paste on another Block.
I select the port from the diagram -> Ctrl + C
I select the target block and press Ctrl + Maj + V

I get the following error: Error: When pasting embedded elements, the parent element must first exist in the same diagram.   


17
General Board / Port isService property (SysML)
« on: July 05, 2018, 05:24:31 pm »
Hi,

In my SysML BDD, I define the block's port by setting a block as the port's type. When the port has flow properties (according to the block definition), it can be useful to revert it via the Conjugated property set to true (open the port properties > Advanced tab).
I noticed there is a isService property that can be set to true/false. I don't see any rendering difference changing the value. Is that supposed to be doing anything?
Currently when a port provides features, I manually add a Provided Interface so we know it provides services (since SysML 1.3)


18
Suggestions and Requests / Navigation Cells custom images
« on: July 05, 2018, 04:51:58 pm »
It would be useful if we could define our own set of Image Lists when using the Navigation Cells.


19
General Board / {unique} in SysML 1.4 Parts compartment
« on: July 03, 2018, 08:07:51 pm »
Hi,

I use EA 13.5 + SysML 1.4. On a BDD, I can see the block's parts in the compartment  e.g. role1: BlockB [1] ({unique})
Is there any way to remove this unique info?

I noticed that it only appears when you enter  value e.g. a custom multiplicity e.g. 2 on the composition link to the block (instead of a selection from the drop down list).
The OMG specs show that {unique} for the references compartment only.


20
General Board / SysML 1.4 units & quantitykind
« on: June 22, 2018, 04:00:00 pm »
Using SysML 1.4 with EA 13.5, I noticed a change in the way units & quantitykind work.
Before then, both were stereotyped objects with RefGuid tagged values e.g. to define the quantity kind of a unit.

In SysML 1.4, units & quantitykind are instances of a hidden class and they display "attributes empty values". So to fill the quantity kind of a unit, I use Ctrl+Shift+R. This is no longer a link to an existing quantity kind.
This is somehow in line with Tim blog post here: http://model-based-systems-engineering.com/2015/04/13/whats-new-in-sysml-1-4-units/

So am I right to understand that to use Value Types, Units and Quantity Kinds, you do the following:
- Create new Quantity Kind objects and provide the values if needed (Ctrl+Shift+R) e.g. Time
- Create new Unit objects and provide the values if needed (Ctrl+Shift+R) + create a link to the Quantity Kind e.g. Hour to Time
- Create Value Types and select when needed the quantity kind and/or unit via the tagged values

Thanks

21
Suggestions and Requests / Quick access toolbar
« on: June 20, 2018, 06:45:27 pm »
Since ribbons are available in EA, it would be useful to have a Quick access toolbar as with Word, Excel, Powerpoint...


22
Suggestions and Requests / Import ODATA (EDM)
« on: June 18, 2018, 05:11:33 pm »
Hi,

I have a request to import ODATA metadata information in EA.
This is a standard and an example is available here: http://services.odata.org/V4/(S(5u1pssgd00d0isccyny5pihm))/TripPinServiceRW/$metadata

I managed to import the EDM XSD in EA (http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/schemas/edmx.xsd and http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/schemas/edm.xsd).

I tried to change the metadata XML file so it looks like an XSD, with a reference to the EDM XML schema, e.g. by adding the following (see content from the link above)

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<Schema Namespace="odatatest" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EnumType Name="PersonGender">
        <Member Name="Male" Value="0"/>
        <Member Name="Female" Value="1"/>
        <Member Name="Unknown" Value="2"/>
      </EnumType>
...
    </Schema>

Running the XSD import in EA doesn't generate anything, even when I enable the Import Ref XML Schema option.
I feel I'm not far from getting the expected result. Any idea?

Thanks
Guillaume

23
Hi,

Using EA14 Build 1420, I'm working with class operations. The Features&Properties view works fine to create new operations, but the Operations Properties doesn't let me enter anything.
I double click on the Parameters cell of an operation in Features&Properties -> Operation Properties opens up. Then all the fields are greyed out/disabled.

I also found an issue in using Image Assets: pressing F2 doesn't let me rename the element.
 

24
Bugs and Issues / EA14 Special action / Properties dialog
« on: May 24, 2018, 08:46:46 pm »
When I right click on a class from a diagram to open the properties popup, I need to go to Properties > Special action...
Looking at the DESIGN ribbon > Element > Properties, the matching command is called Properties Dialog which makes sense.

It would be best to rename this Special Action with Properties Dialog.


25
Bugs and Issues / EA 14 Import DB fails
« on: May 24, 2018, 06:26:58 pm »
Hi,

I try to run an Import DB Schema in EA from an existing DB via an ODBC data source.
Once the Import starts, I get an 'Error retrieving table list' message when using EA 14 build 1420.

Running the same test in EA13.5 works fine.


26
Hi,

I have a script that carries updates in the scripts list. To see the changes, I have to click on the Refresh Script Tree button (Scripting view) or restart the project.
Is there a way to run this via the API, perhaps with the undocumented Repository.CustomCommand  method?

Thanks

27
Hi,

Is there an EA project or a diagram export of all class diagrams matching EA API Object Model e.g. Repository, Element, Package, etc class with properties and methods as documented in EA user guide e.g. Repository + methods like GetAttributeByGuid, Get ElementByGuid, etc.?

At the moment I only need it for presentation purposes but it would be useful to have it as a reference guide.
Perhaps a UML model already exists at Sparx to maintain the API (it could be included in the Example project.)

Note that I managed to generate a model via a Reverse Engineering on the InteropEA dll file. It is a good start, yet it would be useful to have some links from properties like Repository.Elements to the type of the collection's objects e.g. ElementClass, and perhaps definitions copied from the user guide.

thanks

28
Hi,

I'm trying to find a way to run a script that will itself call the last script used.
Let's say that in the Package scripts, you have
- RunLast
- ScriptA
- ScriptB

If I run ScriptA, it will store this ref somewhere in EA.
Calling RunLast will retrieve the ref and run ScriptA...

The following does not seem to be feasible:
- have a dynamic include (!INC) on the script found from the ref
- call this script main function (e.g. OnProjectBrowserScript) when the group and script names are set as variables e.g. groupName.scriptName OnProjectBrowserScript

Do you know if there is a solution to achieve that?

Note: I thought of an option that would involve the following:
- rename each script's main function e.g. OnProjectBrowserScriptA, OnProjectBrowserScriptB, OnProjectBrowserScriptC
- include all scripts in the RunLast Script : !INC GroupA.ScriptA, : !INC GroupA.ScriptB, etc
- add a switch case in RunLast script that will call the function matching the ref e.g. ScriptA -> call OnProjectBrowserScriptA
-> unfortunately this doesn't work either since all my scripts have an option explicit which generates an error




29
Hi,

In a VbScript, I set a local variable with the content from t_objectproperties.notes which I get by calling Repository.SQLQuery(SQL).
The script works well with a DBMS but not with an EAP: I figured out that the returned value is truncated after 255 chars.

Is this a known issue with EAP? Is there a workaround?

thanks

30
Suggestions and Requests / Find Attribute type in Project Browser
« on: May 02, 2018, 06:56:53 pm »
It would be nice to have a Find Type in Project Browser for class attributes from a diagram or project browser to select the matching type in the browser.

Pages: 1 [2] 3 4 ... 20