delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Mailer: | exmh version 2.8.0 04/21/2012 (debian 1:2.8.0~rc1-2) with nmh-1.5 |
X-Exmh-Isig-CompType: | repl |
X-Exmh-Isig-Folder: | inbox |
From: | karl AT aspodata DOT se |
To: | geda-user AT delorie DOT com |
Subject: | [geda-user] Howto make a script in gaf (Was should we broaden scope of libgeda) |
In-reply-to: | <CAMvDHVAoAnt3g6JBvgbnrR53LG6KpzWKBTmQgo1j+7ERvbESpg@mail.gmail.com> |
References: | <20160102091556 DOT BBC6D809D79B AT turkos DOT aspodata DOT se> <CAMvDHVAoAnt3g6JBvgbnrR53LG6KpzWKBTmQgo1j+7ERvbESpg AT mail DOT gmail DOT com> |
Comments: | In-reply-to "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
message dated "Sun, 03 Jan 2016 17:15:29 +0300." | |
Mime-Version: | 1.0 |
Message-Id: | <20160103192006.1FBFE809D79B@turkos.aspodata.se> |
Date: | Sun, 3 Jan 2016 20:20:05 +0100 (CET) |
X-Virus-Scanned: | ClamAV using ClamSMTP |
Reply-To: | geda-user AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | geda-user AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
Vladimir: > In order to use the component? function, you have to plug in the module it > is in: (use-modules (geda object)) ... Oh, I see. $ gaf shell gEDA 1.9.0 (g01f8d13) ... guile> (use-modules (geda object)) guile> (expand-env-variables "${HOME}") "/home/karl" guile> (platform? 'windows) #f guile> (platform? 'linux) (linux) guile> (user-data-dir) "/home/karl/.gEDA" guile> (component? 2) #f guile> (use-modules (geda page)) guile> (make-page "/home/karl/tmp/gnetlist_test/test.sch") #<geda-page 0x8fd6f48> guile> But how do I rean in an existing file so I can scan it for components ? Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |