I believe this is what you are looking for:Example axlfcreate SKILL Command:(axlfcreate "film_name" '(0 0 0 8000000 0 1 0 0 0 0 0 0 0) '("VIA CLASS CLASS/TOP" ))Field description after film record name: Field 1 = Rotation (0=0 2=90 4=180 6=270) Field 2 = X Offset Field 3 = Y Offset Field 4 = Underfined Line Width (without decimal point) Field 5 = Shape Bounding Box Field 6 = Plot Mode (1=Positive 0=Negative) Field 7 = Film Mirrored (0=Unchecked 1=Checked) Field 8 = Full Contact Thermal-Reliefs (0=Unchecked 1=Checked) Field 9 = Suppress Unconnected Pads (0=Unchecked 1=Checked) Field 10 = Draw Missing Pad Apertures (0=Unchecked 1=Checked) Field 11 = Use Aperture Rotation (0=Unchecked 1=Checked) Field 12 = Suppress Shape Fill (0=Checked 1=Unchecked) Field 13 = Vector Based Pad Behavior (0=Unchecked 1=Checked)Hope this helps,Mike CatramboneUTStarcom, Inc.
Hi Mike,Thanks a lot for the details. Do you know what is the relation of units and accuracy settings with field 2,3 & 4?for mm board I have to multiply field 4 with following decimals:accuracy 1 => field2 x 10 , field3 x 10accuracy 2 => field2 x 100 , field3 x 100 and field4 x 10accuracy 3 => field2 x 1000 , field3 x 1000 and field4 x 100accuracy 4 => field2 x 10000 , field3 x 10000 and field4 x 1000and for mils I receive fixnum errors (when i convert mm to mils) and seems like values are only taken in mm. What I see here is that there is no chance to setup the parameter option specially for field 2 and 3 in mils because the resultant field values exceed the field limits.Thanks,Saad.
correction:> "for mm board I have to multiply field 4 with following decimals:"for a mm board I have to multiply fields with following decimals
here is an artwork automatic film generator according to stackup using views. It analyses etch layers and create a form with films to be created. Some are made in background (those always to be done) and other have to be selected or not.
It includes a DBunits analyse to define Undefined Line Width according to database units.
Hope it helps (it is made with our way of work...
Hi Wllbi,Thanks for the reference code. Actually we also have a similer artwork add-on in our environment but recently somebody found a bug (it puts false decimal places when design in mils)I wanted to know how you handle this situation in mils?I see you are also multiplying with factor of 10, 100, ... for different accuracies but what about if the board is in mils?Regards,Saad.
Sadd,As far as fields 2, 3 and 4 are units and accuracy are driven by the database it is loaded into.Here is an example of the defined fields with the database units set to mils at 3 place accuracy:Field 2 = -1000000Field 3 = -1000000Field 4 = 8000The results of the fields above would be:Field 2 = -1000.000 milsField 3 = -1000.000 milsField 4 = 8.000 milsBasically, all you would need to do is drop the decimal point from the resulting values and define the fields in axlfcreate.Here is an example of the defined fields with the database units set to MM at 3 place accuracy:Field 2 = -25400Field 3 = -25400Field 4 = 203The results of the fields above would be:Field 2 = -25.400 milsField 3 = -25.400 milsField 4 = 0.203 milsBasically, all you would need to do is drop the decimal point and the leading zero from the resulting values and define the fields in axlfcreate.
Thanks mcatramb91,Now I understand how this thing work!I appreciate help from all.Regards,Saad.