Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: DaveK on July 18, 2007, 07:19:13 am
-
I am trying to modify the C# code generation template and need some help. Currently the templates generate classes for me using the following format:
public Packer Packer{
get{
return Packer;
}
set{
Packer = value;
}
}
I want it to look like this:
public Packer Packer
{
get
{
return Packer;
}
set
{
Packer = value;
}
}
The end goal I'd like to is to put the opening brace on a separate line throughout the entire class.
-
Dave,
Look up Control Macros in the EA help (I am basing this on EA build 7.0 814). I think you want the PI macro. You'll need to play around a bit to get the hang of it.
David