Skip to content

Instantly share code, notes, and snippets.

View MorganRamsay's full-sized avatar

Morgan Ramsay MorganRamsay

View GitHub Profile
; option to modify cabinet height while anchoring cabinet to current elevation
; loop through every cabinet
for each Cab Assembly
; process only upper cabinets
if Cab.Class != ASM_CLASS_UPPER then
exit
end if
; --------------------------------------------------------------------------------
; PART 1
; --------------------------------------------------------------------------------
; adjust Ref Cab SCBK
for each CAB Assembly
if Cab.Type != ASM_TYPE_STANDARD then
exit
;Renames Drawer Fronts and False Fronts
For Each S_DSLAB Part
If :Name != 'DWR' Then
Exit
End If
If ::STYPE = 5 Then
If ::::Name == 'ADA Sink (Integral Toe Kick)' Then
; Resize Fillers for Production
for each Cab Assembly
; must add URF_ENABLED<bool> to job variables manually
if URF_ENABLED<bool> == null then
exit
end if
; process fillers only
; option to modify cabinet height while anchoring cabinet to current elevation
; loop through every cabinet
for each Cab Assembly
delete UPPER_HEIGHT_MOD
; process only upper cabinets
if Cab.Class != ASM_CLASS_UPPER and Cab.Name != 'Casework Wall' then
exit
; allow extending front toe
for each FT Part
if Cab.Class != ASM_CLASS_BASE then
exit
end if
if Cab.Type != ASM_TYPE_TOEASSEMBLY then
exit