Gets an intent for a drawing curve created by model geometry which is in the model 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 ( entityName As String, Optional intent As PointIntentEnum = , Optional nearPoint As CurveChoiceSpec = Nothing ) As GeometryIntent
C#
GeometryIntent GetIntent( string entityName, PointIntentEnum intent = , CurveChoiceSpec nearPoint = null )
Parameters
- 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: GeometryIntentThe GeometryIntent that was created.