# Dynamo scripts

For more info see readme.md in each folder

## Scripts

### AddParametersToFamily

Add multiple parameters to a currently opened family with one click.

State: stable

UI: Data-shapes

### AddTitleblockAsParameterToAllSheets

Adds the type name of the titleblocks to each sheet as a parameter. 

State: Stable

UI: DynamoPlayer

### BuldingPadsFromElements

Create building pad from selected elements. 

State: mostly working, not stable

UI: Data-shapes

### CategoryPresentation

Places all loaded families from the selected category on a line for presentation.

State: stable, no ui yet

UI: no ui

### CheckUnlimitedViewDepths

List views which has unlimited view range set

State: stable

UI: no ui

### CopyParameterValuesToParameter

Copy parameter values of a selected family to another parameter of the same family

State: stable

UI: DynamoPlayer

### DisallowJoinSelectedFrames

Disallow join on both end on the selected frames

State: stable

UI: DynamoPlayer

### DwgImportCleaner

Removes all imported dwgs

State: stable

UI: no ui

### ExportHeightFromPbp

Exports selected category's all objects' elevation from PBP to excel

State: stable

UI: DynamoPlayer

### FloorPresentation

Places all floor types in the project

State: stable

UI: DynamoPlayer

### ImportDwgBatch

State: same as importobj, just with dwg

state: stable, under developement

UI: no ui

### ImportObjBatch

Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor

State: stable, under developement

UI: no ui

### KimaiExportParser

Parse exported excel tables from kimai1. It will create summaries per project per weeks.

State: stable, not maintained any more, only for 1.x

UI: run from dynamo, no player support

### ListAllInplaceElements

Lists all inplace elements in model

State: stable

UI: no ui

### PrefixLoadedFamiliesBatch

Add a prefix to all loaded families' names from a selected category. Designed to be used with Revit Batch Processor

State: stable, no ui, no docs

UI: no ui

### RenumberSheetsFromSelected

Add +1 to numbers starting from the selected

State: stable

UI: no ui

### Revisions

#### AddAllRevisionsToAllSheets

Automatically add all revisions to all sheets

State: stable

UI: no ui

#### AddOneRevisionsToAllSheets

Automatically add a selected revisions to all sheets

State: stable

UI: DynamoPlayer

#### QuickRevisionSchedule

List all revisions to a table in a new window

State: stable

UI: DynamoPlayer

### SubregionsToDetailLines

Convert all subregions to deatil lines in the active view. With too big numbers it freezes! Set units to meters!

State:stable

UI: no ui

### WallPresentation

Place all wall types in the project

State: stable

UI: DynamoPlayer

## Nodes

### WeekDayNumber

Created for kimai-export-parser

Input: Weekday. Output: number of the day starting from monday

State: stable, should work in 2.x as well.

### ReplaceFollowingElements

Replace same elements follow each other

Input:

- list: a list of lists
- searchFor: the value you want to replace if follows each other
- replacement: string to replace the following elements
- countUnit: on the replaced list append this value to the count of the same elements

Output:

- replacedList: A list where all of the found following same elements replaced with the replacement
- firstReplacedList: Only the first element is replaced, others counted and appended by the countUnit

### ReplaceFollowingSameElements

Replace all following same elements in a list of lists. The differences between this and the previous node thet here you don't have to add a searchfor, itt will replace all following elements

Input:

- list: a list of lists
- replacement: string to replace the following elements
- countUnit: on the replaced list append this value to the count of the same elements

Output:

- allReplaced: A list where all of the found following same elements replaced with the replacement
- firstCounted: The first element replaced by the number of following elements, others replaced by the replacement
- firstOriginal: First element is the same as before, others replaced by the replacement

Python source is included next to the .dyf
