Click or drag to resize

IManagedPatterns Interface

Provides functions to add, modify, and delete patterns of component occurrences.

In a rule, this interface is implemented by the predefined object named Patterns (which is the same object as ThisAssembly.Patterns).

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface IManagedPatterns

The IManagedPatterns type exposes the following members.

Properties
  NameDescription
Public propertyItem
Gets an occurrence pattern with the given name.
Top
Methods
  NameDescription
Public methodAddCircular
Adds or modifies a circular pattern in an assembly.
Public methodAddFeatureBased
Adds or modifies a feature-based pattern in an assembly.
Public methodAddRectangular
Adds or modifies a rectangular pattern in an assembly.
Public methodDelete
Deletes an occurrence pattern from an assembly.
Top
Remarks

Patterns can be managed using BeginManage(String) and EndManage(String).

If you use Capture Current State to create code to add a pattern, it's best to rename the pattern beforehand. If you keep the default name, your rules may not work on a system that is using a different language pack.

See Also