www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/02/21/18:18:01

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Date: Mon, 22 Feb 2021 00:16:30 +0100 (CET)
From: Roland Lutz <rlutz AT hedmen DOT org>
To: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: Re: [geda-user] xorn question
In-Reply-To: <63fc218b-d5ce-6cf1-b7a5-60c66b18da12@epilitimus.com>
Message-ID: <alpine.DEB.2.21.2102220016220.13169@nimbus>
References: <63fc218b-d5ce-6cf1-b7a5-60c66b18da12 AT epilitimus DOT com>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
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

On Sun, 21 Feb 2021, Glenn (glimrick AT epilitimus DOT com) [via 
geda-user AT delorie DOT com] wrote:
> Is the name (either basename, filename, or path (I only need the
> basename)) of loaded symbols available from the xorn object found at
> gaf.blueprint.Component.ob?

It should be ...ob.data().symbol.basename (but I haven't checked).

"ob" itself is the object handle.  "ob.data()" is the 
xorn.storage.Component record which contains the component's coordinates, 
flags, and symbol reference.  "ob.data().symbol" is the gaf.ref.Symbol 
instance which contains the basename and (if symbols were loaded, which is 
the case for netlisting) the actual symbol contents.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019