CADability dotNET
Returns a Path containing the curve BeginWith and other curves from the Model. The curve BeginWith is checked at both ends to find connected objects. The search is stopped when there are nore more connected objects. The curves are clones and are tagged with UserData objects with the name key "CADability.Path.Original" and the original object as the value. If flatten is true, UserData will be lost.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static Path CreateFromModel(
	ICurve BeginWith,
	Model model,
	bool flatten
)
Visual Basic
Public Shared Function CreateFromModel ( _
	BeginWith As ICurve, _
	model As Model, _
	flatten As Boolean _
) As Path
Visual C++
public:
static Path^ CreateFromModel(
	ICurve^ BeginWith, 
	Model^ model, 
	bool flatten
)

Parameters

BeginWith
Type: CADability.GeoObject..::..ICurve
Curve to begin with
model
Type: CADability..::..Model
the model to search for connecting curves
flatten
Type: System..::..Boolean
true: flatten the result, false: result not flattened

Return Value

The path or null if no cennecting objects found

See Also