Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

FREE for Download - The FreeKeyNote Label Project

NandoMogollon
Expert
Is there any some Merciful GDL Guru with enough time to help me ( and maybe others) to clarify this problem? :

1- The problem:
I am trying to make a custom Label capable of read the information saved on a txt file. It works fine the first time it reads the information, but if you change the content of the text on the txt file, the label doesn't change and in fact it changes the content to the first record on the database (txt file)
2- the question:
Is it a normal behavior? Can I avoid this problem somehow?

I can upload the library part and the txt file if necessary

Please give me some tips

Best Regards

Nando M
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
40 REPLIES 40
NandoMogollon
Expert
The main issue for me right now is the real difference between reading the txt files with both filters text and data:
 ch1=open("text", ****.txt, paramstring)
Vs
ch1=open("data", ****.txt, paramstring)
A secondary issue would be the fact that when using any of those filters, I can not get to read Records on the txt file containing only numbers (i.e. 0.2536, or 125, or 45.236). to be able to read these records I have to add * or a space or a letter, then the script is able to read the records on the txt file.

I'm not an expert in GDL, but I'm trying to learn more, and the available documentation is not very extensive.
There are good websites in german, and some in english, half of them dead, and in consequence out of date.
So here I am asking annoying questions on the forum.

It is great that you and/or the other GDL Gurus can keep giving your priceless comments.

Regards

Nando M
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
Anonymous
Not applicable
I don't have time to delve to deeply into your object, but I can offer the attached label object I have written, which reads a text file and sounds like may help you parsing numbers out of the text data. All of our keynote data is stored as text strings however, but numerical strings should be convertible to real numbers using the SPLIT() function. If you look in the parameter script you will find the code that reads the text file.

The attached object is pretty old, and has some bugs of its own. It was written before GDL had richtext functions and so has a lot of extra code to replicate some richtext behaviors. It doesn't function exactly like your object but you can borrow what you need from it if it will help.
NandoMogollon
Expert
Thank you very much Tim
I'm working with the "MasterFormat" txt list too, so I think it would be very useful.

Regards

Nando M
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
Michael
Contributor
Tim wrote:
.......the attached label object I have written, which reads a text file and sounds like may help you parsing numbers out of the text data. All of our keynote data is stored as text strings however, but numerical strings should be convertible to real numbers using the SPLIT() function. If you look in the parameter script you will find the code that reads the text file..........

Please see attached screenshot
Question: do any additional instructions exist for its (the label's) use (online or otherwise) ?

...thanks Michael |:-)
Fullscreen.jpg
Michael |:-)
AC 4.5 - 19 Build 3003 Full USA
Mac OSX 10.10
Anonymous
Not applicable
I really haven't written more help files for the label, and haven't extensively tested this object outside of our office's usage pattern. If you examine the text data file you will get an idea of how we organize the notes, and I haven't extensively tested what happens if the line format changes dramatically. I would say that the search functions built into the label data depend on the formatting we provide, but could be modified for a different format of note.

I would note that our label object is far from ideal and we are waiting like everyone else is for a great keynote labeling tool for Archicad.
NandoMogollon
Expert
Hi all

I'm getting back to this little project once again....

This time: I'll give up the user graphic interface.... for some strange reason it doesn't work with variable/changing parameters..... So No UI this time.

wish me good luck..

regards
Nando Mogollon
Director @ BuilDigital
nando@buildigital.com.au
Using, Archicad Latest AU and INT. Revit Latest (have to keep comparing notes)
More and more... IFC.js, IFCOpenShell
All things Solibri and BIMCollab
Anonymous
Not applicable
I have followed this topic and have learned from it. When the opportunity came to build a keynote object for a client I returned many times to this topic.

To thank you, I give the contributors of this topic a 50% discount on my new object Total Keynote. Drop me a private message with your e-mail if you are interested.
JaredBanks
Mentor
And here's a review of Master Script's Keynote object on my blog:

http://www.shoegnome.com/2012/03/11/flexible-fast-and-functional-a-review-of-master-scripts-total-ke...
Jared Banks, AIA
Shoegnome Architects

Archicad Blog: www.shoegnome.com
Archicad Template: www.shoegnome.com/template/
Archicad Work Environment: www.shoegnome.com/work-environment/
Archicad Tutorial Videos: www.youtube.com/shoegnome
Karl Ottenstein
Moderator
Nando's keynote concept in this thread - text file driven - and the polished graphics and listing that Master Script has produced are clever and attractive.

The thing that I have heard many people wanting still seems impossible though - the ability to place a list of keynotes on each layout sheet which ONLY contains the keynotes used on that same sheet. (I suspect that Graphisoft would have to implement that kind of feature, as I do not believe that even the API gives 3rd parties what they need to dig into the views for each placed drawing on a sheet...?)

It seems too limiting that Total Keynote cannot detect keynotes placed in Detail views or 3D Documents. The idea that someone would change all of their carefully built, existing (linked) details to worksheets is not reasonable, nor that 3D Document content would be pasted into Worksheets - and hence unlinked from the model. (The Detail vs Worksheet thing is especially strange since they are basically the same thing. This is the first case I've ever heard of where something works differently in one vs the other.)

Speaking of linked details ... many people place drawings that are linked to detail views from separate project files containing standard details. As far as I can tell, there would be no way for the keynote objects in those separate-file views to appear in the keynote list in the active project.

For all of the deficiencies of this - and other keynote approaches/products - I really do think that only Graphisoft can deliver a full solution. But, who knows if or when they will do so - they have never acknowledged the importance of keynotes or revisions to every day workflows.

Nonetheless, Master Script's Total Keynote looks like a great value for those firms that display the keynote glossary on its own sheet(s), and which do not need keynotes in their stock details or 3D documents, particularly since one price licenses the entire office.

Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier   •   macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Barry Kelly
Moderator
Karl wrote:
The thing that I have heard many people wanting still seems impossible though - the ability to place a list of keynotes on each layout sheet which ONLY contains the keynotes used on that same sheet. (I suspect that Graphisoft would have to implement that kind of feature, as I do not believe that even the API gives 3rd parties what they need to dig into the views for each placed drawing on a sheet...?)
I believe the Cadimage keynote tool can do this.
I have never used it but saw a demo of it the other day and I am sure this was one of its features.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11