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

Pages: [1] 2 3 ... 14
1
Hi mse,

This could be way off the mark without really knowing your modeling context, but as it sounds like you're effectively linking requirements directly to a well defined domain model, you could be on the right track in creating a reference to one of your enumeration literals.

From what you wrote, it seems you've already got some kind of enumeration element like 'MyStatusKind'. It seems like that element's values are shared by both the monitored and controlled variables. I guess the enumeration has literals like ON, OFF, FAULT (or UNDEFINED) and perhaps others. So you could simply drag and drop the appropriate literal into your text in the linked document.

Regarding the Boolean idea, that could be neat if you really do have only two possible values and the true/false values really do map meaningfully to your status values. Regarding the latter condition, maybe you could safely assume that ON means true. But it would just be going on some kind of conventional understanding... if you want a rough analogy in which one set of binary values has a counterintuitive mapping, compare conditional logic in the C programming language to a Shell exit status. In C conditional logic, false maps intuitively to 0, whereas in Shell an exit status of 0 means success. There are good reasons for that of course and strictly speaking a Shell exit status isn't actually binary, which leads to the first condition I raised...

Do you really have only two possible status values? So many times, I thought I'd captured an information item with a simple Boolean data type, only to discover I have more than 'On' and 'Off' as status values for example. I find out there are 'uninitialized', 'read error' and the like. Maybe your system can make certain assumptions for the monitored variable in the case when there's actually no value read, so two values might work. But maybe the control variable can be in some error state or unset/uninitialized - so these are additional to your 'On' and 'Off' statuses - you'll have knowledge of those details though.

