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.

EndUpdate

EndUpdate



Signals the end of update operations.



Syntax:

Procedure: EndUpdate;

Code Reference:

  1. Create a New Project
  2. Add PlanSwift Reference Usage


API Calls

Delphi

Using PlanSwift Object Model
// PlanSwift code:
PlanSwift.EndUpdate;


// FreshDesk code:
procedure TForm1.FormCreate(Sender: TObject);
var
ps:IPlanswift;
  itm,sect: IItem;
begin
ps := coPlanswift.Create;
ps.BeginUpdate;
// Create a new area item
itm := ps.NewItem(ps.GetItem('Takeoff'),'Area','My Test Area');
// Add a Section the item
sect := itm.NewSection('test Section');
// Add Points to the section
sect.NewPoint(0,0);
Sect.NewPoint(10,0);
sect.NewPoint(10,10);
sect.NewPoint(0,10);
//closes the box
sect.NewPoint(0,0);
//End Update
ps.EndUpdate;
end;


C#

Using IItem Object Model
public class PlanswiftApi
{
    private PlanSwift Planswift { get; }
    public PlanSwiftApi()
    {
        Planswift = new PlanSwift();
    }
}
Using PlanSwift Object Model
Coming soon


VB/VBA (OLE)

Using IItem Object Model
Coming soon
Using PlanSwift Object Model
Coming soon


Copyright 2023 ConstructConnect