Use model.geom(<tag>).create(<ftag>,<type>) to add an If, ElseIf, Else, or EndIf feature after the current feature.Use model.geom(<tag>).feature().createAfter(<ftag>,<type>,<postag>) to add an If, ElseIf, Else, or EndIf feature after the feature tagged <postag>.
Table 3-59: Valid Property Build a block if variant = 1, else build a cone: