Book a Demo

Author Topic: exchange build-in types by XSDDatatypes  (Read 3877 times)

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
exchange build-in types by XSDDatatypes
« 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
Rolf

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: exchange build-in types by XSDDatatypes
« Reply #1 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.