Issue Description
Please fill in the following information to help us reproduce the issue:
Dynamo version
Dynamo: 2.18.1.5096
Operating system
OS: Microsoft Windows NT 10.0.22631.0
What did you do?
Whole .dyn file contains one Python Script node with code:
import sys
import clr
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *
# Загрузить DocumentManager и TransactionManager
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
parameter_bindings = doc.ParameterBindings
params_name_guid = {
'ADSK_Единица измерения': '4289cb19-9517-45de-9c02-5a74ebf5c86d',
'ADSK_Завод изготовитель': 'a8cdbf7b-d60a-485e-a520-447d2055f351',
'ADSK_Код изделия': '2fd9e8cb-84f3-4297-b8b8-75f444e124ed',
'ADSK_Количество': '8d057bb3-6ccd-4655-9165-55526691fe3a',
'ADSK_Марка': '2204049c-d557-4dfc-8d70-13f19715e46d',
'ADSK_Масса': '32989501-0d17-4916-8777-da950841c6d7',
'ADSK_Наименование': 'e6e0f5cd-3e26-485b-9342-23882b20eb43',
'ADSK_Позиция': 'ae8ff999-1f22-4ed7-ad33-61503d85f0f4'
}
cats_names_list = [
'Арматура воздуховодов',
'Арматура трубопроводов',
'Воздуховоды',
'Воздуховоды по осевой',
'Воздухораспределители',
'Гибкие воздуховоды',
'Гибкие трубы',
'Материалы изоляции воздуховодов',
'Материалы изоляции труб',
'Мебель',
'Оборудование',
'Сантехнические приборы',
'Сантехническое оборудование',
'Соединительные детали воздуховодов',
'Соединительные детали трубопроводов',
'Трубопровод по осевой',
'Трубы'
]
binding_map = [x.Categories for x in parameter_bindings]
OUT = binding_map
What did you expect to see?
The result was expected, it should be list of lists as i consider.
What did you see instead?
UnhandledException
What packages or external references (if any) were used?
installed packages (not being used btw)
bimorphNodes v5.1.3
Clockwork for Dynamo 2.x v2.6.0
DynamoPlayerExtension v1.0.0.0
GenerativeDesign v6.0.2.0
GenerativeDesign.Extension v6.0.2.0
GenerativeDesign.Revit v6.0.2.0
Stack Trace
Unable to locate managed object for given dsObject.
at ProtoFFI.CLRObjectMarshaler.CreateCLRObject(StackValue dsObject, Type type)
at ProtoFFI.CLRObjectMarshaler.UnMarshal(StackValue dsObject, Context context, Interpreter dsi, Type expectedCLRType)
at ProtoFFI.DisposeFunctionPointer.Execute(Context c, Interpreter dsi, List`1 s)
at ProtoCore.Lang.FFIFunctionEndPoint.Execute(Context c, List`1 formalParameters, StackFrame stackFrame, RuntimeCore runtimeCore)
at ProtoCore.CallSite.DispatchDispose(StackValue stackValue, RuntimeCore runtimeCore)
at ProtoCore.DSASM.Executive.CallDispose(ProcedureNode fNode, StackValue svThisPtr, Int32 classIndex)
at ProtoCore.DSASM.Heap.GCDisposeObject(StackValue svPtr, Executive exe)
at ProtoCore.DSASM.Heap.Sweep()
at ProtoCore.DSASM.Heap.SingleStep(Boolean forceGC)
at ProtoCore.DSASM.Heap.FullGC(IEnumerable`1 gcroots, Executive exe)
at ProtoScript.Runners.LiveRunner.ApplyUpdate()
at ProtoScript.Runners.LiveRunner.CompileAndExecuteForDeltaExecution(List`1 astList)
at ProtoScript.Runners.LiveRunner.SynchronizeInternal(GraphSyncData syncData)
at ProtoScript.Runners.LiveRunner.UpdateGraph(GraphSyncData syncData)
at Dynamo.Scheduler.UpdateGraphAsyncTask.HandleTaskExecutionCore()
at Dynamo.Scheduler.AsyncTask.Execute()
CLR: 4.0.30319.42000
edited: sry for edits, my first time posting smth on github
Issue Description
Please fill in the following information to help us reproduce the issue:
Dynamo version
Dynamo:
2.18.1.5096Operating system
OS:
Microsoft Windows NT 10.0.22631.0What did you do?
Whole .dyn file contains one Python Script node with code:
What did you expect to see?
The result was expected, it should be list of lists as i consider.
What did you see instead?
UnhandledException
What packages or external references (if any) were used?
installed packages (not being used btw)
bimorphNodes v5.1.3
Clockwork for Dynamo 2.x v2.6.0
DynamoPlayerExtension v1.0.0.0
GenerativeDesign v6.0.2.0
GenerativeDesign.Extension v6.0.2.0
GenerativeDesign.Revit v6.0.2.0
Stack Trace
CLR:
4.0.30319.42000edited: sry for edits, my first time posting smth on github