Collaboration with other software
About model and data exchange with 3rd party solutions: Revit, Solibri, dRofus, Bluebeam, structural analysis solutions, and IFC, BCF and DXF/DWG-based exchange, etc.

Need help with a Wall calculation

Anonymous
Not applicable
I created a wall property that will deduct a set value from the total wall height. it works with the exception of every 3' change in the wall height
*******
Parameters:
FLOOR_THK=1'-4"

Property Script:
IF WALL_HEIGHT=WALL_MIN_HEIGHT THEN !for no sloping walls

IF WALL_HEIGHT=96"+FLOOR_THK THEN
WHGT=8
ELSE
IF WALL_HEIGHT=108"+FLOOR_THK THEN
WHGT=9
ELSE
IF WALL_HEIGHT=120"+FLOOR_THK THEN
WHGT=10 ! will not work?????
ELSE
IF WALL_HEIGHT=132"+FLOOR_THK THEN
WHGT=11
ELSE
IF WALL_HEIGHT=144"+FLOOR_THK THEN
WHGT=12
ELSE
IF WALL_HEIGHT=156"+FLOOR_THK THEN
WHGT=13 !will not work?????
ELSE
IF WALL_HEIGHT=168"+FLOOR_THK THEN
WHGT=14
ELSE
IF WALL_HEIGHT=180"+FLOOR_THK THEN
WHGT=15
ELSE
IF WALL_HEIGHT=192"+FLOOR_THK THEN
WHGT=16 !will not work

ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF

STUD_THICKNESS=WALL_THICKNESS*39.3700787401575

STUD_NAME=`2`+`x`+STR(STUD_THICKNESS,1,0)+`x`+STR(WHGT,1,0)+``+`FT` +` ` + `WALLS`

End result 2x4x10 FT WALLS

Am I missing something?? I have no hair left. Please Help
1 REPLY 1
Rick Thompson
Expert
I have never tried what you are doing, so can't comment really... but, I think the "normal" way is the cookbook approach via a property object. You need several versions... different wall heights, and finishes.. then link somehow (via ID), but that approach works great for me. I will attach a screen shot.

ps... Noticed your a Prattville guy:) I was raised in Montgomery and did a lot of work there in the early 70's while in school. Hated the place
Rick Thompson
Mac Sonoma AC 26
http://www.thompsonplans.com
Mac M2 studio w/ display