172 lines
3.9 KiB
Markdown
172 lines
3.9 KiB
Markdown
# Dynamo scripts
|
|
|
|
For more info see readme.md in each folder
|
|
|
|
## Branches
|
|
|
|
On master branch only 2.x scripts are available.
|
|
|
|
For 1.x scripts see 1.x branch!
|
|
|
|
## Naming codes
|
|
|
|
DS: Datashape ui
|
|
|
|
DP: DynamoPlayer ui
|
|
|
|
No suffix: no ui
|
|
|
|
## Script state emojis
|
|
|
|
✅ Stable
|
|
|
|
☑️ Mostly working
|
|
|
|
🐛 Some bugs
|
|
|
|
🚧 Not finished, under developement
|
|
|
|
❌ Removed from master branch
|
|
|
|
🔻 Not upgraded to 2.x
|
|
|
|
## Scripts
|
|
|
|
### AddParametersToFamily-DS ✅
|
|
|
|
Add multiple parameters to a currently opened family with one click.
|
|
|
|
### AddTitleblockAsParameterToAllSheets-DP ✅
|
|
|
|
Adds the type name of the titleblocks to each sheet as a parameter.
|
|
|
|
### BuldingPadsFromElements-DS ☑️ 🚧
|
|
|
|
Create building pad from selected elements.
|
|
|
|
### CategoryPresentation ✅ 🚧 🔻
|
|
|
|
Places all loaded families from the selected category on a line for presentation.
|
|
|
|
TODO: ui
|
|
|
|
### CheckUnlimitedViewDepths ✅
|
|
|
|
List views which has unlimited view range set
|
|
|
|
### CopyParameterValuesToParameter-DP 🐛
|
|
|
|
Copy parameter values of a selected family to another parameter of the same family
|
|
|
|
### DeleteAllRefPlanes ✅
|
|
|
|
Delete all reference planes from the project
|
|
|
|
### DisallowJoinSelectedFrames-DP ✅
|
|
|
|
Disallow join on both end on the selected frames
|
|
|
|
### DuplicateMultipleViews-DS ✅
|
|
|
|
Select multiple views and duplicate them
|
|
|
|
### DwgImportCleaner ✅
|
|
|
|
Removes all imported dwgs
|
|
|
|
### ExportHeightFromPbp-DP ✅
|
|
|
|
Exports selected category's all objects' elevation from PBP to excel
|
|
|
|
### FloorPresentation-DP ✅
|
|
|
|
Places all floor types in the project
|
|
|
|
### ImportDwgBatch ✅ 🚧
|
|
|
|
State: same as importobj, just with dwg
|
|
|
|
### ImportObjBatch ✅ 🚧
|
|
|
|
Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor
|
|
|
|
### KimaiExportParser ❌
|
|
|
|
*Removed from master, see 1.x branch!*
|
|
|
|
### ListAllInplaceElements ✅
|
|
|
|
Lists all inplace elements in model
|
|
|
|
### PrefixLoadedFamiliesBatch ✅ 🔻
|
|
|
|
Add a prefix to all loaded families' names from a selected category. Designed to be used with Revit Batch Processor
|
|
|
|
TODO: UI, docs
|
|
|
|
### RenumberSheetsFromSelected-DS ✅
|
|
|
|
Add +1 to numbers starting from the selected
|
|
|
|
### Revisions
|
|
|
|
#### AddAllRevisionsToAllSheets ✅
|
|
|
|
Automatically add all revisions to all sheets
|
|
|
|
#### AddOneRevisionsToAllSheets-DP ✅
|
|
|
|
Automatically add a selected revisions to all sheets
|
|
|
|
#### QuickRevisionSchedule-DP ✅
|
|
|
|
List all revisions to a table in a new window
|
|
|
|
### SubregionsToDetailLines ✅
|
|
|
|
Convert all subregions to deatil lines in the active view. With too big numbers it freezes! Set units to meters!
|
|
|
|
### WallPresentation-DP ✅
|
|
|
|
Place all wall types in the project
|
|
|
|
## Nodes
|
|
|
|
### WeekDayNumber ✅ 🔻
|
|
|
|
Input: Weekday. Output: number of the day starting from monday
|
|
|
|
### 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
|