www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Overview
The IRule interface represents the one of the rules attached to a parameter within the PCB Layout directive (as a Parameter Set object with a small flag symbol) on a net aware object on a schematic object. A parameter set object can be placed on the schematic sheet by the Place » Directives » PCB Layout menu item.
This PCB Layout directive allows you to assign PCB layout information to a net in the schematic. When a PCB is created from the schematic, the information in the PCB layout directive is used to create relevant PCB design rules.
Interface Methods
|
Method |
Description |
|
Function DM_RuleKind : Integer; |
Denotes the type of PCB Rule |
|
Function DM_Scope1Expression : WideString; |
Denotes the first scope expression string. The scope of Design rules are determined by the defined boundary or objects. |
|
Function DM_Scope2Expression : WideString; |
Denotes the second scope expression string. The scope of Design rules are determined by the defined boundary or objects. |
|
Function DM_MaxWidth : Integer; |
Denotes the Maximum Width rule property of a PCB rule. |
|
Function DM_MinWidth : Integer; |
Denotes the Minimum Width rule property of a PCB Rule. |
|
Function DM_PreferedWidth : Integer; |
Denotes the preferred Width rule property of a PCB Rule. |
|
Function DM_ViaHole : Integer; |
Denotes the Via Hole rule property of a Routing Via style PCB Rule. |
|
Function DM_ViaWidth : Integer; |
Denotes the Via width rule property of a Routing Via style PCB Rule. |
|
Function DM_MinViaHole : Integer; |
Denotes the min Via Hole rule property of a Routing Via style PCB Rule. |
|
Function DM_MaxViaHole : Integer; |
Denotes the max Via Hole rule property of a Routing Via style PCB Rule. |
|
Function DM_MinViaWidth : Integer; |
Denotes the min Via width rule property of a Routing Via style PCB Rule. |
|
Function DM_MaxViaWidth : Integer; |
Denotes the max Via width rule property of a Routing Via style PCB Rule. |
|
Function DM_ViaStyle : Integer; |
Denotes the topology (Shortest, Horizontal, Vertical, Daisy-Simple, Daisy-MidDriven, Daisy-Balanced and Daisy-StarBurst) rule property of a Routing Topology PCB Rule. |
|
Function DM_Topology : Integer; |
Denotes the topology (Shortest, Horizontal, Vertical, Daisy-Simple, Daisy-MidDriven, Daisy-Balanced and Daisy-StarBurst) rule property of a Routing Topology PCB Rule. |
|
Function DM_Priority : Integer; |
Denotes the priority of the PCB Design Rule. The priority value of 1 denotes the highest priority. |
|
Function DM_RoutingLayers (IndexLayer : Integer) : Integer; |
Denotes the indexed routing layer rule property (Top layer, Mid1-Mid30, Bottom Layer) of a Routing Layers PCB rule. |
|
Function DM_Attributes : WideString; |
Denotes the attributes of the IRule interface. |
|
Function DM_Description : WideString; |
Denotes the description of this IRule interface. |
|
Function DM_RuleName : WideString; |
Denotes the name of this IRule interface representing a PCB rule. |
|
Function DM_UniqueId : WideString; |
Each rule has a Unique ID assigned so that when Schematic and PCB documents are synchronized, the ECO knows which rules to update or apply to/from. |