PCB Libraries Forum Homepage
Forum Home Forum Home > Libraries > Footprints / Land Patterns > Altium
  New Posts New Posts RSS Feed - Designator text generated even if don't want it
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Designator text generated even if don't want it

 Post Reply Post Reply
Author
Message
zentekfr View Drop Down
Advanced User
Advanced User


Joined: 04 Jan 2022
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote zentekfr Quote  Post ReplyReply Direct Link To This Post Topic: Designator text generated even if don't want it
    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
Back to Top
Back to Top
Tom H View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Jan 2012
Location: San Diego, CA
Status: Offline
Points: 5716
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post 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! X - LinkedIn
Back to Top
zentekfr View Drop Down
Advanced User
Advanced User


Joined: 04 Jan 2022
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote zentekfr Quote  Post ReplyReply Direct Link To This Post Posted: 19 Jan 2022 at 9:23am
Well yes, this workaround would surely work.
Thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.