/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, CircleSectionProperties properties) { apiFrameSection.SetCircle( name, properties.MaterialName, properties.D, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, RectangleSectionProperties properties) { apiFrameSection.SetPlate( name, properties.MaterialName, properties.h, properties.b, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, TeeSectionProperties properties) { apiFrameSection.SetTee( name, properties.MaterialName, properties.t3, properties.t2, properties.tf, properties.tw, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, DoubleChannelSectionProperties properties) { apiFrameSection.SetDoubleChannel( name, properties.MaterialName, properties.t3, properties.t2, properties.tf, properties.tw, properties.Separation, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, ConcreteTeeSectionProperties properties) { apiFrameSection.SetConcreteTee( name, properties.MaterialName, properties.t3, properties.t2, properties.tf, properties.twFlange, properties.twTip, properties.MirrorAbout3, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, SteelAngleSectionProperties properties) { apiFrameSection.SetSteelAngle( name, properties.MaterialName, properties.t3, properties.t2, properties.tf, properties.tw, properties.r, properties.MirrorAbout2, properties.MirrorAbout3, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }
/// <summary> /// This function initializes a frame section property. /// If this function is called for an existing frame section property, all items for the section are reset to their default value. /// </summary> /// <param name="apiFrameSection">The API frame section.</param> /// <param name="name">The name.</param> /// <param name="properties">The properties.</param> /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception> protected static void setApi(ApiFrameSection apiFrameSection, string name, GeneralSectionProperties properties) { apiFrameSection.SetGeneral( name, properties.MaterialName, properties.Properties.t3, properties.Properties.t2, properties.Properties.Ag, properties.Properties.As2, properties.Properties.As3, properties.Properties.J, properties.Properties.I22, properties.Properties.I33, properties.Properties.S22, properties.Properties.S33, properties.Properties.Z22, properties.Properties.Z33, properties.Properties.r22, properties.Properties.r33, properties.GeneralData.Color, properties.GeneralData.Notes, properties.GeneralData.GUID); }