IManagedPatterns Interface |
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
The IManagedPatterns type exposes the following members.
Name | Description | |
---|---|---|
AddCircular |
Adds or modifies a circular pattern in an assembly.
| |
AddFeatureBased |
Adds or modifies a feature-based pattern in an assembly.
| |
AddRectangular |
Adds or modifies a rectangular pattern in an assembly.
| |
Delete |
Deletes an occurrence pattern from an assembly.
|
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.