if I change it to python 2 it looks in the complete wrong place in R drive even though its hard coded to a folder in C.
How does this script actually open or background open .dyn files. Cause windows dosnt have a default .dyn program
if I change it to python 2 it looks in the complete wrong place in R drive even though its hard coded to a folder in C.
How does this script actually open or background open .dyn files. Cause windows dosnt have a default .dyn program
The key is that .dyn files are just .txt files with a different extension. You can open them in any text editor and make any changes that way if you’re feeling ambitious. This is effectively what this Python is doing, be it in CPython or IronPython.
So this indicates that something not standard is at play here.
Can you answer a few questions to clarify what is happening?
C:\Users\*yourUserName*\Documents\test\
and place a pair of .dyn files (literally any two files will do - but only put in two)?I tried to change the .dyn to open as text files but that didnt help
dynamo makes me feel like an idiot genius. I think I’m close… but how to see whats not in use in all those…
Pretty much, but string comparison is always difficult. I’d go with the NodeLibraryDependpancies key of each file, which can be pulled like this:
Basically, instead of looking at the full string for all the values, this allows reading the data as it was stored in the JSON string which makes up the .dyn file (json is a means of formatting lists and dictionaries of data of almost any type in a string format). By pulling the dictionary values which are utilized we can get the data that way. This is what I was doing in the Python node; this node version will be slower, but if it works for you then all the better as it’d be a rather infrequent run.
I learnt a lot through this endeavor today. Thank you