Added some new scripts

This commit is contained in:
2019-07-06 18:22:47 +02:00
parent d0ada576bb
commit a6b0536e48
23 changed files with 14360 additions and 770 deletions

View File

@@ -44,6 +44,22 @@ 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
@@ -60,7 +76,15 @@ State: stable
UI: DynamoPlayer
### ImportobjBatch
### 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
@@ -115,3 +139,37 @@ 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