60002042 I want to calculate a boundary polyline around a point taking into consideration vdCurves in any elevation

Article 60002042
Type Wish
Product Engine
Version 6025
Date Added 9/19/2013
Fixed (9/19/2013)
Submitted by Efstathios Tsoumas

Summary

I want to calculate a boundary polyline around a point taking into consideration vdCurves in any elevation, but GetBoundaryPolyFromPoint does that for vdCurves that lay on the Z=0 level.

Solution

A new overload of the GetBoundaryPolyFromPoint function was added. In there the user can define the Flat2d parameter to True of False. When the parameter is False, the function works as it did before. When the parameter is True, all vdCurves in the Entities collection will be taken into consideration when calculating the Boundary polyline. This means that in 2D drawings, vdCurves that have any elevation (have their Z values different than 0) will be projected on the Z=0 level temporarily and calculate the boundary polyline.
One minor change is that the new polyline will be on the same level of the origin point given by the user. So if the origin point is <10,10,1>, the Boundary polyline's vertexes will have a Z=1 value.
This change only applies when the Flat2d flag is true.

Send comments on this topic.