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 To: "Glenn (glimrick AT epilitimus DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] xorn question In-Reply-To: <63fc218b-d5ce-6cf1-b7a5-60c66b18da12@epilitimus.com> Message-ID: References: <63fc218b-d5ce-6cf1-b7a5-60c66b18da12 AT epilitimus DOT com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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 Precedence: bulk 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.