Creating a Drawing from a Part

I am trying to write some software in taking a drawing and asking the user which views they want (Front, Right, Top, etc...), at this point, using the CreateUnfoldedViewAt3() for my orthographic views. I am able to attach one view to my front view (assuming FrontView is the primary view) but as soon as I try to add more than one UnfoldedView to the primary view, the CreateUnfoldedViewAt3() returns null and I cannot add it to my drawing.

Does any have any .NET code (preferrably C# but VB would be ok) that would generate multiple UnFoldedViews successfully?

Thanks for anyone that could help me with this.

SolidworksApi macros