don't think: Do Revit: +/- offset(s) for families

don't think: Do Revit: +/- offset(s) for families:

'via Blog this'

Step by step solution to +/- offset values for families.

Parallel to the reference/surface point(A):
  1. Create a reference plane in the + offset direction,
  2. Call it "REF.OFFSET+"
  3. Dimension from the reference point(A) to the plane.
  4. Give the dimension a parameter "OFFSET.FRONT" (group it under 'other')
  5. Between point(A) and the reference plane, create another reference plane.
  6. call it "REF.OFFSET-"
  7. Create a dimension between the reference plan from step 1 and the one just created in step 3.
  8. Given the dimension a parameter "OFFSET.BACK" (group it under 'other')
  9. In the family properties, Create a Length parameter called "OFFSET".

  10. Next to the "OFFSET.FRONT"  under 'other' group, add the formula:
if(OFFSET > 0', OFFSET, 0')

  11. Next to the "OFFSET.BACK"  under 'other' group, add the formula:
if(NOT(OFFSET > 0'),abs( OFFSET), 0')

Try flexing with 1'-0" and -1'-0" to make sure it works properly.

*Make sure you reference "REF.OFFSET-" plane as that is what flexes forward and backwards!

Comments

Popular posts from this blog

Revit area plans adding new types and references (Gross and rentable)

Powerpoint countdown and current time in slides VBA

Revit 2019 and up tab colorizer