@@ -38,13 +38,13 @@ public int SetLoadUniform(string areaName, AreaUniformLoad load, bool replace =
3838 if ( load . Direction < 1 || load . Direction > 11 )
3939 throw new ArgumentException ( "Direction must be between 1 and 11" , nameof ( load ) ) ;
4040
41- int ret = _sapModel . AreaObj . SetLoadUniform ( areaName , load . LoadPattern , load . LoadValue ,
41+ int ret = _sapModel . AreaObj . SetLoadUniform ( areaName , load . LoadPattern , load . LoadValue ,
4242 load . Direction , replace , load . CoordinateSystem , itemType ) ;
4343
4444 if ( ret != 0 )
4545 throw new EtabsException ( ret , "SetLoadUniform" , $ "Failed to set uniform load for area '{ areaName } ' in pattern '{ load . LoadPattern } '") ;
4646
47- _logger . LogDebug ( "Set uniform load for area {AreaName} in pattern {LoadPattern}: {Load} (ItemType: {ItemType})" ,
47+ _logger . LogDebug ( "Set uniform load for area {AreaName} in pattern {LoadPattern}: {Load} (ItemType: {ItemType})" ,
4848 areaName , load . LoadPattern , load . ToString ( ) , itemType ) ;
4949
5050 return ret ;
@@ -67,7 +67,7 @@ public int SetLoadUniform(string areaName, AreaUniformLoad load, bool replace =
6767 /// <param name="coordinateSystem">Coordinate system name ("Local" or coordinate system name)</param>
6868 /// <param name="itemType">Item type for assignment (Objects, Group, or SelectedObjects)</param>
6969 /// <returns>0 if successful, non-zero otherwise</returns>
70- public int SetLoadUniform ( string name , string loadPattern , double value , int direction ,
70+ public int SetLoadUniform ( string name , string loadPattern , double value , int direction ,
7171 bool replace = true , string coordinateSystem = "Global" , eItemType itemType = eItemType . Objects )
7272 {
7373 try
@@ -78,7 +78,7 @@ public int SetLoadUniform(string name, string loadPattern, double value, int dir
7878 throw new ArgumentException ( "Load pattern cannot be null or empty" , nameof ( loadPattern ) ) ;
7979 if ( string . IsNullOrEmpty ( coordinateSystem ) )
8080 throw new ArgumentException ( "Coordinate system cannot be null or empty" , nameof ( coordinateSystem ) ) ;
81-
81+
8282 // Validate direction according to ETABS API (1-11)
8383 if ( direction < 1 || direction > 11 )
8484 throw new ArgumentException ( "Direction must be between 1 and 11" , nameof ( direction ) ) ;
@@ -88,7 +88,7 @@ public int SetLoadUniform(string name, string loadPattern, double value, int dir
8888 if ( ret != 0 )
8989 throw new EtabsException ( ret , "SetLoadUniform" , $ "Failed to set uniform load for '{ name } ' in pattern '{ loadPattern } '") ;
9090
91- _logger . LogDebug ( "Set uniform load for {Name} in pattern {LoadPattern}: Value={Value}, Dir={Direction}, CSys={CoordinateSystem}, ItemType={ItemType}" ,
91+ _logger . LogDebug ( "Set uniform load for {Name} in pattern {LoadPattern}: Value={Value}, Dir={Direction}, CSys={CoordinateSystem}, ItemType={ItemType}" ,
9292 name , loadPattern , value , direction , coordinateSystem , itemType ) ;
9393
9494 return ret ;
@@ -120,7 +120,7 @@ public List<AreaUniformLoad> GetLoadUniform(string areaName, string loadPattern
120120 int [ ] directions = null ;
121121 double [ ] values = null ;
122122
123- int ret = _sapModel . AreaObj . GetLoadUniform ( areaName , ref numberItems , ref areaNames ,
123+ int ret = _sapModel . AreaObj . GetLoadUniform ( areaName , ref numberItems , ref areaNames ,
124124 ref loadPatterns , ref csys , ref directions , ref values ) ;
125125
126126 if ( ret != 0 )
@@ -208,13 +208,13 @@ public int SetLoadUniformToFrame(string areaName, AreaUniformToFrameLoad load, b
208208 if ( string . IsNullOrEmpty ( load . LoadPattern ) )
209209 throw new ArgumentException ( "Load pattern cannot be null or empty" , nameof ( load ) ) ;
210210
211- int ret = _sapModel . AreaObj . SetLoadUniformToFrame ( areaName , load . LoadPattern , load . Value ,
211+ int ret = _sapModel . AreaObj . SetLoadUniformToFrame ( areaName , load . LoadPattern , load . Value ,
212212 load . Direction , load . DistributionType , replace , load . CoordinateSystem ) ;
213213
214214 if ( ret != 0 )
215215 throw new EtabsException ( ret , "SetLoadUniformToFrame" , $ "Failed to set uniform to frame load for area '{ areaName } ' in pattern '{ load . LoadPattern } '") ;
216216
217- _logger . LogDebug ( "Set uniform to frame load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
217+ _logger . LogDebug ( "Set uniform to frame load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
218218 areaName , load . LoadPattern , load . ToString ( ) ) ;
219219
220220 return ret ;
@@ -247,7 +247,7 @@ public List<AreaUniformToFrameLoad> GetLoadUniformToFrame(string areaName, strin
247247 double [ ] values = null ;
248248 int [ ] distTypes = null ;
249249
250- int ret = _sapModel . AreaObj . GetLoadUniformToFrame ( areaName , ref numberItems , ref areaNames ,
250+ int ret = _sapModel . AreaObj . GetLoadUniformToFrame ( areaName , ref numberItems , ref areaNames ,
251251 ref loadPatterns , ref csys , ref directions , ref values , ref distTypes ) ;
252252
253253 if ( ret != 0 )
@@ -340,7 +340,7 @@ public int SetLoadWindPressure(string areaName, AreaWindPressureLoad load)
340340 if ( ret != 0 )
341341 throw new EtabsException ( ret , "SetLoadWindPressure" , $ "Failed to set wind pressure load for area '{ areaName } ' in pattern '{ load . LoadPattern } '") ;
342342
343- _logger . LogDebug ( "Set wind pressure load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
343+ _logger . LogDebug ( "Set wind pressure load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
344344 areaName , load . LoadPattern , load . ToString ( ) ) ;
345345
346346 return ret ;
@@ -371,7 +371,7 @@ public List<AreaWindPressureLoad> GetLoadWindPressure(string areaName, string lo
371371 int [ ] loadTypes = null ;
372372 double [ ] pressureCoefficients = null ;
373373
374- int ret = _sapModel . AreaObj . GetLoadWindPressure ( areaName , ref numberItems , ref areaNames ,
374+ int ret = _sapModel . AreaObj . GetLoadWindPressure ( areaName , ref numberItems , ref areaNames ,
375375 ref loadPatterns , ref loadTypes , ref pressureCoefficients ) ;
376376
377377 if ( ret != 0 )
@@ -458,13 +458,13 @@ public int SetLoadTemperature(string areaName, AreaTemperatureLoad load, bool re
458458 if ( string . IsNullOrEmpty ( load . LoadPattern ) )
459459 throw new ArgumentException ( "Load pattern cannot be null or empty" , nameof ( load ) ) ;
460460
461- int ret = _sapModel . AreaObj . SetLoadTemperature ( areaName , load . LoadPattern , load . TemperatureType ,
461+ int ret = _sapModel . AreaObj . SetLoadTemperature ( areaName , load . LoadPattern , load . TemperatureType ,
462462 load . Value , load . PatternName , replace ) ;
463463
464464 if ( ret != 0 )
465465 throw new EtabsException ( ret , "SetLoadTemperature" , $ "Failed to set temperature load for area '{ areaName } ' in pattern '{ load . LoadPattern } '") ;
466466
467- _logger . LogDebug ( "Set temperature load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
467+ _logger . LogDebug ( "Set temperature load for area {AreaName} in pattern {LoadPattern}: {Load}" ,
468468 areaName , load . LoadPattern , load . ToString ( ) ) ;
469469
470470 return ret ;
@@ -493,7 +493,7 @@ public List<AreaTemperatureLoad> GetLoadTemperature(string areaName = "", eItemT
493493 double [ ] values = null ;
494494 string [ ] patternNames = null ;
495495
496- int ret = _sapModel . AreaObj . GetLoadTemperature ( areaName , ref numberItems , ref areaNames ,
496+ int ret = _sapModel . AreaObj . GetLoadTemperature ( areaName , ref numberItems , ref areaNames ,
497497 ref loadPatterns , ref loadTypes , ref values , ref patternNames , itemType ) ;
498498
499499 if ( ret != 0 )
0 commit comments