pyRevit icon indicating copy to clipboard operation
pyRevit copied to clipboard

DB.SheduleField support

Open ejs-ejs opened this issue 2 years ago • 3 comments

Partial support for pickling DB.ScheduleField.

ejs-ejs avatar Dec 04 '22 17:12 ejs-ejs

This PR seems odd. DB.ScheduleField does not have any constructors. How are you deserializeing the stored data into a DB.ScheduleField?

eirannejad avatar Dec 30 '22 22:12 eirannejad

This PR seems odd. DB.ScheduleField does not have any constructors. How are you deserializeing the stored data into a DB.ScheduleField?

The deserializing is needed for numeric fields, like 'width' AFAIR . What I [think | hope], the API is creating a new DB.ScheduleField and the properties can be applied to the existing DB.ScheduleField. I need to clean the kind-of-working code, the repo is https://github.com/ejs-ejs/py-ejs.

ejs-ejs avatar Dec 30 '22 23:12 ejs-ejs

@ejs-ejs did you get the chance to validate this change and test it?

jmcouffin avatar Mar 12 '24 16:03 jmcouffin

I will leave it alive for an extra week then close the PR

jmcouffin avatar Mar 17 '24 10:03 jmcouffin