Skip to main content
View as Markdown

IPCB_SpecialStringConverter interface

The IPCB_SpecialStringConverter interface provides a way to fetch special strings in a PCB Project. You would need to pass the document as a parameter in the Convert method and obtain the special strings.

public interface IPCB_SpecialStringConverter

Namespace: PCB · Assembly: Altium.SDK.Interfaces

Methods​

MethodReturnsDescription
AddForbiddenParamListvoid
ConvertboolThe convert method converts a special string as a formatted string and returns a boolean result whether the conversion is a success or not.
Convert_1bool
FirstSpecialStringNamestringThis method obtains the first special string name used in a design project (for example a PCB Project).
IsVCSRevisionSpecialStringbool
NextSpecialStringNamestringThis method obtains the next special string name used in a design project (for example a PCB Project).
RemoveForbiddenParamListvoid

AddForbiddenParamList​

No description yet.

void AddForbiddenParamList(IPCB_ParameterList argData);
void AddForbiddenParamList(object argData);
ParameterTypePassing
argDataIPCB_ParameterListvalue

Returns: nothing (void)

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

Convert​

The convert method converts a special string as a formatted string and returns a boolean result whether the conversion is a success or not.

bool Convert(IPCB_Primitive argPrimitive, string argString, out string argConvertedString);
bool Convert(object argPrimitive, string argString, out string argConvertedString);
ParameterTypePassing
argPrimitiveIPCB_Primitivevalue
argStringstringvalue
argConvertedStringstringout

Returns: bool

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

Convert_1​

No description yet.

bool Convert_1(IPCB_Primitive argPrimitive, string argString, bool argWholeString, out string argConvertedString);
bool Convert_1(object argPrimitive, string argString, bool argWholeString, out string argConvertedString);
ParameterTypePassing
argPrimitiveIPCB_Primitivevalue
argStringstringvalue
argWholeStringboolvalue
argConvertedStringstringout

Returns: bool

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

FirstSpecialStringName​

This method obtains the first special string name used in a design project (for example a PCB Project).

string FirstSpecialStringName();

Returns: string

See also: IPCB_SpecialStringConverter.NextSpecialStringName

IsVCSRevisionSpecialString​

No description yet.

bool IsVCSRevisionSpecialString(string argString);
ParameterTypePassing
argStringstringvalue

Returns: bool

NextSpecialStringName​

This method obtains the next special string name used in a design project (for example a PCB Project).

string NextSpecialStringName();

Returns: string

RemoveForbiddenParamList​

No description yet.

void RemoveForbiddenParamList();

Returns: nothing (void)

Returned by​

IPCB_ServerInterface.SpecialStringConverter