Print Page | Close Window

CAD Translator ME Layer Assignments

Printed From: PCB Libraries Forum
Category: PCB Footprint Expert
Forum Name: Questions & Answers
Forum Description: issues and technical support
URL: https://www.PCBLibraries.com/forum/forum_posts.asp?TID=3366
Printed Date: 25 Nov 2024 at 4:17am


Topic: CAD Translator ME Layer Assignments
Posted By: ChrisChris
Subject: CAD Translator ME Layer Assignments
Date Posted: 22 Mar 2024 at 1:40pm
Hello,

I cannot figure out what I am doing wrong here and need some help, please. I am trying to configure FP Expert CAD ME layer assignments (left) to match the Altium PCB Layerset shown (right).



My question applies to several different layers here but I'll just use 3D Body as the example for this question. Rather than configure FP Expert to explicitly specify Mechanical 11 here, I would like to specify "3D Body" so that it doesn't matter what the underlying mechanical layer is, which will be dependent on which client workspace I am working in. When I try to do this as shown, and run the script to generate the footprint in a new Altium PcbLib, the 3D Body is "there" but greyed out, as shown.



If I then Press 3 to turn on 3D view, the 3D body shows up in 3D view. If I then click on it, Properties is saying "Layer not defined".



What am I doing wrong here? Is it possible (I hope!) to assign the layers using the Altium Layer Name instead of eMechanicalXX?

Thank you in advance.

Chris



Replies:
Posted By: Tom H
Date Posted: 22 Mar 2024 at 1:51pm
In the Altium Translator menu, the mechanical layer number must be changed. 

The word "eMechanical" cannot change or be renamed or you will break the script language. 

You can change the Numbers, but not the text



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


Posted By: ChrisChris
Date Posted: 22 Mar 2024 at 2:07pm
Hi Tom,

OK, thanks. I was hoping I could leverage the Component Layer Pair Names Altium has so that it can redirect to the specific mechanical layer based on the active mechanical layerset. As it is right now, I've got 5 different FP Expert installations on my machine, each one dedicated to a specific client and any footprints I make are only compatible with that client's workspace. 

I'm trying to get to a workflow solution wherein this is not necessary and any footprint I create is compatible with any Altium workspace. Maybe there's another way to do this. I don't know.

Thanks,
Chris



Posted By: Tom H
Date Posted: 22 Mar 2024 at 2:35pm
Layer Sets are established in Altium, not Footprint Expert. 

You defined the primary (Top) layer in Footprint Expert and the opposite layer (Bottom) in Altium.

Many Altium users create PCB design templates. Open the template and save as your project. 

All layer set assignments are defined in the templates. 



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


Posted By: ChrisChris
Date Posted: 22 Mar 2024 at 2:45pm
Hi Tom,

I understand that layer sets are defined in Altium and not in FP Expert. 

What Altium does provide is a layer abstraction mechanism that allows layers to be referenced by these "names" instead of eMechanicalXX. So it seems like it should be possible for the scripts to specify the abstracted name instead, even if not presently implemented. Perhaps this abstraction layer is not exposed to the scripting language. I don't know.

I don't see how having PCB design templates for specific layersets helps me here. If I have one template for Courtyard on M15, and another for Courtyard on M30, in Altium, I still can't use the same FP Expert generated footprints in both projects. I still need two FP Expert installations (or CAD translator settings) with one hardcoded to eMechanical15 and the other to eMechanical30, and then I have two different footprints instead of one.

Maybe I'm missing something.

Thanks,
Chris


Posted By: Tom H
Date Posted: 22 Mar 2024 at 3:32pm
In order for Altium scripts to work, the text "eMechanical" cannot change or be renamed. 

You can create multiple Altium Option files with different layer assignments. 

The default Option file is Altium_Designer_Translate_.opt

Change settings and save as a different file name. 



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


Posted By: ChrisChris
Date Posted: 22 Mar 2024 at 3:52pm
OK, I guess I will have to settle for different options files then.

The translator window does not specify which options file is being used. This is a risk when generating multiple sets of outputs as I don't know which settings are being applied. I would be clearer, and less prone to unintentional user error, if the GUI displayed the filename somewhere, like here.



Also with no File Open option, and just Save/Restore/Restore Default, it's not clear to me how I would even specify a custom filename for these.

