1

Trying to hide all my part designator from the silkscreen. Is there a faster way to hide all without individually double clicking on each part?

Also is there a way to globally set the font and size of the designator. My designs are very small PCB sized so its crucial I shrink them from the default size.

ps. Off Grind-pin warning is that something I should be concerned about ?

10 Rep
  • 2,217
  • 7
  • 19
  • 33
Nikola
  • 21
  • 1
  • 5

2 Answers2

5

There is a faster way.

  1. Right click on any component designator
  2. click "Find similar"
  3. Choose "any" in all categories except the "Kind" category (choose "same" here)
  4. "PCB Inspector" should open on the right. If not see here.
  5. Find the "HIDE" check box and select it.

All designators should disappear.

ursusd8
  • 227
  • 2
  • 7
0

I would argue that this approach is inefficient. It is better to include this in a script, and add the script to your menu.

The following function should work.

Function HidePCBDesignators(Board : IPCB_Board) : Boolean;
Var
    PCBIterator                     : IPCB_BoardIterator;
    PCBComponent                    : IPCB_Component;

Begin

  PCBIterator := Board.BoardIterator_Create;
  PCBIterator.AddFilter_ObjectSet(MkSet(eComponentObject));
  PCBIterator.AddFilter_IPCB_LayerSet(LayerSet.AllLayers);
  PCBIterator.AddFilter_Method(eProcessAll);

  PCBComponent := PCBIterator.FirstPCBObject;

  While (PCBComponent <> Nil) Do
  Begin
      PCBServer.SendMessageToRobots( PCBComponent.I_ObjectAddress, c_Broadcast, 
      PCBM_BeginModify , c_NoEventData); // Alert undo system to a change

      PCBComponent.NameOn := FALSE; // Hide the PCB designator

      PCBServer.SendMessageToRobots( 
      PCBComponent.I_ObjectAddress,c_Broadcast,PCBM_EndModify ,c_NoEventData);

      PCBComponent := PCBIterator.NextPCBObject;
   End;

   Board.BoardIterator_Destroy(PCBIterator);

 End;

This link will explain how to add any script as a button on the menu:

https://techdocs.altium.com/display/SCRT/Running+Scripts+in+Altium+Designer

Another method is the global method, by using the DXP Preferences -> PCB Editor -> Defaults -> Component and activate the checkbox under Designator -> Hide.

kacie_23
  • 116
  • 1
  • 7