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

Pages: [1]
1
In Enterprise Architect 15.2, I'm trying to fetch information using a custom template. I'm using different sections to navigate through connectors and extract the relevant information.

However, when I'm at the source element level, I'm unable to sort these elements alphabetically. Here's the structure I'm using:

package >
    element >
       {Element.Name}
        connector >
            source >
              element >
                {Element.Name}  --> Not sorted correctly
                {Element.Notes}
              < element
            < source
        < connector
        child elements >
        < child elements
    < element
< package
I also tried using the "Order By" filters in the Document Options, but that didn’t work either.

Is it possible to sort these elements alphabetically using this template structure?

Thanks in advance!

2

Hi everyone,

I've been working with Enterprise Architect (EA) 15.1 and LemonTree 3.3.1 for a while now. Recently, I updated LemonTree to version 4.2.0 and noticed a strange behavior: in some cases—especially when conflicts are automatically resolved—the Microsoft Access lock file (which is usually created when writing to the model) lingers even after the merge process is completed.

This issue didn’t occur with the previous version. After a merge, the lock file would disappear as expected.

Has anyone else experienced this behavior?
Could this be causing issues with the EA database?


3
General Board / Unable to define Custom Proxy Port Element Type in EA17
« on: November 16, 2024, 04:38:10 am »
Using the Sparx Enterprise Architect V17 software, when creating a proxy port, the target Element (From a MDG Stereotype) cannot be selected in the Properties window, on the Property tab, Type definition.
When the Property Type is selected, the Stereotype displayed only includes SysML1.4 class elements. This problem does not occur in previous versions, such as 15.1 and 15.2.
If target a SysML 1.4 Element, like an Interface block, I can select it. But the custom Stereotype I can´t.
Has anyone encountered this behavior?
Thanks in advance!

4
I apologize for the mistake. I have dyslexia, and it's something I struggle with.
I will take a closer look at the custom properties of the activity.
Thank you again for your support!

5

Hi Greet!
Thank you so much for the feedback.
Sorry for the delay in my response.
I´ve tried to iterate and get the information for the custom properties, but none has this information.
I can get the information about the:
Code: [Select]
isStream
 isException
 default
 effect
 direction
 isConst
 isOrdered
 isUnique
 isControlType
It looks like it is not possible to update via script.

6
Hello everyone,

I'm working on a script to automate the updating of Parameter Type in the ActivityParameter Elements. These can be set to types such as "String", "Integer", "Real", (...) "<none>".

I'm specifically trying to set it to '<none>', but I'm having trouble accessing this element Parameter via script. Does anyone have any tips or know how to accomplish this?

Thank you in advance

7
Bugs and Issues / Missing bookmarks in generated document
« on: July 31, 2024, 07:40:43 pm »
Hi everyone,

I am having trouble with non-working hyperlinks in a document generated from Enterprise Architect. The hyperlinks, as usual, have expected structure with the prefix (#BKM_) and Ea_guid, but they do not link to any element in the document. Each hyperlink is composed correctly, but instead of linking to a specific place or reference in the document, they are not linking to anything.

To generate this output, I´m using the following template and fragement. This templa searchs the endpoints for a given connector and used the information of the source to poulate the Fragament "Template A"

This problem seems to be related to the specific structure of the template. I am using a similar approach to populate other chapters of the document, and the hyperlinks are created correctly. However, in this other structure, I do not use filters to retrieve the elements.

 Instead, I feed the fragment directly with the target information. I have tried changing the header style, adding bookmarks in the element names, but none of these solutions have worked.
Has anyone else encountered this issue?

images can be found here : https://stackoverflow.com/questions/78815516/missing-bookmarks-in-generated-document

8
Hi Geert!

Thank you for the feedback.
I will check this solution and try to apply it to my case.


9
Hello,

Good afternoon!

I am currently in the process of creating a fragment that includes both a table and diagrams. To accomplish this, I am utilizing a script that navigates the model and extracts information from various elements. Subsequently, this information is integrated into an XML structure to facilitate its utilization within the aforementioned fragment.

Regarding the diagrams, they are housed within multiple packages situated at different levels. While I can effortlessly access their information via the automation tool, I am encountering difficulties in incorporating them into the fragment. Despite delving into the automation guide and familiarizing myself with different tags and image assessment techniques, I have yet to devise a viable solution.

Has anyone encountered a similar challenge before? Any insights or guidance would be greatly appreciated.

Thank you in advance for your assistance.

Warm regards,

10
Bugs and Issues / Error In HTML Export using C# api
« on: February 03, 2024, 04:50:23 am »
While doing the Export of the model to HTML, I encountered this error.

"Could not open the file"
"TerInternetGet, File: TerPict1969718.tmp"


At the moment, our team using the C# API to create HTML exports that are later broadly provided to multiple teams in the organization.
The process of creating the export is done via batch script and only one of the models is given this error. As for this particular model, it is possible to create the HTML manually, via the ribbon tools as well as the Automation Interface.
As the file mentioned in the pop-up error changes, we aren´t able to debug this issue, can you be so kind as to explain the processes that are run during the HTML process to pinpoint what is triggering this error? (EA 15.2 - 1555)

Thank you in advance for any response.

11
General Board / How to make an attribute mandatory in a costume stereotype
« on: December 14, 2023, 05:14:48 am »

Hello everyone,

Good Afternoon!

I'm currently working on creating a stereotype for a specific model, and I'm looking to ensure that the model elements contain a specific set of information. To achieve this, I want to establish certain attributes as mandatory, ensuring they cannot be left empty.

I've conducted some research on related topics and came across this question https://sparxsystems.com/forums/smf/index.php?topic=30756.0. However, I'm struggling to grasp its implementation. Is there a method for creating this restriction directly when defining the attributes?

Any assistance provided would be greatly appreciated. Thank you in advance!

12
I´m having the exact same problem. Has anyone found a possible solution to this issue?
I´m trying the RTF template and the custom script approach, but it is getting more complex. I can create an XML structure of the matrix but I'm failing to understand how to export it in a fragment.

Thank you in advance. 

13
Good Morning.

I´m using the EA-Doors Add-in to import requirements,  but I´m getting a type mismatch error (Erro Code D).
I went through the documentation provided for this add-in, but I´m failing to encounter the List of possible Error Codes.
Do you know what can cause this error? Where it is possible to find the information regarding error codes?

Thank you in advance.
Kindest Regards,


14
Thank you for the replay and support.

I´ve tried your suggestion and the problem remains.
I´ve reached out to Sparx Support.

Once again, thank you for the support  :).

15
Hello Everyone!

When trying to update and create new block diagrams in EA v16.1 build 1624, I´ve noticed that the locked elements can be traced to and from and have its properties changed. In version v15.1, this was not possible and when I tried to do the same a pop-up message appeared Stating "Warning: Connector cannot be created. Aggregation Element is locked or checked into version control". 

I´ve been reading the release notes, but I´m failing to understand why this occurs. Has anyone encountered this?

Any help is appreciated.
Thank you in advance.


Pages: [1]