This is one of the reasons why I have multiple installations that are dedicated to specific clients right now.

Thanks,
Chris 


Posted By: Jeff.M
Date Posted: 22 Mar 2024 at 8:12pm
Chris,
The multiple options you're requesting has always been a feature in FPE 24 in all the translators.
At least since November of last year.
It's unclear which software version you're using or referring to.
The very first screen shot in your post (1:40pm) shows this option is available but your last (3:52pm) does not.



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


Posted By: ChrisChris
Date Posted: 23 Mar 2024 at 5:33am
Hi Jeff,

Gotcha. I have multiple installations and some of them haven't been updated in a while. Thanks for pointing that out.

Cheers,
Chris


Posted By: ChrisChris
Date Posted: 27 Mar 2024 at 7:54am
Hi Jeff,

I'm getting around to next steps here and I can't figure out how to actually select a different options file.

For starters, I now have created two different options sets (in addition to the default) I want to swap between, as shown.



Now, when I go to click on the ellipses for the options filee path/name dropdown it takes me to a "Save As" window and asks me to confirm overwriting that file. That's not what I want to do.



I am unable to find anything in the PDF documentation that explains this.

Thanks,

Chris




Posted By: Tom H
Date Posted: 27 Mar 2024 at 8:50am
In the Altium Translator menu, the mechanical layer number must be changed. 

The word "eMechanical" cannot change or be renamed or you will break the script language. 

You can change the Numbers, but not the text



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


Posted By: Jeff.M
Date Posted: 27 Mar 2024 at 8:53am
Chris,
RE: saving new option files.
In the Save As dialog box, navigate (point and click) to a directory where you want your new option file to go.
Where the File name entry appears and is Highlighted, type the new file name.  The ".opt" file extension is added automatically.
Click Save or Cancel to abort.
This is pretty standard procedure for Windows.



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


Posted By: ChrisChris
Date Posted: 27 Mar 2024 at 9:12am
Jeff,

I already HAVE the options file. I want to switch to it. I'm asking how to select an already existing options file, not how to create one. Standard Windows "browse to" functionality.

Thanks,

Chris


Posted By: Jeff.M
Date Posted: 27 Mar 2024 at 10:16am
Sorry, sometimes you have to get slapped in the face to see the problem.
I'm fixing it now and it'll be in a new release in the morning.
Jeff


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


Posted By: ChrisChris
Date Posted: 27 Mar 2024 at 10:21am
No worries, and thank you!


Posted By: Tom H
Date Posted: 27 Mar 2024 at 8:39pm
The issue you reported is fixed. Download and install V24.06 pre-release - http://www.pcblibraries.com/downloads" rel="nofollow - www.pcblibraries.com/downloads

Let us know if it's OK for official release. 



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


Posted By: ChrisChris
Date Posted: 28 Mar 2024 at 6:39am
Hi Tom, Jeff,

I'm not seeing any change using the installer in the supplied link. I completely uninstalled all other instances of FP Expert to make sure I wasn't opening an older revision by accident. About is showing version v.05.



Clicking the ellipses in the translator still takes me to a Save As dialog.



Perhaps the installer at the provided link is incorrect?

I am stuck in meetings for the next 5 hours but can test any additional update you provide after that.

Thanks,
Chris




Posted By: Jeff.M
Date Posted: 28 Mar 2024 at 9:11am
You'll need the V24.06 pre-release dated 3/27.

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


Posted By: Tom H
Date Posted: 28 Mar 2024 at 9:27am
Here are the new Altium Translator buttons to Open & Save Option files: 





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


Posted By: ChrisChris
Date Posted: 28 Mar 2024 at 11:42am
OK, I think I missed the fine print and didn't explicitly click on this...



Checking it now...


Posted By: ChrisChris
Date Posted: 28 Mar 2024 at 12:03pm
Jeff,

I only went this far, but the layer assignments are not updating when I switch option files.



I've attached the two different options files I am trying to switch between. 

Thanks,
Chris
uploads/16545/options.zip" rel="nofollow - uploads/16545/options.zip




Posted By: ChrisChris
Date Posted: 01 Apr 2024 at 7:15am
Hi Jeff,

Just wanted to make sure you saw my comment a few days about about the beta build still opening a Save As dialog. Wasn't sure if I posted that as a response to you or not.

Thanks,
Chris



Print Page | Close Window