Yes/No:
{if([INSTANCE:Structure],“WT”,“WN”)}
{if([INSTANCE:Structure]=true,“WT”,“WN”)}
(or =false if no)
{if([INSTANCE:Structure]=false,“WN”,“WT”)}
or with not
{if(not[INSTANCE:Structure],“WN”,“WT”)}
Nested:
{[INSTANCE:Comments].insert(2,[BIPINSTANCE:Type].substring(4,2))}
Linked: (with AND or OR)
{if([BIPINSTANCE:Type].startswith(“173”) OR
[BIPINSTANCE:Type].endswith(“Wall”),‘Yes’,“No”)}
Comparisons with units: (in PP only numbers, without units! The default is the unit set in Revit):
{if([INSTANCE:173_010_013_Height]>3.2,“More expensive”,“Cheaper”)}
Text functions:
{if([BIPINSTANCE:Type].substring(0,4)=“173_”,‘Wall’,“No wall”)}
{if([BIPTYPE:Type name].contains(“_BEWA_”),“07_02”,[CONSTANT:Ignore])}
{if([INSTANCE:000_080_020_Section].contains(“KW08”),“18.01.2013”,[CONSTANT:Ignor
e])}
Negative: (with NOT)
{if(not[BIPINSTANCE:Type].substring(0,4)=“173_”,“no wall”,“wall”)}
Comments
0 comments
Please sign in to leave a comment.