Marking Plan to Elevation Command (AutoCAD .net API)

I’ve written a command which helps takes panels from the marking plan to creating an elevation view. This command will hopefully reduce errors and improve efficiency. I call it the CopyMarkingPlanPanelsToLayout.

This is the second of the jigs shown in the below video:

Command: Marking Plan To Elevation from Tek1 on Vimeo.

I’ve made use of three separate jigs in this command.

The most important one, for the sake of this tutorial is the one which forces the user to select a view direction.

The two classes you should focus on are the following: • The LineDirectionJigger class and secondly the calling method which is: • getViewDirection() held on the ViewDirectionObtainer class.

Note that the line that you can see being jigged is forced to only two directions – both of which are exactly perpendicular to the input parameter vector.

The code is here:

Written on January 11, 2019