Calendar.PrimaveraProperties

Calendar.PrimaveraProperties property

Gets an object containing Primavera-specific properties for a calendar read from Primavera formats.

public PrimaveraCalendarProperties PrimaveraProperties { get; }

Examples

Shows how to read a project from a Primavera file and examine calendar’s Primavera-specific properties.

var options = new PrimaveraReadOptions();
options.ProjectUid = 4861;

// Returns project with special Uid
var project = new Project(DataDir + "ScheduleOptions.xer", options);

var calendar = project.Calendars.GetByUid(178);

Console.WriteLine("Hours per day in '{0}' : {1}", calendar.Name, calendar.PrimaveraProperties.HoursPerDay);

See Also