Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Volox on June 19, 2010, 01:03:12 pm

Title: How to get Scale and Precision in Transformations
Post by: Volox on June 19, 2010, 01:03:12 pm
I am trying to write a Transformation Template to convert one data model into another (essentially changing column names, table names, etc to match a different standard).

The problem I'm experiencing is that the TRANSFORM_CURRENT macro doesn't seem to copy over the additional properties that apply to column attributes; in particular: length, scale, precision, and NotNull.

I figured out attLength, but I can't seem to find the way to grab the precision and the scale?

Any help would be greatly appreciated.