-
-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modification to Import/Export Family Configs #1117
Modification to Import/Export Family Configs #1117
Conversation
# Conflicts: # bin/pyrevit-hosts.json
The original behavior would assume all parameters were not shared. This commit detects shared parameters, and if they exist, creates another file and uses it to import them into Revit.
… string. The yaml file assumes the Load Classification Type to be a string, so when using the original import button, the Load Classification in Revit would not populate. The export script attaches a string to the beginning of the Load Classification Type in the yaml file. When the import script comes across the notifier string, it imports the value as a Load Classification Type. A more general solution is necessary for other types of parameters that use a ElementId.
Please let me know if I need to make any changes. |
Merged into |
@msmith320 Ok I made a series of updates to this in the
Once ready I can merge this into develop |
@eirannejad Thanks for looking at the scripts. I commented a few adjustments in your commit. There was a naming issue with |
Ok great. This is already merged so would you mind sending a new PR to |
The original import and export family configs buttons did not account for shared parameters or parameters whose values were of type ElementId. The following scripts use the GUID of shared parameters and a specific string to keep track of the shared parameters and the Load Classification Type. The export button saves a txt file in addition to the yaml file with the same name and in the same directory. For import, make sure both the txt and yaml file are in the same directory.