Skip to content

Instantly share code, notes, and snippets.

@sheetd
Last active October 24, 2017 19:43
Show Gist options
  • Save sheetd/fe33b0b6d1868248e8be to your computer and use it in GitHub Desktop.
Save sheetd/fe33b0b6d1868248e8be to your computer and use it in GitHub Desktop.
let F (Feature)
let i , j , k (Integer)
i = 1
j = 1
k = 1
// Inputs
// Loop for Row
for i while i < List_H\Size {
// Loop for Column
for j while j < List_V\Size {
F = CreateOrModifyTemplate("MGM_IGU_Rectangular", UDF , Instantiate\KP_InstantiateUDF\ListUDF , k)
F.CRV_Top = List_H -> GetItem(i)
F.CRV_Bottom = List_H -> GetItem(i + 1)
F.CRV_Left = List_V -> GetItem(j)
F.CRV_Right = List_V -> GetItem(j +1)
EndModifyTemplate(F)
}
j = 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment