Share

IManagedDrawingView.GetIntent Method (ComponentArgument, String, PointIntentEnum, CurveChoiceSpec)

Gets an intent for a drawing curve created by model geometry which is in a component within the assembly document shown in the drawing view.

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

Syntax

VB

Function GetIntent ( 
	component As ComponentArgument,
	entityName As String,
	Optional intent As PointIntentEnum = ,
	Optional nearPoint As CurveChoiceSpec = Nothing
) As GeometryIntent

C#

GeometryIntent GetIntent(
	ComponentArgument component,
	string entityName,
	PointIntentEnum intent = ,
	CurveChoiceSpec nearPoint = null
)

Parameters

component
Type: Autodesk.iLogic.Types.ComponentArgument
The component within the model document
entityName
Type: System.String
The name of the model geometry (face, edge, vertex or work feature).
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

Was this information helpful?