Inherits: Area < DesignShape < CommonShape < DesignItem < ScriptObject
Areas are identifiable regions of a design with various properties.
Properties
| Name | Type | Get/Set | Brief |
|---|---|---|---|
| AlternativeThermalGap | bool | Yes/Yes | Whether to use an alternative thermal gap in this area. |
| BoardCutout | BoardCutout | Yes/Yes | The board cutout mode of this area. |
| ComponentPadRestriction | Restriction | Yes/Yes | Rule for component pads within this area. |
| ComponentRestriction | Restriction | Yes/Yes | Rule for components within this area. |
| CopperKeepOut | bool | Yes/Yes | Whether to keep copper out of this area. |
| CopperPourAvoid | bool | Yes/Yes | Whether copper pour should avoid this area. |
| DrillKeepOut | bool | Yes/Yes | Whether to keep drilling holes out of this area. |
| MountingHoleRestriction | Restriction | Yes/Yes | Rule for mounting holes within this area. |
| Name | str | Yes/Yes | The name of this area. |
| TestpointRestriction | Restriction | Yes/Yes | Rule for test points within this area. |
| TrackRestriction | Restriction | Yes/Yes | Rule for tracks within this area. |
| ViaRestriction | Restriction | Yes/Yes | Rule for vias within this area. |
Enumerations
BoardCutout
Options for areas representing board cutouts.
| Name | Value | Description |
|---|---|---|
| No | 0 | This area does not represent a cutout. |
| Yes | 1 | This area represents a cutout. |
| Plated | 2 | This area represents a plated cutout. |
Restriction
Options for how items should be restricted within an area.
| Name | Value | Description |
|---|---|---|
| Unrestricted | 0 | Do not restrict this item type. |
| KeepIn | 1 | Only allow items of this type within this area. |
| KeepOut | 2 | Do not allow items of this type within this area. |
| Exclusive | 3 | Keep out, except for tracks or vias which originate from a pad in this area. Only available for tracks and vias. |
Property Details
AlternativeThermalGap
Type: bool
Whether to use an alternative thermal gap in this area.
BoardCutout
Type: BoardCutout
The board cutout mode of this area.
ComponentPadRestriction
Type: Restriction
Rule for component pads within this area.
ComponentRestriction
Type: Restriction
Rule for components within this area.
CopperKeepOut
Type: bool
Whether to keep copper out of this area.
CopperPourAvoid
Type: bool
Whether copper pour should avoid this area.
DrillKeepOut
Type: bool
Whether to keep drilling holes out of this area.
MountingHoleRestriction
Type: Restriction
Rule for mounting holes within this area.
Name
Type: str
The name of this area.
TestpointRestriction
Type: Restriction
Rule for test points within this area.
TrackRestriction
Type: Restriction
Rule for tracks within this area.
ViaRestriction
Type: Restriction
Rule for vias within this area.