Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: ngong on October 27, 2014, 08:02:32 am

Title: exchange build-in types by XSDDatatypes
Post by: ngong on October 27, 2014, 08:02:32 am
New to scripting.

What I achieved so far:
Found all attributes and method parametes with EA build-in type.
Got the XSDDatatypes boolean, int, float, ... as EA.Element.

What I miss:
How to script exchanging the type of an attribute or parameter, e.g. if it is of build-in-boolean exhange it to XSDDatatypes.boolen, ...

Tried several options without success yet.

Any idea welcome.

Rolf
Title: Re: exchange build-in types by XSDDatatypes
Post by: qwerty on October 27, 2014, 09:30:22 am
My XSD experience is too aged. If you can tell me in short the steps to create the element(s) you're interested in. Then I can have a look on how to access them via API.

q.