| > If the part where i create the pins is placed outside the macro that creates the
> shell all goes fine.
> But when i place it all inside the macro it complains that the closing bracket
> for the object cant be found and it finds object instead.
You can't have more than one object inside another object. You need to 
put them inside a union instead.
> #macro BB02JS_GRND(Pins)
> //#local Pins = 7;
> #local Pitch = 2.54;
> #local H = .4;      // Pin height
> #local W = .6;      // Pin width
> #local L1 = 5;      // Total lenght outside main body
> #local L2 = 1.27;   // Lenght of pin on solder area
> #local L3 = 1.25;   // Height pin center above PCB
> #local i = 0;
>
> object{
That line should be union{ and then it seems to work.
Post a reply to this message
 |