Hi,
i'm trying to get Infraworks automatically assigns roof slopes based on the name property.
For example,
a building has the name property "House" and needs a roofslope of 33.
a building has the name property "Office" and needs a roofslope of 0.
etc.
It should be something like:
if( BUILDINGS.NAME === "House")
{BUILDINGS.ROOF_SLOPE = 33;}
else if(BUILDINGS.NAME === "Office")
{ BUILDINGS.ROOF_SLOPE = 0;}
else
BUILDINGS.ROOF_SLOPE = 10;
Can anyone help me with the script to do this with infraworks?
Solved! Go to Solution.
Solved by jutters. Go to Solution.