To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

Functions - ChildCount - FD

Functions - ChildCount

Returns the number of child items for the item.

Syntax:

Function: IItem.ChildCount: Integer;

API Calls

Delphi

Using IItem Object Model
var  
ps: IPlanSwift;
  est: IItem;
  i: Integer;
  itm: IItem;
  txt: String;
begin
  // Create Planswift Interface
  ps := coPlanswift.Create;
  // Get the Estimating Tab
  est := ps.GetItem('Job\Takeoff');
  // Loop Through All Items
  for i := 0 to est.ChildCount - 1 do
  begin
    itm := est.ChildItem[i];
    // Add Names of all Items to txt var
    txt := txt + itm.Name + #13#10;
  end;
  // Show Message of all items on 1st level
  ShowMessage('First Level estimating Items:' + #13#13 + txt);
  // Free Planswift Interface
  ps := nil;
Using PlanSwift Object Model
 

C#

Using IItem Object Model
 
Using PlanSwift Object Model
 

VB/VBA (OLE)

Using IItem Object Model
 
Using PlanSwift Object Model
 

Pascal Scripting (OLE)

Item Object Model
 
Root Object Model
 

Pascal Scripting

Item Object Model
 
Using the PlanSwift Object Model
 

Copyright 2023 ConstructConnect