Sunday, July 31, 2022

Unique ID - Show Enabled

To Show the Unique ID

click on image to view


 














Preferences > General > Advanced > System.UI.IPP.ShowUniqueID









Related Link:  AD22.7.1 Variant Fitted / Not-Fitted Parts Bug 

Thank you Dennis !. 

Saturday, July 30, 2022

AD22.7.1 Variant = DNI - Fitted / Not Fitted Bug

 DNI - L202 ?  Not-Fitted on Assy Dwg






















L202 is shown as Fitted in the Schematic DNI Variant





















Current Variant = DNI













Houston, we have a problem. Red = DNI on Assy Dwg
Specifically note L202 and more bogus looking DNIs on the Assy dwg

Looking at the project *.PrjPcb file in Notepad++

I see multiple entries for L202 and several other duplicated designators with different Unique IDs.





Also I see U? & H? however there are no un-annotated components in the design.

Suggested Workaround

Print a PDF version of the existing schematic for reference and sanity checks.

Use a customized BOM to find the correct Unique ID for the Designators.

Or review the Unique ID for each component:

Preferences > General > Advanced > System.UI.IPP.ShowUniqueID

Related Link:   Unique ID - Show Enabled

Close Altium and use a text editor to delete the incorrectly duplicated designators in the *.PrjPcb file. Then open the project in Altium and review the schematics and drawings.


Comments to my Customer 

We will need to work together to get through this DNI bug I found in the Ceres3 project.

Just curious . . .

How did Ceres3 come into being ?  
Cloned A365 or a Copied project file ?

How did this Happen ?

Note the engineer did not intentionally reset any Unique IDs by using a Unique ID Reset button or script.

Engineers will save one or more Schematic.SchDoc files from a project then add the saved Schematic.SchDoc files to a different project.

When a Schematic.SchDoc is added to another project there may be duplicate designators depending on what designators are already in other sheets.

Next the engineer re-annotates the sheets to resolve the duplicate Designators and now the Variant data in the *.PrjPcb file is a Train Wreck.

Also there is a statically rare but not impossible chance that one or more Unique IDs could be duplicated.

You may have a better understanding how this happens after reading these links

Component Links - Part 1
Component Links - Part 2

Observations:
 
Looking at L202 in the *.PrjPcb file
 
Variation46=Designator=L202|UniqueId=\VWGFHICD|Kind=0|AlternatePart= 
 
A fitted component (Kind=0) with NO Alternate Part does not need to be included in the Project Variant data that is stored in the *.PrjPcb file.
 
As shown in Draftsman L202 was shown as Not-Fitted while in Schematic L202 is shown as Fitted.  This leads me to believe that the code base (Algorithm)  used to determine which parts are not fitted is not consistent between the Schematic and Draftsman,
 
It appears to me the Schematic is updated by reading all of the Variations found in the *.PrjPcb file and using the last found Variation for the designator.
 
It appears to me the Draftsman drawing is updated by reading the Variations found in the *.PrjPcb file and using the first found Variation for the designator. 
 
Unique IDs for every component in the design are not included in the *.PrjPcb file, therefore when Draftsman is reading the *.PrjPcb file and updating the drawing it must be assuming the first found Variation for L202 is correct regardless of the Unique ID which did not match the Unique ID of the part in the schematic.
 
In the case of duplicated Designators my findings indicate that the last entry of the same Designator for the Variation in the *.PrjPcb file is correct while the previous entries may or may not be correct.
 
 
Possible Solutions and Suggestions:
 
Draftsman should be updated by reading all of the Designator Variations found in the *.PrjPcb file and using the last found Variation for the designator.
 
Suggestion, remove unused variations from the *.PrjPcb file, for example . . .
Variation46=Designator=L202|UniqueId=\VWGFHICD|Kind=0|AlternatePart=
 
Because a fitted component (Kind=0) with NO Alternate Part does not need to be included in the Project Variant data that is stored in the *.PrjPcb file.

When the user re-annotates the Designators in a Project that would the appropriate time to cleanup the *.PrjPcb file.

End of Story !

Friday, July 29, 2022

Best Fonts to Use in Altium

I hope that someday Altium will give us a Font Wizard that will allow the user to choose Fonts in one place for all of the unified tools in Altium. 

Currently trying to hunt down where all of the font settings are in Altium is mind numbing.

My favorite schematic font is Arial Narrow because I can see the underscore_characters. Where in the Times Roman the _ is obscured.

My thinking is that Arial is a universal font, however 
the down side of using Arial is the confusion between the I (eye) and the l (el).

Consolas 11pt looks nice, that might be my new fav.

Unlike Arial there no confusion between the I (eye) and the l (el).

Also the O and 0 look better in Consolas.

See example fonts below

Arial (Underscore_Visible)
Times Roman (Underscore_Obscured)
Consolas (Underscore_Visible)
Calbri (Underscore_Visible)

Related Link: https://forum.live.altium.com/#/posts/251922/799803

That's it !

Monday, July 25, 2022

Connection lines do not appear when dragging a component

View Configuration > View options > Dimmed Objects












I was playing with the "N" shortcut to "show" and "hide" connections for a particular component. However, one time I must have had the component selected and was moving it when I typed the "N". After that, I could no longer see any connection lines when moving any component. Apparently, if you type "N" while moving a component it changes a mode called the "Net Line Connect Mode" from "Pad to Pad" to "Hidden". The way I finally spotted this was by looking at the "Heads Up Display" as I was moving a component and saw that this mode had been changed to "Hidden".

Tip 1: Try Tapping the N key to Toggle the connection lines while moving a component.


Thank you Thomas

Tip 2: Tap the [ key to Decrease Mask Level.  Tap the ] key Decrease Mask Level.

Source: Randy Clemmons.

That's it !