Hardware Script
Script used by the Hinge, Lock, Brake, Vent, FrameFastening, DrainageHole and Sliding Door System options to decide quantity and placement of components and add processings(work).
The hardware script has seven events that are used by the CalWin hardware script logic if the procedures/functions exists.
function GetQty
Is called once for each sash/frame when adding part components for hinges and locks etc. Returns how many ("main") parts should be added.
procedure DefineParts
In this event procedure part components can be modified or added before the WorkXX methods are called for each part component.
Procedure WorkLeft/WorkRight/WorkTop/WorkBottom
In these procedure all work on the left, right, top or bottom frame or sash should be added.
procedure WorkElements
In this procedure work can be added on all sides, and can therefore replace the separate WorkLeft/WorkRight/WorkTop/WorkBottom procedures.
Last updated
Was this helpful?