IManagedDrawingView.GetFeatureFaceIntent Method (ComponentArgument, String, 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 feature in an component within the assembly 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 GetFeatureFaceIntent ( 
	component As ComponentArgument,
	featureName As String,
	faceIndex As FaceIndexArgument,
	Optional intent As PointIntentEnum = ,
	Optional nearPoint As CurveChoiceSpec = Nothing
) As GeometryIntent

C#

GeometryIntent GetFeatureFaceIntent(
	ComponentArgument component,
	string featureName,
	FaceIndexArgument faceIndex,
	PointIntentEnum intent = ,
	CurveChoiceSpec nearPoint = null
)

Parameters

component
Type: Autodesk.iLogic.Types.ComponentArgument
The component within the model document
featureName
Type: System.String
The name of the model feature.
faceIndex
Type: Autodesk.iLogic.Types.FaceIndexArgument
The integer index of the face on the feature (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
GetFeatureFaceIntent Overload
Autodesk.iLogic.Interfaces Namespace