Anyway, it could be useful to stick with an enumeration literal so your model imparts more meaning, even if there are only two status values. In this case, I'd treat the Boolean type and even '0' and '1' as more of an implementation detail for a logical model, where your system might be able to use Boolean type for optimal storage instead of an enumeration or whatever other data structure. If you do end up actually using a Boolean attribute in your domain model (or data/information model) and you need to refer to either of its literal values, then you'd probably just link the text 'true' or 'false' to the Boolean-typed attribute. (So you'd type the text, select it, right-click and choose create - hyperlink - attribute.) There may be other good, or much better ways, of achieving what you're after though. 

I hope that helps.

Ben

2
Hi Russell,

I investigated the idea a bit further with respect to your use case, and unfortunately that won't work. EA would need a delimiter to separate the combined URL/label string (possibly something as simple as a space would suffice if the URL was listed first). The GUID/label approach I used already provides a delimiter by virtue of the braces in the GUID. Some additional smarts are probably needed in the generator to detect and handle this situation as well.

I'd encourage you to submit a feature request for this.

Ben

3
Automation Interface, Add-Ins and Tools / Re: Tabular Reports
« on: November 13, 2018, 10:41:51 am »
Hi Kewldee,

Very late reply - and too late for your project obviously :'( . For others starting out with generating tabular reports in EA - say for a data dictionary and the like - this 2-part webinar shows how to do it with a complete worked example:

Part 1 (Basics)
https://sparxsystems.com/resources/webinar/documentation/data-dictionary-basics/enterprise-architect-document-generation-basics.htm

Part 2 (Style sheets, custom queries and virtual documents)
https://sparxsystems.com/resources/webinar/documentation/generate-enhanced-documentation.html

I hope that helps (someone)  :D

Ben

4
Hi Russell,

I haven't experimented with your particular use case, but I have tried something similar before when generating a data dictionary. I was generating a list of base class names (for the current class being reported on) and I wanted to combine the base name with a hyperlink to the base class (parent element) somewhere else in the document.

As Geert suggests, I had to use a custom query. The same approach could work for you - it might be worth a try anyway.

For details on how to set up the custom query, see this webinar video at around 7:30 mins:
https://sparxsystems.com/resources/webinar/documentation/data-dictionary-enhanced/enterprise-architect-enhanced-document-generation.htm

I hope that helps.


5
General Board / Re: Attribute descrption in v14
« on: November 13, 2018, 10:06:32 am »
Hi Phil,

Just expanding on Simon's note and assuming you want to use the Notes field for the description information, the docked Notes window is available from the Ribbon: Start | Properties | Notes.

There's a Getting Started video that shows how you can use this window:
https://sparxsystems.com/resources/show-video.html?video=gettingstarted-editfeatures

(You could skip to about the 1 minute mark.)

Towards the end of the same video, there's some discussion about the all-in-one modal dialog which includes the Notes field and is probably what you're used to from earlier versions. As of EA 14.1 you can re-enable that modal properties dialog as the default editor.

There's another short Getting Started video that features the Notes windows here:
https://sparxsystems.com/resources/show-video.html?video=gettingstarted-createfeatures

Other similar videos here might be useful if you're upgrading between major versions of EA to EA 14.x:
https://sparxsystems.com/resources/demos/index.html?tab=getting-started

I hope that helps.

Ben

6
Hi siriosus,

Quote
I see "Writing ArcGIS Workspace Document, please wait..." in progress bar and nothing happening
I assume you initiated the export by selecting the Workspace package in EA's Project Browser and either using the menu Extensions > ArcGIS > Export to ArcGIS Workspace XML, or right-clicking and choosing Extensions > ArcGIS > Export to ArcGIS Workspace XML... Either way, when you export an ArcGIS geodatabase schema from EA, it should select Esri's Workspace XML format for you. (It's listed as "ArcGIS" in the XML Types list)

I have seen the same behaviour you described when the MSXML 4 library was not installed on the machine. This would sometimes happen for me on a new machine. It may also have occured on an old machine after uninstalling an application that somehow took MSXML 4 with it - I can't say for sure though.

In previous EA builds, if MSXML 4 couldn't be found, the exporter was not failing gracefully by looking for another compatible version, like MSXML 6, installed on the machine. The result would be a file generated as XMI with that second header you listed, whereas normally EA would transform that XMI content into Esri's XML Workspace format before finalizing the export. This issue was reported some time ago, and it's possibly been corrected in one of the EA releases since 12.0.1214. Are you able to download and install the latest version of EA to test this out?

In any case, I've corrected this in the past simply by installing MSXML 4. This might be an option if you can't try out the latest version of EA. There seems to be a free download of MSXML 4 from Microsoft here: https://www.microsoft.com/en-us/download/details.aspx?id=15697

Quote
Could you please suggest if ArcGIS 10.3.1 is compatible with Enterprise Architect 12?
Yes. I've been using ArcGIS 10.3.1 for a while now. Planning to update to to 10.4 soon.

I hope this helps.

Ben

7
Suggestions and Requests / Re: New EA version changes layouts - don't !
« on: February 15, 2005, 03:57:18 pm »
Mike,

Short answer is unfortunately, no.

When a release includes major changes to the UI, like adding dockable windows etc. - user layouts are going to get clobbered. The layouts are simply not backward compatible and so have to be reset to default. I realise this is an absolute pain, but we don't really have a short-term solution for this.

On the bright side - such changes are generally part of a major release like 4.51, so you shouldn't be stung by this when upgrading between minor builds (eg 747->748). If it does occur, we'd like to know about it.

Regards,
Ben

8
Suggestions and Requests / Re: Build 745 Beta Bugs
« on: February 15, 2005, 04:30:07 pm »
Hi Fred,

Thanks for reporting these problems and providing the steps. I've compiled issues for these items to be corrected for future releases.

Regards,
Ben

9
Fred and Bruce,

Point taken. There's something in the pipeline for this. I believe a Delphi example went up on the examples page recently (http://www.sparxsystems.com.au/AutIntExamples.htm)- with one or more .Net add-ins to follow.

Some skeleton add-in code/templates is a good suggestion too.

Regards,
Ben

10
Suggestions and Requests / Re: Edit properties of multiple elements.
« on: October 19, 2004, 07:14:25 pm »
It's ok guys we didn't miss the posts ... and in case I didn't mention ... coming soon :P

Regarding property updates for multiple elements- definitely under consideration, but probably not for release in the immediate term.

Regards,
Ben

11
Suggestions and Requests / Re: multi select in project view
« on: October 19, 2004, 06:44:30 pm »
Hi All,

As always, we appreciate your constructive feedback and suggestions, so ...

Multiple select from the project view is on its way.

We've got some basic functionality in testing currently.

We're aiming to facilitate the basic move, delete, drag and drop operations. Eg :
- select and move multiple elements, and features within the tree
- select and delete multiple elements and features from the tree (with Ctrl+Delete)
- select and drag multiple elements onto a diagram
- select multiple features from one classifier and drop them onto another in a diagram ...

Initially at least, there will be a few restrictions (no multi-selecting across parent/child elements, copy/paste or context menu), but from experience the majority of everyday cases are covered.

Jason, regarding confirmation of deletes- yes just leave the option turned on (default) and you'll be prompted.

Hope this helps.

Regards,
Ben

Update : The exact release date for this functionality is not decided.  All going to plan, it will be within 3-4 weeks (EA 740/741). Otherwise, it will be included with EA 4.5.

12
Suggestions and Requests / Re: be able to select multiple objects
« on: October 19, 2004, 06:54:58 pm »
Hi thomas and Thomas,

Quote
1) in project view, select multiple objects (the usual windows way, with CTRL or Shift) and do operations on them like move or delete

Multi-select is coming soon ... in particular move and delete will be supported. For details, see : http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=suggestions;action=display;num=1081322019;start=0#0

Quote
2) in diagrams, select multipl objects holding down Shift. This is kind of the standard way I'd expect...

