Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Other Products >>> Creating .keynotes file
View previous topic :: View next topic
Author Message
laz89
Junior member
Junior member

Joined: 05 Jan 2016
Posts: 146
Location: New Zealand

PostPosted: Tue Aug 22, 2017 10:30 pm    Post subject: Creating .keynotes file Reply with quote

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?

_________________
Archicad 20 Mac.
Back to top
View user's profile Send private message    
Ralph Wessel
Senior member
Senior member

Joined: 06 Nov 2003
Posts: 1487
Location: United Kingdom

PostPosted: Tue Aug 29, 2017 1:48 pm    Post subject: Re: Creating .keynotes file Reply with quote

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:
<?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:
         <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)

_________________
Ralph Wessel
Cadimage
Back to top
View user's profile Send private message Visit poster's website    
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Other Products >>> Creating .keynotes file All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2001, 2005 phpBB Group
Copyright 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy