I am trying to install the ‘rdflib’ into the Dynamo Revit through the default python script node. But, I can see an error message “invalid token - install”. This is the path I used “$ pip install git+https://github.com/RDFLib/rdflib.git@master#egg=rdflib”.
I would like to know if there are any pre-requisites that need to be installed before loading the rdflib, to stop this error.
Hi, I have installed the newer Revit version 2022, which has dynamo 2.10. I tried to check my scripts before proceeding to the next step of importing rdflib. But, I am getting a few errors (which is out of the python box).
Here is the error:
I was using the “clockwork’s element. materials+” custom node to retrieve material takeoff details in my older versions of Revit and dynamo, but when I run with dynamo 2.10, the node gives me null results.
You need to wire the element which you want to get the material areas from into the ‘turn into a list’ node. That will remove the warning surfaced now, but likely will expose another.
Unfortunately, the dynamo is crashing if I click the “edit custom node option”. Are there any other possible ways to retrieve the material area and volume of selected elements?
Yes. It’s working now. But, the problem as you mentioned is with the unit type conversion. If I run the python script, the answer I get is in ft/inches, but the project unit is set to metric.
However, the final result after passing through the “InternalUnit.ToDisplayUnit” node is null.
And so now you have the Python node to get the data you need but in the wrong units…. If you had to convert between feet and meters in an email you’d do some math, why not do the same here?