pyRevit

1. Background

PyRevit is a tools created by Eiran Nejad that revolutionize the way we interact with Revit element. It’s a Rapid Application Prototyping (RAD) environment for Revit. It helps you run your python script as a Tools in Revit. You need to understand RevitAPI in order to create python script for your automation task.

With easier to develop a tool by our self, every company can create their own tools and adjust it to follow their own workflow.

There are also a limitation regarding the line weight we can settup. the limitation are comes from the resolution of the printer, Revit viewport, and Revit export to PDF.

  • Minimum line thickness possible the printer is depends on the resolution/dpi.
  • Minimum line thickness possible in Revit viewport is 0.025mm
  • Minimum line thickness possible in Revit export to PDF is 0.083mm

2. Setup

Since we can’t use default Revit setup for line weight, we need to adjust the line weight to a proper thickness number. The thickness can follow any standard that client decided. It can be from AIA, PTSP or Public Works Department standards. There are a few things that need to consider while adjusting the line weight setting on Revit :

  • Don’t use Revit default line weight setting, especially from Metric default template. Those setting are not adjusted to ISO line weight recommendation from CAD.
  • According to ISO, the line weights are dependent on 1mm multiplied/divided by square root of 2. This means the graph of line weight (in mm) need to be exponential against line weight number.
  • Fill Pattern are always has line weight on pen 1. Except ceiling pattern that always has line weight on pen 2. Other element line weight (projection and cut) can be start from line weight number 3.
  • Annotation and perspective has different setting for line weight with no scalable version. From default line weight setting, we can observe that the line weight setting for annotation and perspective comes from 1=100 model line scale.
  • The minimum line weight possible is 0.083 mm (0.0033”).

With the requirements above, here are the recommended setup for metric template.


3. Naming Convention

[NONE]

4. Implementation

To access line weight setup window in Revit, we need to go to Manage tab > Setting panel > Additional Setting drop down > Line Weight button. There are 2 implementation workflow for adjusting the line weight :

  • If the client don’t have a preferred setting, we can use our recommended setup and use transfer project standard to implement it to the client’s template.
  • If the client has a preferred standard for line weight, we need to adjust the line weight to match their CTB setup. After that we can use the file that already been setup as a ground truth of the line weight and transfer it to the client’s template.

5. Reference

Revit Pure : Link
Engipedia : Link
Revit Forum : Link

6. See Also

ISO 128-2:2020 – Technical product documentation (TPD)

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *