Can't create vertical line in front view

You probably need to set the SketchPlane. Always search for similar topics before posting. The thread below should give you what you need.

Detail Lines. How to place detail lines in Section/Elevation views - Lists-Logic - Dynamo (dynamobim.com)