In the plan view, select components to generate drawings

Hello everyone, I am currently working on something like this. I want to try selecting components in the plan view and generating a drawing. The drawing will include four views: one is a 3D view generated from the selected components (adding annotations to the selected components); one is a plan view of the selected components; one is a section view of the selected components (adding annotations to the selected components); and one is an image I obtained from other software. All four views will be placed on one drawing.
I am not sur

In the plan view, select components to generate drawings.dyn (4.4 KB)

e if this idea can be realized in Dynamo, so I went to the forum to confirm. …

Hi,

Yes, all those things can be done, but it will take quite a lot of work.

I would start with a very simple test file, get something working, then build up the complexity progressively, testing as you go.

Break down the task into parts e.g….

  1. Take an empty Revit file and place a wall orthogonally on a level.

Dynamo:
2. Selection (select model elements node)

  1. Sheet creation
    a. sheet by name number title block node
    b. family types node: get your title block family
    c. sheet name and number inputs (just use strings to start with)

  2. Plan view creation
    a. get active view
    b. get view’s level
    c. FloorPlanView ByLevel (just drop it anywhere for now)

  3. Place view on sheet (viewport bysheetviewlocation)

Once you’ve got that working, I’d build up the complexity… Extract the element parameters to title the sheet, make a rule to drive the sheet number….

Apply a view template so you can always have the correct scale and hide distracting things

Try making your different views, make some rules as to how they will sit on sheets. Think about how you will bound them… Does the crop box want to be offset by 50mm from the elements?

Look at tagging… Which tag families will you use? Which elements, what rules do you need for placement?

Start to look at rotations (transforms) and links.

And on and on and on!

I would not try to solve every edge case, I would perhaps give commentary to the user on when something fails, what setup they need, which parameters must be included.

Have a go and let us know when you get stuck, good luck!

Mark

2 Likes