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 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: 25.0
Syntax
VB
Function GetPatternFaceIntent (
component As ComponentArgument,
featureName As String,
occurrenceIndex As PatternFeatureIndexArgument,
faceIndex As FaceIndexArgument,
Optional intent As PointIntentEnum = ,
Optional nearPoint As CurveChoiceSpec = Nothing
) As GeometryIntent
C#
GeometryIntent GetPatternFaceIntent(
ComponentArgument component,
string featureName,
PatternFeatureIndexArgument occurrenceIndex,
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. - 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:
GeometryIntentThe GeometryIntent that was created.
See Also
Reference