You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This is a Revit shared parameter file.# Do not edit manually unless you know better!*META VERSION MINVERSION
META 2 1
*GROUP ID NAME
*PARAM GUID NAME DATATYPE DATACATEGORY GROUP VISIBLE DESCRIPTION USERMODIFIABLE
Note : when I read entries it works without any issue. I get many entries with all suitable parameters.
Did I misunderstood how write_entries works ? I peeked into the code but I do not understand yet what is going wrong.
The text was updated successfully, but these errors were encountered:
I ran it with pycharm debugger and saw what was happening :
read_entries return a SharedParamEntries which hold a list of SharedParamGroup and a list of SharedParam.
write_entries read a list of SharedParamGroup and/or SharedParam but not a SharedParamEntries
It seemed more logical to me as they are both named entries that write_entries would accept SharedParamEntries. I'll send you a proposal by pull request.
Hi,
I tried to use rsparam to write entries but the result file is empty of any entry.
Test code used :
Result txt file :
Note : when I read entries it works without any issue. I get many entries with all suitable parameters.
Did I misunderstood how
write_entries
works ? I peeked into the code but I do not understand yet what is going wrong.The text was updated successfully, but these errors were encountered: