Sunday, September 26, 2021

Un-Linking a Project from A365

How to Un-Manage a Managed Project? - Altium Discussion Forums

Thank you Ted !

For a schematic document:

1. Create a new blank schematic library and blank PCB library (File»New»Library»Schematic Library/PCB Library).
2. Open an existing schematic in your project and create a new schematic library from the placed parts. (Design»Make Schematic Library).
3. In the temporary library just created in the previous step, open the library panel and copy all symbols into your library created in step 2(This will remove the vault link). http://techdocs.altium.com/display/ADOH/Creating+Library+Components+Tutorial#CreatingLibraryComponentsTutorial-CopyingComponentsfromOtherLibraries
4. Save the Schematic Library.
5. In the PCB document, create a new PCB Library. (Design»Make PCB Library)
6. Copy the footprint from the temporary project library(using the PCB library panel) into your library.
7. Save your PCB library.
8. In one of your schematic documents, open the SCH List.
9. Set filter to Edit, All Objects, from Open Documents of the Same Project, and to include only Parts.
10. Select all Part entries, and change the Library column to the name of your newly saved Schematic library.
11. Execute Tools -> Update From Libraries.
12. Set proper settings in the configuration window, then click Finish.
13. Execute ECO.

For a PCB document:
The following requires the attached script to be used.
1. Unzip the attached file
2. Open the script Project (*.PrjScr) file in Altium Designer
3. Open the PCB (*.PcbDoc) that needs to be updated
4. Select the components that need to be updated, or Ctrl + A for all
5. From the menu, select: DXP » Run Script...
6. Select the replace_library_paths_ckbox script, click OK
7. In the script dialog, check boxes for the fields to overwrite
8. Type in the text to place in those fields. The PCB Library field should be set to the name of the new PCB Library (*.PcbLib) file
9. Click the button: Update Comps
10. Close the dialog. The path and information have now been updated

This will unlink the components in both schematic and PCB documents from the above procedure.

My 2 Cents

All the above reminds me that it might be a good idea to have an Escape Plan.

That's it !

Wednesday, September 22, 2021

Altium > Solidworks Issues

I have found a workaround, but it is a bit inconvenient:

Open just the STEP-file from a board in Solidworks and save it using Pack and Go where one can add an extra suffix. 

But this is a somewhat time-consuming extra step that should not be necessary.
Then bring that step model into the Solidworks project.


Thank you per !


Another workaround would be to date/time stamp the board using special strings.

Example of using a Current date stamp

=PCB_PN+' '+CurrentDate


Example of using a Current date / time stamp

=PCB_PN+' '+CurrentDate +' '+CurrentTime

That's it !

Thursday, September 2, 2021

Big Dump Crash Reports for Altium (X2.exe)

Windows Registry Editor Version 5.00

;Big Crash Dumps for Altium X2.exe

;references:


;When the X2.exe application crashes, go to %LOCALAPPDATA%\CrashDumps

;Zip (Compress) and upload to a Cloud Drive
;Send a file share link to samples@altium.com 

;Using a text editor create a X2dump.reg file and add the three lines shown below. Save the file, then double click on file to add the key to the Windows Registry

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\X2.exe]
"DumpType"=dword:00000002
"DumpCount"=dword:00000003