kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09774
Re: Issue with 'multiplicating' subpart id
On Mon, Mar 25, 2013 at 10:02:54AM +0100, jp charras wrote:
> Perhaps 2 methods are needed:
> SCH_FIELD::GetText,
> and
> SCH_FIELD::GetTextBase (when editing reference, without part unit letter),
> or something like.
Whoops sent too early...
I was saying... why don't we use the SCH_COMPONENT::GetRef (if
I understood the code it even walks paths for complex hierarchies)
instead of getting through GetField(REFERENCE).GetText() when we want to
use the 'full' reference?
It would remove the special case from GetText (since in fact the
subpart id is not part of the reference but of the component).
--
Lorenzo Marcantonio
Logos Srl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Follow ups
References