Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

[SOLVED] Opening text file into add-on

$
0
0
Author:Akos Somorjai
Posted: Thu May 18, 2017 10:40 am (GMT+1)


jcimentarov wrote:
I have another question and I don't want to open a new thread for it. For debugging purposes I want to log some data. I'm opening the report window from File > Info > Session Report. Is this the right way to open it?

Also I'm using WriteReport_Alert() method, but I only get the popup, without logging the data into the report window of archicad. I am using the demo version of Archicad, so is it possible that ACAPI_WriteReport() doesn't work with the demo version of archicad and doesn't want to write to that file?

Thanks in advance, Julian


Well, depends on where you want to see the log, I would recommend using a simple DBPrintf () call, which writes to the system.log in Console.

ACAPI_WriteReport shouldn't behave differently in the DEMO version, but you can always order a developer license.

Best, Akos


Viewing all articles
Browse latest Browse all 564

Trending Articles