Open 3DReid opened 1 year ago
Hello 3DReid, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, we need some more information in order for the Dynamo team to investigate any further.
Can you please fill in the following to the best of your ability:
Additional information:
Given that there has been no additional information added, this issue will be closed for now. Please reopen and provide additional information if you wish the Dynamo team to investigate further.
This looks like a Revit issue
This may actually be caused by Clockwork. Try upgrading Clockwork to 2.6.0 and see if the issue persists.
Issue Description
Still trying to get 2D elements inviews
What did you do?
Trying to get category type from elements in view
What did you expect to see?
A list of category types (model and annotation)
What did you see instead?
All model (even the ones that aren't) then crash
What packages or external references (if any) were used?
GeniusLoci v.2021.6.16 Clockwork v.2.3.0 Rhythm v.2021.6.1 archilab v.2021.25.2621 spring nodes v.204.1.0 Data-Shapes v.2021.2.91
Stack Trace
Object reference not set to an instance of an object.
at Autodesk.Revit.DB.Category.get_Id() at Revit.Elements.Category.get_Id() at Revit.Elements.Category.GetHashCode() at System.Collections.Generic.Dictionary
2.Remove(TKey key) at ProtoFFI.CLRObjectMarshaler.OnDispose(StackValue dsObject, Context context, Interpreter dsi) at ProtoFFI.DisposeFunctionPointer.Execute(Context c, Interpreter dsi, List
1 s) at ProtoCore.Lang.FFIFunctionEndPoint.Execute(Context c, List1 formalParameters, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.CallSite.ExecWithZeroRI(List
1 functionEndPoint, Context c, List1 formalParameters, StackFrame stackFrame, RuntimeCore runtimeCore, SingleRunTraceData previousTraceData, SingleRunTraceData newTraceData, FunctionEndPoint finalFep) at ProtoCore.CallSite.Execute(List
1 functionEndPoint, Context c, List1 formalParameters, List
1 replicationInstructions, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.CallSite.DispatchNew(Context context, List1 arguments, List
1 partialReplicationGuides, DominantListStructure domintListStructure, StackFrame stackFrame, RuntimeCore runtimeCore) at ProtoCore.DSASM.Executive.Callr(Int32 blockDeclId, Int32 functionIndex, Int32 classIndex, Boolean& explicitCall, Boolean isDynamicCall, Boolean hasDebugInfo) 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(IEnumerable1 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()OS:
Microsoft Windows NT 10.0.19045.0
CLR:4.0.30319.42000
Dynamo:2.6.1.8786