Example #1
0
 ///<summary>
 ///  Sets the ActorRoleCollection to the array of ActorRole, deletes any previous values, initialises collection.
 ///</summary>
 public void SetRoles(params IfcActorRole[] actorRoles)
 {
     if (_roles == null)
     {
         _roles = new ActorRoleCollection(this);
     }
     else
     {
         _roles.Clear();
     }
     foreach (IfcActorRole item in actorRoles)
     {
         _roles.Add(item);
     }
 }