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

Pages: [1]
1
In some previous version I was able to export some csv import/export specifications, but I can't find the way to import them into a different project or even how to export them again.  Is there a way to do this still?  A set of standard CSV Import/Export specifications would be a nice addition to the MDG I'm working on.

Thanks!

2
I have found that if I include an mdg profile I can use the new stereotypes, etc in the normal client immediately, but if I want to use that new mdg profile with an api call, I have to restart my computer.  Would there be a reason for this?

Thanks!

3
Automation Interface, Add-Ins and Tools / Synchronizing diagram types
« on: March 28, 2017, 05:24:37 am »
Hello,

I was wondering if there was a way to synchronize existing diagrams with an updated custom diagram type similar to how stereotypes can be synchronized?  I changed toolbox configurations in my mdg/profiles.  New diagrams show the new toolbox configurations, but the old diagrams don't.  Is there way to make my old diagrams show the new toolboxes?

Thanks!

4
Bugs and Issues / Loading EA
« on: March 16, 2017, 05:08:13 am »
My EA is loading very slowly, taking sometimes at least 15 minutes to load.  It seems to be trying to communicate with Outlook and getting to stuck. I just uninstalled and reinstalled and am still having this issue.

Thanks!

5
Uml Process / Re: sysml v1.3 flow properties in custom toolboxes
« on: August 16, 2014, 12:48:21 am »
Thanks! It worked!

Follow up:  I have specialized the sysml interface block into a new stereotype.  Unfortunately, it doesn't get that nice display of its flow properties.  Is that a special shape script just assigned to Interface Block or is there a way to get my specialized stereotype to have that behavior besides writing my own shape script?

Thanks again!

6
Uml Process / sysml v1.3 flow properties in custom toolboxes
« on: August 15, 2014, 02:02:26 am »
I have been trying to add a flow property to a custom toolbox, but the line:

SysML1.3::FlowProperty(UML:Property) = Flow Property

in a tool box page extension doesn't work.  Instead of a property icon in the toolbox with the caption Flow Property, I get a stereotype icon.  Also, nothing happens when I try to create one from the toolbox.

Any suggestions?
Thanks!

7
How would I use the API to create a new model based on a Package Structure stored in a MDG Technology?

I see the repository object's CreateModel method, but CreateType is 0 for the standard EA Base model and 1 to create through an SQL connection.

If just create a base EA Model, I'm not seeing another method that creates root based on a package structure in an MDG Technology.Do I use CustomCommand("Repository", "ImportRefData", <xml>)?

Thanks!

8
I am having trouble creating and saving partitions through the API.  I have a some code that is not generating errors but no partition is present when I open the project in EA.  I'm assuming I'm not saving the partition or owning collection or element right.

The code:

Code: [Select]
                   Set partPartition = elmTempElement.Partitions.AddNew("New Partition", "Partition")
                    elmTempElement.Partitions.Refresh
                    elmTempElement.Update


The typical algorithm requires the update method of the new element to be called, but I don't think there is an update method for a partition class.

What am I doing wrong?

9
UML::Part didn't work, but "Part" by itself worked.

I want to define a stereotype in my custom profile that is created as an extension of part.  However, I don't see "Part" in the metaclass list. It isn't even listed as a stereotype in the SysML 1.3 MDG.  Do I make my stereotype an extension of "Object"?

10
Using the API, I am able to add all sorts of things to my SysML blocks except for Value Properties.

I see in the reference model in the help that you can't add Custom Properties to elements.  But when I read my value properties from the api, they are listed in the elements and embedded elements collections of the block, not the Properties or Custom Properties collections.

Is there also a restriction on not adding SysML Properties as elements?  Or is there a different object type besides "UML::Property" to use in the AddNew method?

Thanks!

11
What is the proper method to delete an Element using the API? I know the ID of the Element I wish to delete.

Am I supposed to delete the element via its parent's Elements collection's DeleteAt method?  If so, then I would have to loop through that collection to find the right index.  Surely there is a more direct way.

Pages: [1]