IManagedPatterns.AddFeatureBased Method

Adds or modifies a feature-based pattern in an assembly.

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

Syntax

VB

Function AddFeatureBased ( 
	patternName As String,
	parentComponents As ComponentOrPattern,
	featurePatternComponent As ComponentArgument,
	featurePatternName As String
) As ManagedPattern

C#

ManagedPattern AddFeatureBased(
	string patternName,
	ComponentOrPattern parentComponents,
	ComponentArgument featurePatternComponent,
	string featurePatternName
)

Parameters

patternName
Type: System.String
The pattern name.
parentComponents
Type: Autodesk.iLogic.Types.ComponentOrPattern
The component (or components) to pattern.
featurePatternComponent
Type: Autodesk.iLogic.Types.ComponentArgument
The component that contains the base pattern feature.
featurePatternName
Type: System.String
The name of the base pattern feature.

Return Value

Type: ManagedPattern
The pattern.

See Also

Reference

IManagedPatterns Interface
Autodesk.iLogic.Interfaces Namespace