define variable area as IArea no-undo.
area = service:NewArea("MyArea"). /* Set properties and add extents */ . . . service:CreateArea(area). |
area = service:GetArea("MyArea").
/* Add extents */ . . . service:UpdateArea(area). |
define variable areas as IAreaSet no-undo.
define variable area as IArea no-undo. areas = service:Areas(). area = service:NewArea("OrderArea"). /* Set properties and add extents */ . . . areas:Add(area). area = areas:Find("InventoryArea"). /* Add extents */ . . . service:UpdateArea(areas). |