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 - MeetsInputCondition - FD

Functions - MeetsInputCondition

Returns true if the InputCondition has been met.

Syntax:

Function: MeetsInputCondition;

API Calls

Delphi

Using IItem Object Model
procedure psMeetsInputCondition;
var
  ps: IPlanSwift;
  itm: IItem;
  prop: IPropertyObject;
begin
  //Create the Planswift Interface
  ps := coPlanswift.Create;
  //get the selected item
  itm := ps.SelectedItem.ParentItem;
  //Check to see if there is an item selected
  if varisclear(itm) then begin
    ShowMessage('Please Select an Item');
    ps := nil;
    Exit;
  end;
  //Create a new Property
  prop := itm.NewProperty('MeetsInputCondition','Hello World',ptText);
  //Set input Condition to true
  prop.IsInput := True;
  //Set its Input condition to check if qty is greater than zero
  prop.InputCondition := '[Qty] > 0';
  //Check if the condition is met
  if prop.MeetsInputCondition then
    //if it is met show a message stating so
    ShowMessage('Quanity is not blank');
  // Clear the Planswift Interface
  ps := nil;
end;
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