IManagedDrawingView.GetPatternFaceIntent Method (String, PatternFeatureIndexArgument, FaceIndexArgument, PointIntentEnum, CurveChoiceSpec)

Gets an intent for a drawing curve created by a model face (or an edge on the face) which is on a pattern feature in the model document shown in the drawing view.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0

Syntax

VB

Function GetPatternFaceIntent ( 
	featureName As String,
	occurrenceIndex As PatternFeatureIndexArgument,
	faceIndex As FaceIndexArgument,
	Optional intent As PointIntentEnum = ,
	Optional nearPoint As CurveChoiceSpec = Nothing
) As GeometryIntent

C#

GeometryIntent GetPatternFaceIntent(
	string featureName,
	PatternFeatureIndexArgument occurrenceIndex,
	FaceIndexArgument faceIndex,
	PointIntentEnum intent = ,
	CurveChoiceSpec nearPoint = null
)

Parameters

featureName
Type: System.String
The name of the model feature.
occurrenceIndex
Type: Autodesk.iLogic.Types.PatternFeatureIndexArgument
The index of the pattern occurrence (1-based). For a rectangular pattern, this can be a array of two indices: the index in Direction 1 followed by the index in Direction 2.
faceIndex
Type: Autodesk.iLogic.Types.FaceIndexArgument
The index of the face on the pattern occurrence (1-based), or a symbolic name.
intent (Optional)
Type: PointIntentEnum
The type of GeometryIntent wanted.
nearPoint (Optional)
Type: Autodesk.iLogic.Types.CurveChoiceSpec
If more than one drawing curve is found, chooses the one whose bounding box center is closest to this point.

Return Value

Type: GeometryIntent
The GeometryIntent that was created.

See Also

Reference

IManagedDrawingView Interface
GetPatternFaceIntent Overload
Autodesk.iLogic.Interfaces Namespace