Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
That moment when you hit run and you realize that something is missing in the script, and you will have to wait an hour until the process finished or end Revit with Task Manager and lose work.
It is really necessary. At this moment I´m using a simple script only when I testing it. Let me share and show the results.
Cause of we have not a pause button we can use a python node importing time function and then using a Boolean node( true and false), for choose the moment for pause and split the process.
As you can check, it is not working when you are using dynamo player, but until that innovation arrive, we shall be creative.
Please do this! I really don't understand why so many things in Revit (and now Dynamo) seem to take so long or never get a cancel button. I mean we just now got a formal cancel button a release or two back for upgrading Revit models. To me this is UI/functionality 101 for software design...cancel a command.
I tried your python script but it doesn't work, maybe I typed something incorrect.
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed. Traceback (most recent call last): File "<string>", line 13, in <module> TypeError: list is not callable
import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * # The inputs to this node will be stored as a list in the IN variables. A = IN[0] B = IN[1] # Assign your output to the OUT variable. import time if B == False: OUT = "PROCESS IS IN PAUSE, PRESS TRUE TO GO" else: time.sleep(1) OUT = IN(0)
import clr clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import * # The inputs to this node will be stored as a list in the IN variables. A = IN[0] B = IN[1] # Assign your output to the OUT variable. import time if B == False: OUT = "PROCESS IS IN PAUSE, PRESS TRUE TO GO" if B == True: time.sleep(2) OUT = A
That moment ... when you forgot for quite long time, to press save in dynamo/Revit.
You are testing script in dynamo and you forgot about proper lacing in one node in result program will need to "digest" around more than 15 milion "entries" not just originally several hundreds. ;(
Please add stop/cancel button.
uff in my case it was only from around 5-60 sec to 60 minutes. So mistake was "finiteness", this time.