Print Page | Close Window

Designator text generated even if don't want it

Printed From: PCB Libraries Forum
Category: Libraries
Forum Name: Altium
Forum Description:
URL: https://www.PCBLibraries.com/forum/forum_posts.asp?TID=3035
Printed Date: 22 Nov 2024 at 4:32am


Topic: Designator text generated even if don't want it
Posted By: zentekfr
Subject: Designator text generated even if don't want it
Date Posted: 19 Jan 2022 at 9:15am
[Footprint Expert Enterprise 2021.21]

Drafting options:
Silkscreen Outlines and Text > All density levels > Add Ref. Des. to Footprint: unchecked
Assembly Outlines and Text > Add Ref. Des. to Footprint: unchecked

When I generate the footprint, the Designator on the Silkscreen layer is not present (expected), but it is present on the Assembly layer (Stroke width: 0mm, Text height: 1.2mm - corresponding to the Nominal density whereas I'm generating the Least one).
Note that in Altium Designer, a text with a 0mm width is visible.

Here is an extract of the generated script:
// Create text object for .Designator
TextObj := PCBServer.PCBObjectFactory(eTextObject, eNoDimension, eCreate_Default);
TextObj.UseTTFonts := True;
TextObj.Layer := ILayer.MechanicalLayer(25);
TextObj.Text := '.Designator';
TextObj.Size := MMsToCoord(1.2);
TextObj.Width := MMsToCoord(0);
TextObj.UseTTFonts := False;
NewPCBLibComp.AddPCBObject(TextObj);
PCBServer.SendMessageToRobots(NewPCBLibComp.I_ObjectAddress,c_Broadcast,PCBM_BoardRegisteration,TextObj.I_ObjectAddress)

Is this a bug?
Justin



Replies:
Posted By: Tom H
Date Posted: 19 Jan 2022 at 9:18am
Remove the Mechanical Layer assignment in the CAD tool interface menu. 

The Ref Des will not be processed. 



-------------
Stay connected - follow us! https://twitter.com/PCBLibraries" rel="nofollow - X - http://www.linkedin.com/company/pcb-libraries-inc-/" rel="nofollow - LinkedIn


Posted By: zentekfr
Date Posted: 19 Jan 2022 at 9:23am
Well yes, this workaround would surely work.
Thanks



Print Page | Close Window