Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to set day of week for start day using C#

I can set it using C++ openstudio::model::YearDescription yd1 = model.getUniqueModelObject<openstudio::model::yeardescription>(); yd1.setDayofWeekforStartDay("Sunday");

In C#, there is a class YearDescription But I don't know how to set it into the Model

Anyone can help? Thanks

how to set day of week for start day using C#

I can set it using C++ openstudio::model::YearDescription yd1 = model.getUniqueModelObject<openstudio::model::yeardescription>(); yd1.setDayofWeekforStartDay("Sunday");

In C#, there is a class YearDescription But I don't know how to set it into the Model

Anyone can help? Thanks

how to set day of week for start day using C#

I can set it using C++ C++

openstudio::model::YearDescription yd1 = model.getUniqueModelObject<openstudio::model::yeardescription>();
yd1.setDayofWeekforStartDay("Sunday");

model.getUniqueModelObject<openstudio::model::YearDescription>(); yd1.setDayofWeekforStartDay("Sunday");

In C#, there is a class YearDescription But I don't know how to set it into the Model

Anyone can help? Thanks

how to set day of week for start day using C#

I can set it using C++

openstudio::model::YearDescription yd1 = model.getUniqueModelObject<openstudio::model::YearDescription>(); yd1.setDayofWeekforStartDay("Sunday");

In C#, there is a class YearDescription But I don't know how to set it into the Model

Anyone can help? Thanks