The following code displays all elements of the STEEL EC3 add-on module that can be modified via the COM interface:
// get interface to active modeliModel = iApp.GetActiveModel();
// get interface to STEEL EC3 moduleIModule module = iModel.GetModule("STEEL_EC3") as Dlubal.STEEL_EC3.IModule;
// get interface to module caseICase iStEC3case = module.moGetCase(1, Dlubal.STEEL_EC3.ITEM_AT.AT_NO);
// get ultimate limit state options (Details > Ultimate Limit State)ULS_OPTIONS optsULS = iStEC3case.moGetULSOptions();
// get options for stability design (Details > Stability)STABILITY_OPTIONS optsStab = iStEC3case.moGetStabilityOptions();
// get options for serviceability design (Details > Serviceabiltiy)SERVICEABILITY_DEFORMATION_TYPE optsServDef = iStEC3case.moGetServiceabilityOptions();
// get fire resistance options (Details > Fire Resistance)FIRE_RESISTANCE_OPTIONS optsFire = iStEC3case.moGetFireResistanceOptions();
// get other options (Details > General)OTHER_OPTIONS optsOther = iStEC3case.moGetOtherOptions();
// get national annex (e.g. DIN, CEN, ...)NATIONAL_ANNEX natAn = iStEC3case.moGetNationalAnnex();
// get interface for national annex detailsINationalAnnex iNatAn = iStEC3case.moGetNationalAnnexOptions();
// get base data for national annexNATIONAL_ANNEX_OPTIONS_BASE natAnBase = iNatAn.moGetBaseOptions();
// get data for general method from national annexNATIONAL_ANNEX_OPTIONS_GM natAnGM = iNatAn.moGetGMOptions();
// get data for lateral-torsional buckling from national annexNATIONAL_ANNEX_OPTIONS_LTB natAnLTB = iNatAn.moGetLTBOptions();
// get data for stainless steel from national annexNATIONAL_ANNEX_OPTIONS_STEEL natAnSTEEL = iNatAn.moGetSteelOptions();
The corresponding elements in the parameter dialog box of the add-on module are shown in Image 02.