Ugh. The idea of code generation from UML makes my flesh creep. At its best UML is a way to share ideas between people. In no way is UML syntactically or semantically precise enough to generate sensible code. All the UML editors with code-generation capability that I have seen all require you to clumsily add lots of non-standard information to your UML "models" so that it can know enough to even generate basic class and method definitions for you. And requiring that these UML models include every class and object in your system make them far to unwieldy, slow and (worst of all) incomprehensible. I read somewhere that a good UML diagram should have no more than 5-9 items on it. That way it stands a good chance of being described and understood by most people. Expecting to generate usable code from a diagram like that seems crazy.
Only want to mention that I totally agree with Frank...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com