The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about any other product with no dedicated forum - MEP Modeler, ARCHICAD Goodies, 3rd-party Add-Ons, operating systems, products of other vendors, etc. (Example: Which Add-On is the best for creating special Stairs?)

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, gkmethy

By laz89
#270922
Hi,

I know that cadimage keynotes has some default keynotes which can be imported from the extras file in archicad 20. How do you actually create a .keynotes file type? and what do you use to open it with?

Or is it best to just manipulate the one created by archicad?
User avatar
By Ralph Wessel
#271139
laz89 wrote:Hi,
I know that cadimage keynotes has some default keynotes which can be imported from the extras file in archicad 20. How do you actually create a .keynotes file type? and what do you use to open it with?
Or is it best to just manipulate the one created by archicad?

The method for creating a .keynotes file depends on what you you want it for. If you're just setting up a new list of keynotes, it's best to simply create them with Keynotes (in ARCHICAD). You can then export that as a .keynotes file.

If you have an existing list of keynotes in some other format, you can import them into Keynotes as .txt or .csv (tab or comma-delimited data) and then re-export as .keynotes.

Otherwise, if you want to create a .keynotes file from a database or similar source, the content is simply an XML file that can be created/edited with any text editor. The basic structure (listing 2 keynotes) looks like this:
Code: Select all<?xml version="1.0" encoding="UTF-8" ?>
<keynotesAttributes>
   <keynoteDatabase>
      <records>
         <keynote key="40DCB7BA-400F-42FC-AA8D-560C55047EBD" edit="2015-06-10T20:22:45+12:00">
            <name>2</name>
            <title>Site</title>
         </keynote>
         <keynote key="2F5E1ACD-F3C0-4F88-B06B-6E4B43D1AECC" edit="2015-06-10T20:22:45+12:00">
            <name>2.04</name>
            <parent>40DCB7BA-400F-42FC-AA8D-560C55047EBD</parent>
            <title>The keynote title goes here</title>
            <description>The longer keynote description goes here</description>
            <reference>1234</reference>
         </keynote>
      </records>
   </keynoteDatabase>
</keynotesAttributes>


Every keynote is contained within the following tags:
Code: Select all         <keynote key="2F5E1ACD-F3C0-4F88-B06B-6E4B43D1AECC" edit="2015-06-10T20:22:45+12:00">
         </keynote>

The key is a guid (a unique ID) and edit is the last date/time the keynote was edited. The other tags within the keynote are:
    - name: The ID or clause number
    - parent: The guid of the parent keynote (for keynotes arranged in a hierarchy)
    - title: The short title of the keynote
    - description: A longer description for the clause (optional)
    - reference: A spec reference (optional - only used by some databases)