PCB Libraries Forum Homepage
Forum Home Forum Home > Libraries > Footprints / Land Patterns > Altium
  New Posts New Posts RSS Feed - Create Component Layers with Layer Type
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Create Component Layers with Layer Type

 Post Reply Post Reply
Author
Message
mwachs View Drop Down
New User
New User


Joined: 10 Oct 2025
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mwachs Quote  Post ReplyReply Direct Link To This Post Topic: Create Component Layers with Layer Type
    Posted: 12 hours 27 minutes ago at 1:09am
Hi,

at the moment i am modifying the *.pas file from the export to add the component layer:

LayerPairs.AddPair(ILayer.MechanicalLayer(17),ILayer.MechanicalLayer(18));
LayerPairs.AddPair(ILayer.MechanicalLayer(19),ILayer.MechanicalLayer(20));
LayerPairs.AddPair(ILayer.MechanicalLayer(21),ILayer.MechanicalLayer(22));
LayerPairs.AddPair(eMechanical11,eMechanical12);
LayerPairs.AddPair(eMechanical13,eMechanical14);
LayerPairs.AddPair(eMechanical15,eMechanical16);

In Altium it looks like this:


And in the edit:


How can i modify my code so it will just do the correct assignment:


Thanks,

Marian

Back to Top
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.234 seconds.