/// <summary> /// Sets the API. /// </summary> /// <param name="apiAreaSection">The API area section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> protected static void setApi(ApiAreaSection apiAreaSection, string name, WallProperties properties) { apiAreaSection.SetWall(name, properties.Thickness, properties.WallType, properties.ShellType, properties.MaterialName, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// Sets the API. /// </summary> /// <param name="apiAreaSection">The API area section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> protected static void setApi(ApiAreaSection apiAreaSection, string name, DeckProperties properties) { apiAreaSection.SetDeck(name, properties.OverallDepth, properties.FloorType, properties.ShellType, properties.MaterialName, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// Sets the API. /// </summary> /// <param name="apiAreaSection">The API area section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> protected static void setApi(ApiAreaSection apiAreaSection, string name, SlabProperties properties) { apiAreaSection.SetSlab(name, properties.SlabThickness, properties.FloorType, properties.ShellType, properties.MaterialName, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// Sets the API. /// </summary> /// <param name="apiAreaSection">The API area section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> protected static void setApi(ApiAreaSection apiAreaSection, string name, PlaneProperties properties) { apiAreaSection.SetPlane( name, properties.PlaneType, properties.MaterialName, properties.MaterialAngle, properties.Thickness, properties.IncompatibleModes, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// Sets the API. /// </summary> /// <param name="apiAreaSection">The API area section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> protected static void setApi(ApiAreaSection apiAreaSection, string name, ASolidProperties properties) { apiAreaSection.SetASolid( name, properties.MaterialName, properties.MaterialAngle, properties.ArcAngle, properties.IncompatibleBendingModes, properties.CoordinateSystem, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }