70000612 Support Polyline widths

Article 70000612
Type Wish
Product Engine
Version 7007
Date Added 10/27/2015 12:00:00 AM
Fixed 7.7008.0.2 (4/5/2016 12:00:00 AM)
Submitted by Marty Isaacs

Summary

Support Polyline widths

Solution

In version 7008 we added the ability to have different widths between polyline segments.
We added the following methods and properties to the polyline.

summary> Get/Set the widths of the vdPolyline object used when SPlineFlag is not VdConstSplineFlag.SFlagSTANDARD
remarks> Default value new empty double array and the is used for all segments.
The length of the array can be 0 in case of no with or equal to length x 2 and every 2 of them are start and end width of each segment.
Raizes the event.
Raizes the event.
public DoubleArray Widths

summary>Returns true if and only if any of the segments in this Polyline entity have start and end widths and the SPlineFlag is VdConstSplineFlag.SFlagSTANDARD
returns>True if the polyline has different widths.
public bool HasWidths()

And also some methods to help developers add some values more easily than preparing the Widths array
public void setWidthsAt(int index, double StartWidth, double EndWidth)
public void setStartWidthAt(int index, double StartWidth)
public void setEndWidthAt(int index, double EndWidth)

We also added two more values at the Vertexes dialog like below in the image.
vdPolyHatch to be used as section

Send comments on this topic.