Skip to main content
View as Markdown

IPCB_CounterHoleParams interface

No description yet.

public interface IPCB_CounterHoleParams

Namespace: PCB · Assembly: Altium.SDK.Interfaces

Properties​

PropertyTypeAccessDescription
Angledoubleget; set
Depthintget; set
Diameterintget; set
DirectionTCounterHoleDirectionget; set
MaterialTCounterHoleMaterialget; set

Angle​

No description yet.

double GetAngle();
void SetAngle(double argValue);

Type: double · Access: read/write

Depth​

No description yet.

int GetDepth();
void SetDepth(int argValue);

Type: int · Access: read/write

Diameter​

No description yet.

int GetDiameter();
void SetDiameter(int argValue);

Type: int · Access: read/write

Direction​

No description yet.

TCounterHoleDirection GetDirection();
void SetDirection(TCounterHoleDirection argValue);

Type: TCounterHoleDirection · Access: read/write

The accessors are extension methods of IPCB_CounterHoleParamsHelper (using PCB;).

Material​

No description yet.

TCounterHoleMaterial GetMaterial();
void SetMaterial(TCounterHoleMaterial argValue);

Type: TCounterHoleMaterial · Access: read/write

The accessors are extension methods of IPCB_CounterHoleParamsHelper (using PCB;).

Methods​

MethodReturnsDescription
CopyFromvoid
Deserializevoid
GetCounterHoleTypeTCounterHoleType
GetDepthForDiameterint
GetDescriptionstring
GetDiameterOnDepthint
IsEqualWithoutMaterialbool
Serializestring

CopyFrom​

No description yet.

void CopyFrom(IPCB_CounterHoleParams argOtherParams);
void CopyFrom(object argOtherParams);
ParameterTypePassing
argOtherParamsIPCB_CounterHoleParamsvalue

Returns: nothing (void)

The first overload is an extension method of IPCB_CounterHoleParamsHelper (using PCB;) with typed parameters; the second is declared by the interface.

Deserialize​

No description yet.

void Deserialize(string argParamStr);
ParameterTypePassing
argParamStrstringvalue

Returns: nothing (void)

GetCounterHoleType​

No description yet.

TCounterHoleType GetCounterHoleType();

Returns: TCounterHoleType

Extension method of IPCB_CounterHoleParamsHelper (using PCB;).

GetDepthForDiameter​

No description yet.

int GetDepthForDiameter(int argDiameter);
ParameterTypePassing
argDiameterintvalue

Returns: int

GetDescription​

No description yet.

string GetDescription(TUnit argDisplayUnit);
string GetDescription(int argDisplayUnit);
ParameterTypePassing
argDisplayUnitTUnitvalue

Returns: string

The first overload is an extension method of IPCB_CounterHoleParamsHelper (using PCB;) with typed parameters; the second is declared by the interface.

GetDiameterOnDepth​

No description yet.

int GetDiameterOnDepth(int argDepth);
ParameterTypePassing
argDepthintvalue

Returns: int

IsEqualWithoutMaterial​

No description yet.

bool IsEqualWithoutMaterial(IPCB_CounterHoleParams argOtherParams);
bool IsEqualWithoutMaterial(object argOtherParams);
ParameterTypePassing
argOtherParamsIPCB_CounterHoleParamsvalue

Returns: bool

The first overload is an extension method of IPCB_CounterHoleParamsHelper (using PCB;) with typed parameters; the second is declared by the interface.

Serialize​

No description yet.

string Serialize();

Returns: string

Returned by​

IPCB_CounterHoleFactory.CreateCounterHoleParams, IPCB_CounterHoleParamsList.AddNew, IPCB_CounterHoleParamsList.GetParams, IPCB_Via.GetCounterHole_Params

Accepted by​

IPCB_CounterHoleParamsList.Add