Skip to main content
View as Markdown

IPCB_GerberOptions interface

The Gerber (photoplot) settings stored with a PCB document, returned by IPCB_Board.GerberOptions.

public interface IPCB_GerberOptions : IPCB_AbstractOptions

Namespace: PCB · Assembly: Altium.SDK.Interfaces

Inherits: IPCB_AbstractOptions

Remarks​

The interface extends IPCB_AbstractOptions. Export_ToParameters writes every setting as a parameter named after its property; Import_FromParameters reads them.

PlusTol and MinusTol are the tolerance range used when matching apertures for each item in the plots. If no exact match for an item is available in the current aperture list, an aperture within this tolerance range is used instead. Match tolerances are normally used only for a vector photoplotter that requires a fixed or supplied aperture file; they are not required when the apertures have been created from the PCB.

Properties​

PropertyTypeAccessDescription
AptTablestringget; set
BorderSizeintget; setThe border size of the photoplot, in internal units (10,000 per mil).
CenterPhotoPlotsboolget; set
EmbedAperturesboolget; set
FilmSizeXintget; setThe film width, in internal units (10,000 per mil).
FilmSizeYintget; setThe film height, in internal units (10,000 per mil).
FlashAllFillsboolget; setWhether fills get flash apertures of their full size.
G54boolget; set
GerberDecsintget; set
GerberUnitsintget; set
MaxAperSizeintget; setThe maximum aperture size, in internal units (10,000 per mil).
MinusTolintget; setThe minus tolerance used when matching apertures, in internal units (10,000 per mil).
PadsFlashOnlyboolget; setWhether flash apertures are used only for flashing.
Panelizeboolget; set
PlusTolintget; setThe plus tolerance used when matching apertures, in internal units (10,000 per mil).
ReliefShapesAllowedboolget; setWhether pads and vias with a relief shape get relief apertures.
SortOutputboolget; set
UseSoftwareArcsboolget; set

AptTable​

No description yet.

string GetState_AptTable();
void SetState_AptTable(string argValue);

Type: string · Access: read/write

Newly created options start with an empty string.

BorderSize​

The border size of the photoplot, in internal units (10,000 per mil).

int GetState_BorderSize();
void SetState_BorderSize(int argValue);

Type: int · Access: read/write

Newly created options start with 1000 mil.

CenterPhotoPlots​

No description yet.

bool GetState_CenterPhotoPlots();
void SetState_CenterPhotoPlots(bool argValue);

Type: bool · Access: read/write

Newly created options start with true.

EmbedApertures​

No description yet.

bool GetState_EmbedApertures();
void SetState_EmbedApertures(bool argValue);

Type: bool · Access: read/write

Newly created options start with false.

FilmSizeX​

The film width, in internal units (10,000 per mil).

int GetState_FilmSizeX();
void SetState_FilmSizeX(int argValue);

Type: int · Access: read/write

Newly created options start with 20000 mil.

FilmSizeY​

The film height, in internal units (10,000 per mil).

int GetState_FilmSizeY();
void SetState_FilmSizeY(int argValue);

Type: int · Access: read/write

Newly created options start with 16000 mil.

FlashAllFills​

Whether fills get flash apertures of their full size.

bool GetState_FlashAllFills();
void SetState_FlashAllFills(bool argValue);

Type: bool · Access: read/write

When an aperture list is created from the board and this is true, each fill gets a rectangular flash aperture of the fill's size and rotation. When it is false, fills get smaller draw apertures that paint the fill. Newly created options start with false.

G54​

No description yet.

bool GetState_G54();
void SetState_G54(bool argValue);

Type: bool · Access: read/write

Newly created options start with false.

GerberDecs​

No description yet.

int GetState_GerberDecs();
void SetState_GerberDecs(int argValue);

Type: int · Access: read/write

Newly created options start with 1.

GerberUnits​

No description yet.

int GetState_GerberUnits();
void SetState_GerberUnits(int argValue);

Type: int · Access: read/write

Newly created options start with 3.

MaxAperSize​

The maximum aperture size, in internal units (10,000 per mil).

int GetState_MaxAperSize();
void SetState_MaxAperSize(int argValue);

Type: int · Access: read/write

Newly created options start with 250 mil.

MinusTol​

The minus tolerance used when matching apertures, in internal units (10,000 per mil).

int GetState_MinusTol();
void SetState_MinusTol(int argValue);

Type: int · Access: read/write

Newly created options start with 0.005 mil (50 internal units). See the type remarks for how the tolerances are used.

PadsFlashOnly​

Whether flash apertures are used only for flashing.

bool GetState_PadsFlashOnly();
void SetState_PadsFlashOnly(bool argValue);

Type: bool · Access: read/write

When an aperture list is created from the board and this is false, apertures created for flashing are marked for multiple use (flash and draw). Newly created options start with true.

Panelize​

No description yet.

bool GetState_Panelize();
void SetState_Panelize(bool argValue);

Type: bool · Access: read/write

Newly created options start with false.

PlusTol​

The plus tolerance used when matching apertures, in internal units (10,000 per mil).

int GetState_PlusTol();
void SetState_PlusTol(int argValue);

Type: int · Access: read/write

Newly created options start with 0.005 mil (50 internal units). See the type remarks for how the tolerances are used.

ReliefShapesAllowed​

Whether pads and vias with a relief shape get relief apertures.

bool GetState_ReliefShapesAllowed();
void SetState_ReliefShapesAllowed(bool argValue);

Type: bool · Access: read/write

When an aperture list is created from the board and this is false, a relief-shaped pad or via gets a round draw aperture the size of its relief air gap instead of a relief flash aperture. Newly created options start with true.

SortOutput​

No description yet.

bool GetState_SortOutput();
void SetState_SortOutput(bool argValue);

Type: bool · Access: read/write

Newly created options start with false.

UseSoftwareArcs​

No description yet.

bool GetState_UseSoftwareArcs();
void SetState_UseSoftwareArcs(bool argValue);

Type: bool · Access: read/write

Newly created options start with true.

Inherited members​

Returned by​

IPCB_Board.GerberOptions