My preferred method is to make a new profile family for the cornice profile. Load that profile family into the project. Modify the wall type's structure to use that profile as a sweep, and adjust the sweep settings to place it where you want it along the top of the wall.
Now every wall of that type will have your cornice along it's full length. It will automatically miter at corners. Beautiful.