← Back to team overview

kicad-developers team mailing list archive

Re: Issue with 'multiplicating' subpart id

 

On Mon, Mar 25, 2013 at 10:02:54AM +0100, jp charras wrote:
> The culprit is the virtual method SCH_FIELD::GetText() which always
> adds the part unit to the reference.
> Sometimes we need this behavior ( to print/draw reference),
> sometimes we need the basic reference (without part unit letter),
> when editing the component reference.
> Perhaps  2 methods are needed:
> SCH_FIELD::GetText,
> and
> SCH_FIELD::GetTextBase (when editing reference, without part unit letter),
> or something like.

Uhmm I was tracing it back thru SCH_COMPONENT GetRef... 

Seems an intricate trouble; why did this mess pop up?

-- 
Lorenzo Marcantonio
Logos Srl

Attachment: smime.p7s
Description: S/MIME cryptographic signature


References