Menu

Possible to avoid Level: added in UserDefinedPropertyset?

2020-01-08
2020-01-15
  • Hans Hendriks

    Hans Hendriks - 2020-01-08

    Is it possible to avoid that Revit is adding the value Level: to Base Constraint value in a UserPropertySet?
    Example: In Revit Level 2, result in IFC: Level: Level 2

     
  • Dirk Van Rillaer

    Hi Hans,
    As far as I know, the only way to get rid of the prefix, is by using an expression.
    In this case the expression would be: {$this("Base Constraint").("Name")}
    Regards,
    Dirk

     
  • Anno Wielenga

    Anno Wielenga - 2020-01-15

    Hi Dirk,

    Is it possible to do it in one string? Because element have different Level properties:
    Walls have: Base Constraints
    Windows have: Level
    Roof have: Reference Level
    Railing have: Base Level

    We tried to make a string with more types but it wouldn't work, do you've got an idea?

    For Example we tried with: {$this("Base Constraint"+"Level"+"Reference Level"+"Base Level").("Name")}

     
  • Dirk Van Rillaer

    Hi Anno,

    To my surprise, it is indeed possible to use such a combination expression.
    I tried successfully the following notation as expression for a Wall/Door/Roof

    {$this("Base Constraint").("Name")+$this("Level").("Name")+$this("Base Level").("Name")}

    so in the same style all the other "leveltypes" could be added to this expression.

    Regards,
    Dirk

     

Log in to post a comment.