File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Lusas_Adapter/CRUD/Private Helpers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public partial class LusasAdapter
3333 {
3434 internal object [ ] GetAssignedPoints ( Load < Node > bhomLoads )
3535 {
36- string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
36+ string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => "P" + x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
3737
3838 object [ ] arrayGeometry = d_LusasData . getObjects ( "Point" , lusasIDs ) ;
3939
@@ -42,7 +42,7 @@ internal object[] GetAssignedPoints(Load<Node> bhomLoads)
4242
4343 public object [ ] GetAssignedLines ( Load < Bar > bhomLoads )
4444 {
45- string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
45+ string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => "L" + x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
4646
4747 object [ ] arrayGeometry = d_LusasData . getObjects ( "Line" , lusasIDs ) ;
4848
@@ -51,7 +51,7 @@ public object[] GetAssignedLines(Load<Bar> bhomLoads)
5151
5252 public object [ ] GetAssignedSurfaces ( Load < IAreaElement > bhomLoads )
5353 {
54- string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
54+ string [ ] lusasIDs = bhomLoads . Objects . Elements . Select ( x => "S" + x . CustomData [ AdapterId ] . ToString ( ) ) . ToArray ( ) ;
5555
5656 object [ ] arrayGeometry = d_LusasData . getObjects ( "Surface" , lusasIDs ) ;
5757
You can’t perform that action at this time.
0 commit comments