A sample command of working with polylines is located in the Drawing\Examples\DevGuideCommands\
subdirectory of the ODA installation folder.
The sample command demonstrates creating polylines and modifying and displaying
its properties. This command adds polyline objects to a database, then prints
the following information about the created polylines objects:
Open status
Periodic status
Polyline type
Polyline plane
Polyline normal (for 2D polylines only)
Polyline elevation (for 2D polylines only)
Polyline thickness (for 2D polylines only)
Number of vertices
Coordinates of each vertex
Type of each vertex
Length from the beginning for each vertex
Start width of each segment (for 2D polylines only)
End width of each segment (for 2D polylines only)
Bulge of each segment (for 2D polylines only)
This command adds polyline objects to the database, which show specific types
of polylines:
First polyline shows a 2D Simple Polyline.
Second polyline shows a 2D Curve-Fit Polyline.
Third polyline shows a 2D Cubic Spline-Fit Polyline.
Fourth polyline shows a 2D Quadric Spline-Fit Polyline.
Fifth polyline shows a 3D Simple Polyline.
Sixth polyline shows a 3D Cubic Spline-Fit Polyline.
Seventh polyline shows a 3D Quadric Spline-Fit Polyline.