Date Time Crumple package

@GavinCrump Hello Gavin, Iam trying to create sun views using Crumple, It gives me “null” values on “Analysis Period” node! Any ideas? note that my Revit version is 2025
I installed Iron Python 2.7
my Dynamo version 3.12
also I have to tell that I can find “Analysis Period” and “Sun Direction” nodes on ( Crumple - Iron Python - DateTime - AnalysisPeriod + Sun Direction ) unlike your tutorial on Youtube where you picked them up from (Crumple - Data - DateTime - AnalysisPeriod + SunDirection)

As that python icon tries to infer, these nodes need IronPython2.7 installed which generally bugs out unless it’s the subversion 2.5.

I’m using some features here which don’t get offered in CPython3 currently, specifically the ability to convert datetime kinds in Python.

1 Like

How does IronPython 3 work?

Haven’t tried it yet, I’ve generally had issues getting IP3 to work in Dynamo. Current attempt errors out for me with import clr, but I don’t know that much about IP3 setup so not likely to dive into it for now:

I’m hoping to get back to Crumple early next year before I stop subbing to Revit annually and IP2 > IP3 testing will be part of this. Currently I’ve left IP2 dependency there, but if I can get all IP2 nodes working in IP3 I’ll make the leap given it’ll be 1 dependency > 1 dependency. If I have to support both it will remain IP2, as I’m already inundated with ‘my nodes give me null’ ‘issues’ as it is constantly (despite migrating as much a I could to CP3).

Not to mention that the average user just hammers the install button and doesn’t read the subversion gotcha as well. I need to make an AI bot version of myself that jumps in and goes through the typical troubleshoot… the other take is I just remove all IronPython nodes from Crumple I guess (relegated to the bin) - tempting…

It’s the datetime kind/specify method that appear unavailable in CP3:

IP2 vs CP3:

Hi @GavinCrump not sure but it seems it can run in cpython3 as well :wink: nice node btw :wink:

GAVINS TIME NODE CP3.dyn (12.0 KB)

1 Like

Thanks! I encountered this issue more broadly in the context of the direction from sun node vs datetime construction, as Revit time of day has to work in a specified datetime kind object. Will see what I can do, but this node lives on at least…

It’s heavily inspired by analysis period from Ladybug tools.

1 Like

sounds good :wink:

1 Like