1
1
/// Developed by Thornton Tomasetti's CORE Studio for Autodesk
2
2
/// http://core.thorntontomasetti.com
3
- /// CORE Developers: Elcin Ertugrul and Ana Garcia Puyol
3
+ /// COREsudio Developers: Elcin Ertugrul and Ana Garcia Puyol
4
4
5
5
using System ;
6
6
using System . Collections . Generic ;
11
11
//DYNAMO
12
12
using Autodesk . DesignScript . Geometry ;
13
13
using Autodesk . DesignScript . Runtime ;
14
+ using DynamoSAP . Assembly ;
15
+ using DynamoSAP . Definitions ;
14
16
using ProtoCore . Lang ;
17
+ using DynamoServices ;
15
18
16
19
//SAP
17
20
using SAP2000v16 ;
18
21
using SAPConnection ;
19
- using DynamoSAP . Assembly ;
20
- using DynamoSAP . Definitions ;
22
+
21
23
22
24
namespace DynamoSAP . Structure
23
25
{
@@ -79,7 +81,7 @@ public static Shell FromMesh(Mesh Mesh, ShellProp ShellProp)
79
81
Shell tShell ;
80
82
ShellID tShellid = null ;
81
83
//TraceUtils.GetTraceData(TRACE_ID) as ShellID;
82
- Dictionary < string , ISerializable > getObjs = TraceUtils . GetObjectFromTLS ( ) ;
84
+ Dictionary < string , ISerializable > getObjs = ProtoCore . Lang . TraceUtils . GetObjectFromTLS ( ) ;
83
85
foreach ( var k in getObjs . Keys )
84
86
{
85
87
tShellid = getObjs [ k ] as ShellID ;
@@ -104,7 +106,7 @@ public static Shell FromMesh(Mesh Mesh, ShellProp ShellProp)
104
106
//TraceUtils.SetTraceData(TRACE_ID, new ShellID { IntID = tShell.ID });
105
107
Dictionary < string , ISerializable > objs = new Dictionary < string , ISerializable > ( ) ;
106
108
objs . Add ( TRACE_ID , new ShellID { IntID = tShell . ID } ) ;
107
- TraceUtils . SetObjectToTLS ( objs ) ;
109
+ ProtoCore . Lang . TraceUtils . SetObjectToTLS ( objs ) ;
108
110
109
111
return tShell ;
110
112
}
@@ -123,7 +125,7 @@ public static Shell FromSurface(Surface Surface, ShellProp ShellProp)
123
125
ShellID tShellid = null ;
124
126
//TraceUtils.GetTraceData(TRACE_ID) as ShellID;
125
127
126
- Dictionary < string , ISerializable > getObjs = TraceUtils . GetObjectFromTLS ( ) ;
128
+ Dictionary < string , ISerializable > getObjs = ProtoCore . Lang . TraceUtils . GetObjectFromTLS ( ) ;
127
129
foreach ( var k in getObjs . Keys )
128
130
{
129
131
tShellid = getObjs [ k ] as ShellID ;
@@ -148,7 +150,7 @@ public static Shell FromSurface(Surface Surface, ShellProp ShellProp)
148
150
//TraceUtils.SetTraceData(TRACE_ID, new ShellID { IntID = tShell.ID });
149
151
Dictionary < string , ISerializable > objs = new Dictionary < string , ISerializable > ( ) ;
150
152
objs . Add ( TRACE_ID , new ShellID { IntID = tShell . ID } ) ;
151
- TraceUtils . SetObjectToTLS ( objs ) ;
153
+ ProtoCore . Lang . TraceUtils . SetObjectToTLS ( objs ) ;
152
154
153
155
return tShell ;
154
156
}
0 commit comments