Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi,
I understand that the Python Node cannot access the objects in the document. So the doc.SearchObject in the Python node has no effect. Correct me if I'm wrong.
doc.SearchObject
But is it possible, to have a print function that prints to console for the Python Node? Currently, I have to use several output ports and several result nodes to debug the program instead of just a handful of print lines.
Is there a way around this?
Thank you for looking at my problem.
Thanks @jed for the answer.
Basically, the doc.SearchObject() and print command works. I just need to remove the unused Output nodes, which is the Output1 for the newly created Python node.
doc.SearchObject()
print
Hello,
short addition: It is possible to "read" document properties from a Python Node. But one should not edit the document directly from a Python Node.
best wishes, Sebastian
Gotcha. Thanks for the reminder!