Adds the parameter for setting the IPC level of the footprint.

syntaxSyntax:
FWiz.AddIPCLevels(imageIndex=1)

Parameters

Parameter Description
imageIndex The index of the image to be displayed when the focus switches to the parameter input box.

Return Value

If an error occurs it returns false otherwise it returns true.

Remarks

This function can only be called in response to the OnTab... event.

Example

See the TO-220 sample code for the complete script.

  Copy codeCopy code
function OnTab_Dimension()
{
  FWiz.AddIPCLevels(1);
  FWiz.AddSeparator("Body");
  FWiz.AddInput("A");
  FWiz.AddInput("D");
  FWiz.AddInput("E");
  FWiz.AddInput("F");
  FWiz.AddInput("H1");
  FWiz.AddInput("J1");
  FWiz.AddInput("L20");
  FWiz.AddInput("L30");
  FWiz.AddInput("P");
  FWiz.AddInput("Q");
  FWiz.AddSeparator("Leads");
  FWiz.AddInput("b");
  FWiz.AddInput("b1");
  FWiz.AddInput("c");
  FWiz.AddInput("e");
  FWiz.AddInput("L");
  FWiz.AddInput("L1");
  FWiz.AddSeparator("Tab");
  FWiz.AddInput("BEVELEDTAB");
}

function OnTab_Assembly()
{
  FWiz.AddSeparator("Body");
  FWiz.AddInput("BODYPEN");
  FWiz.AddInput("BODYBRUSH");
  FWiz.AddSeparator("Lead");
  FWiz.AddInput("LEADPEN");
  FWiz.AddInput("LEADBRUSH");
}

function OnTab_Pad_Style()
{
  FWiz.AddInput("PADSTYLE");
  FWiz.AddInput("PADSHAPEMODE");
}

function OnTab_3D_Model()
{
  FWiz.AddInput("BODYMAT");
  FWiz.AddInput("LEADMAT");
}

function OnTab_Info()
{
  FWiz.AddLibraryInfo();
}

See also