Ctrl+Click does the trick. A related post :
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general;action=display;num=1080730365

Quote
... but it is not possible to open the properties window. Since there is a base class ELEMENT I could imagine that one would like to change attributes (like version etc.) commonly.

It's a good suggestion, it's being considered, but not for short-term release.

Hope that helps.

Regards,
Ben

13
Suggestions and Requests / Re: C# Indentation when generating code
« on: July 05, 2004, 03:34:35 pm »
Hello SilverFox,

Regarding Property templates: try the Operation templates, stereotyped "Property".

Regarding Destructors: see the C# options for Finalizer and Dispose also.

Regarding Reboot : not required for template changes.

I hope that explains.

Regards,
Ben

14
Suggestions and Requests / Re: Tabbed MDI Windows for Diagrams
« on: December 23, 2003, 01:28:27 pm »
Hi All,

Thanks for your feedback and suggestions.

Your votes have been counted ...

Diagram tabs will be available with the release of EA 4.0 due for release early February, 2004. This should allow for more convenient switching between diagrams.

Initially, only the tabbed view will be available- no cascaded/tiled views.

Regards,
Ben


15
Suggestions and Requests / Re: Programming with EA
« on: September 30, 2003, 11:32:07 pm »
Hi n!

The behaviour field is really intended to provide some comments within the body of the function on intial generation.  Code and comments within function bodies however, is not currently reversed or synchronized by EA.

If you are only interesting in forward generating initial code stubs, you could "bend" the behaviour field to your purpose.  Override the default code generation template for OperationBody change the following lines:

$behaviour = %WRAP_COMMENT(opBehaviour, "40", "\t", "//")%
%if $behaviour != ""%
$behaviour\n\n
%endIf%

to

%opBehaviour%

Now it will just dump the behaviour field directly between the curly braces. (Refer to the help file for more details on modifying code generation templates)

Note: EA currently ignores function bodies- so you won't be able to change the behaviour field in EA and have it update in the source file and vice versa.

Regards,
Ben

Pages: [1] 2 3 ... 14