亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? height_check.il

?? ALLEGRO SKILL SAMPLE CODE
?? IL
?? 第 1 頁 / 共 2 頁
字號:
;height_check.il
;
;Rev 1: 16 Sept 2003
;
;By Geoff Meek		 
;email: meekg@rogers.com
;
;This program finds components over, under or equal to a user specified value, on the side specified.
;It also finds the highest component. Single pick mode lets you pick any symbol in the layout.
;Made and tested in Allegro v14.2 
;
;Type "heightchk" to start
;

axlCmdRegister( "heightchk" `heightchker)

;******************************************************************************
 
(defun heightchker ()

   vis_list = axlVisibleGet()					;store design visibility
   
   symlist=makeTable("atable3" 0)				;make assocication table
   symlist2=()								;makelist
   
   height_chker_form()						;Make form
   Form1=axlFormCreate( (gensym) "height_chker_form1.form" '(e outer) 'height_chker_form_Action t)
   
   checkLimitValue=1						;preset limit variable
   axlFormSetField( Form1 "GreaterThan" 1)		;preset form value
   checkSideValue=1							;preset side variable
   axlFormSetField( Form1 "TopSide" 1)			;preset form values...
   axlVisibleDesign(nil)
   axlVisibleLayer("PIN/TOP" t)
   axlVisibleLayer("VIA CLASS/TOP" t)
   axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_TOP" t)
   axlVisibleLayer("BOARD GEOMETRY/OUTLINE" t)
   axlVisibleUpdate(t)
   axlFormSetField( Form1 "TestNumber" "0")
   axlFormDisplay(Form1)						;display form
   
); end defun heightchker

;*******************************************************************************

(defun height_chker_form ()

   height_chker_form1=outfile("height_chker_form1.form" "w")
   
   fprintf(height_chker_form1 "FILE_TYPE=FORM_DEFN VERSION=2\n")   
   fprintf(height_chker_form1 "FORM\n")	
   fprintf(height_chker_form1 "FIXED\n")
   fprintf(height_chker_form1 "PORT 25 72\n")
   fprintf(height_chker_form1 "HEADER \"Height Chker\"\n")
;##################################################  Display buttons
   fprintf(height_chker_form1 "TILE\n")

   fprintf(height_chker_form1 "FIELD TestNumber\n")	
   fprintf(height_chker_form1 "FLOC 1 1\n")
   fprintf(height_chker_form1 "INTFILLIN 9 6\n")
   fprintf(height_chker_form1 "ENDFIELD\n")

   fprintf(height_chker_form1 "FIELD Find\n")	
   fprintf(height_chker_form1 "FLOC 2 13\n")
   fprintf(height_chker_form1 "MENUBUTTON \"Find\" 8 3\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
   
   fprintf(height_chker_form1 "FIELD Pickit\n")	
   fprintf(height_chker_form1 "FLOC 13 13\n")
   fprintf(height_chker_form1 "CHECKLIST \"Pick It\" \"tb\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
;
   fprintf(height_chker_form1 "FIELD TopSide\n")	
   fprintf(height_chker_form1 "FLOC 1 4\n")
   fprintf(height_chker_form1 "CHECKLIST \"Top Side\" \"tbc\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
   
   fprintf(height_chker_form1 "FIELD BotSide\n")	
   fprintf(height_chker_form1 "FLOC 1 7\n")
   fprintf(height_chker_form1 "CHECKLIST \"Bottom Side\" \"tbc\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
   
   fprintf(height_chker_form1 "FIELD BothSide\n")	
   fprintf(height_chker_form1 "FLOC 1 10\n")
   fprintf(height_chker_form1 "CHECKLIST \"Both Sides\" \"tbc\"\n")					
   fprintf(height_chker_form1 "ENDFIELD\n")
   
   fprintf(height_chker_form1 "FIELD HighestComp\n")	
   fprintf(height_chker_form1 "FLOC 13 10\n")
   fprintf(height_chker_form1 "CHECKLIST \"Highest Comp\" \"tb\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
      
   fprintf(height_chker_form1 "FIELD GreaterThan\n")	
   fprintf(height_chker_form1 "FLOC 13 1\n")
   fprintf(height_chker_form1 "CHECKLIST \"Greater Than\" \"tb\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
      
   fprintf(height_chker_form1 "FIELD LessThan\n")	
   fprintf(height_chker_form1 "FLOC 13 4\n")
   fprintf(height_chker_form1 "CHECKLIST \"Less Than\" \"tb\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
      
   fprintf(height_chker_form1 "FIELD EqualTo\n")	
   fprintf(height_chker_form1 "FLOC 13 7\n")
   fprintf(height_chker_form1 "CHECKLIST \"Equal to\" \"tb\"\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
   
   fprintf(height_chker_form1 "FIELD Listing\n")	
   fprintf(height_chker_form1 "FLOC 2 16\n")
   fprintf(height_chker_form1 "MENUBUTTON \"Listing\" 8 3\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
 
   fprintf(height_chker_form1 "FIELD Done\n")
   fprintf(height_chker_form1 "FLOC 15 16\n")
   fprintf(height_chker_form1 "MENUBUTTON \"Done\" 8 3\n")
   fprintf(height_chker_form1 "ENDFIELD\n")
;#################################################### End of Display buttons
   fprintf(height_chker_form1 "ENDTILE\n")
   fprintf(height_chker_form1 "ENDFORM\n");
   close(height_chker_form1 )
   
); end defun height_chker_form 

;******************************************************************************************

(defun height_chker_form_Action (height_chker_form1 )

  (case height_chker_form1 ->curField
  
	checkSideValue=0					 	;Reset value
	checkLimitValue=0					 	;Reset value
	
	
	("Find"
		Entries=0
		makelisting=0
		if( (checkLimitValue==5) then 		;If the program was in pickit mode just before...
			axlShell("Done")				;stop symbol selection
			axlFormSetField( height_chker_form1 "Pickit" 0)		;deselect pickit button - stops while loop
		);end if
		List=outfile("c:\\heightlisting.txt")	;create output file.
		p=outfile("c:\\missingprops.txt")		;create output file.
		Calc()							;call Calc
		close(p)							;close output file
		close(List)
		if( (Entries==1) then				;if there was an entry then display window
			results=axlUIViewFileCreate("c:\\missingprops.txt" "Missing Shapes and Props" nil)	;close and display results.
			axlUIWExpose(results)
		);end if
		
	)
	
	
	("Listing"
		Entries=0
		if( (checkLimitValue==5) then 		;If the program was in pickit mode just before...
			axlShell("Done")				;stop symbol selection
		);end if
		makelisting=1
		checkLimitValue=1
		axlFormSetField( height_chker_form1 "GreaterThan" 1)		;set buttons to select all comps
		checkSideValue=3
		axlFormSetField( height_chker_form1 "BothSide" 1)
		axlFormSetField( height_chker_form1 "TestNumber" "0")
		
		axlVisibleDesign(nil)
		axlVisibleLayer("PIN/TOP" t)
		axlVisibleLayer("PIN/BOTTOM" t)
		axlVisibleLayer("VIA CLASS/TOP" t)
		axlVisibleLayer("VIA CLASS/BOTTOM" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_TOP" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_BOTTOM" t)
		axlVisibleLayer("BOARD GEOMETRY/OUTLINE" t)
		axlVisibleUpdate(t)
		   		
		checkSideValue=3
		p=outfile("c:\\missingprops.txt")			;create output file.
		List=outfile("c:\\heightlisting.txt")		;create output file.
		fprintf(List, "Component Height Listing (in mils)\n\n")
		fprintf(List, "Layout Name:  %s \nPath:  %s \nList Created:  %s\n\n" axlCurrentDesign() axlGetVariable("cwd") getCurrentTime())
		fprintf(List, "Refdes \t Height  Side \t\t SymbolName \n\n")
		Calc()								;call Calc
		close(List)							;close output file
		close(p)								;close output file
		axlClearSelSet()
		results2=axlUIViewFileCreate("c:\\heightlisting.txt" "Component Height Listing" nil)	;close and display results.
		axlUIWExpose(results2)
		makelisting=0
		if( (Entries==1) then					;if there was an entry then display window
					results=axlUIViewFileCreate("c:\\missingprops.txt" "Missing Shapes and Props" nil)	;close and display results.
					axlUIWExpose(results)
		);end if
	)
	
	("TopSide"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
			checkLimitValue=1
			axlFormSetField( height_chker_form1 "GreaterThan" 1)
			message=sprintf(nil "Select Mode ended")
			axlUIWPrint(height_chker_form1 message)
		);end if
		axlVisibleDesign(nil)
		axlVisibleLayer("PIN/TOP" t)
		axlVisibleLayer("VIA CLASS/TOP" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_TOP" t)
		axlVisibleLayer("BOARD GEOMETRY/OUTLINE" t)
   		axlVisibleUpdate(t)
		checkSideValue=1
	)
	
	("BotSide"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
			checkLimitValue=1
			axlFormSetField( height_chker_form1 "GreaterThan" 1)
			message=sprintf(nil "Select Mode ended")
			axlUIWPrint(height_chker_form1 message)
		);end if
		axlVisibleDesign(nil)
		axlVisibleLayer("PIN/BOTTOM" t)
		axlVisibleLayer("VIA CLASS/BOTTOM" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_BOTTOM" t)
		axlVisibleLayer("BOARD GEOMETRY/OUTLINE" t)
   		axlVisibleUpdate(t)
		checkSideValue=2
	)
	
	("BothSide"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
			checkLimitValue=1
			axlFormSetField( height_chker_form1 "GreaterThan" 1)
			message=sprintf(nil "Select Mode ended")
			axlUIWPrint(height_chker_form1 message)
		);end if
		axlVisibleDesign(nil)
		axlVisibleLayer("PIN/TOP" t)
		axlVisibleLayer("PIN/BOTTOM" t)
		axlVisibleLayer("VIA CLASS/TOP" t)
		axlVisibleLayer("VIA CLASS/BOTTOM" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_TOP" t)
		axlVisibleLayer("PACKAGE GEOMETRY/ASSEMBLY_BOTTOM" t)
		axlVisibleLayer("BOARD GEOMETRY/OUTLINE" t)
   		axlVisibleUpdate(t)
		checkSideValue=3
	)
	
	("GreaterThan"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
		);end if
		checkLimitValue=1
	)
		
	("LessThan"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
		);end if
		checkLimitValue=2
	)
	
	("EqualTo"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
		);end if
		checkLimitValue=3
	)
	
	("HighestComp"
		if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
			axlShell("Done")			;stop symbol selection
		);end if
		checkLimitValue=4
	)
	
	("Pickit"
		message=sprintf(nil "Pick Component")
		axlUIWPrint(height_chker_form1 message)
		while( axlFormGetField(height_chker_form1 "Pickit")==t			;while "Pick It" Selection Loop
			checkLimitValue=5
			Pickit()
		);end while
		message=sprintf(nil "Select Mode ended")
		axlUIWPrint(height_chker_form1 message)
	)

     ("Done"
     	if( (checkLimitValue==5) then 	;If the program was in pickit mode just before...
     		axlShell("Done")			;stop symbol selection
     	);end if
     	axlVisibleSet(vis_list)
     	axlVisibleUpdate(t)
     	axlClearSelSet()
     	deleteFile("height_chker_form1.form")
     	axlFormClose(height_chker_form1 )
     	axlCancelEnterFun()
     ); end "Done"

     
   ); end case height_chker_form1 ->curField
); end defun height_chker_form _Action

;****************************************************************************************

(defun Calc ()

	getHeights()						;call getHeights
	
	highlight=0
	count=0
	currentmaxheight=0
	Maxheightofsymbol=0
	currenthighestcomp=nil
	currenthighestcompname=nil
	
	foreach( sym symlist2
	
		;printf("sym =  %L \n" sym)
		Maxheightofsymbol=car(linereadstring(car(cdr(cdr(car(cdr(sym)))))))
		sym_refdes=car(sym)
		sym_db=car(car(cdr(sym)))
		mir=car(cdr(car(cdr(sym))))
		
		(case checkSideValue						;read the radio button settings...
	

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日韩在线不卡| 欧美一级搡bbbb搡bbbb| 久久精品国产亚洲5555| 午夜视频在线观看一区二区| 亚洲韩国精品一区| 亚洲自拍偷拍图区| 婷婷久久综合九色综合绿巨人| 亚洲福利视频三区| 婷婷国产在线综合| 免费久久99精品国产| 久热成人在线视频| 精品一区二区三区蜜桃| 精品亚洲aⅴ乱码一区二区三区| 久久av老司机精品网站导航| 国产成人精品影院| 成人免费毛片a| 91久久精品一区二区三| 欧美日韩在线播放一区| 欧美成人欧美edvon| 久久久亚洲精华液精华液精华液 | 欧美一区二区黄| 337p亚洲精品色噜噜| 日韩欧美一区二区久久婷婷| 久久女同精品一区二区| 一色桃子久久精品亚洲| 亚洲综合久久久久| 国产一区二区三区av电影 | 亚洲人成网站影音先锋播放| 一区二区三区精品视频在线| 蜜桃免费网站一区二区三区| 国产成人日日夜夜| 欧美在线不卡一区| 久久你懂得1024| 夜色激情一区二区| 国产九色精品成人porny| 91免费看片在线观看| 欧美电影在线免费观看| 欧美国产精品v| 午夜一区二区三区视频| 国产福利91精品一区二区三区| 99精品久久久久久| 精品捆绑美女sm三区| 亚洲精品乱码久久久久久| 麻豆91免费观看| 在线观看亚洲一区| 国产欧美精品一区| 日韩精品久久理论片| 一本一道久久a久久精品| www日韩大片| 日韩成人一级大片| 日本韩国一区二区三区| 国产精品无圣光一区二区| 日韩电影在线观看电影| 日本精品裸体写真集在线观看| 久久久久久免费网| 美女尤物国产一区| 欧美日韩国产首页| 一区二区三区中文在线| 成人免费电影视频| 久久久国产精品午夜一区ai换脸| 日韩国产精品久久久| 日本高清视频一区二区| 国产情人综合久久777777| 久久精品国产99国产| 欧美日韩久久不卡| 午夜影院久久久| 精品污污网站免费看| 玉米视频成人免费看| av午夜精品一区二区三区| 国产欧美精品一区| 国产福利一区在线观看| 久久久国际精品| 国产成人精品免费| 欧美国产成人精品| 国产成人av一区| 国产精品久久久久永久免费观看| 粉嫩嫩av羞羞动漫久久久| 欧美国产禁国产网站cc| 成a人片亚洲日本久久| ...xxx性欧美| 一本一道波多野结衣一区二区| 一区二区三区高清在线| 在线观看日韩毛片| 亚洲午夜国产一区99re久久| 欧美日韩在线电影| 精品亚洲porn| 国产精品色一区二区三区| 99久久免费精品| 一区二区三区日韩精品| 欧美日本一区二区| 六月丁香婷婷色狠狠久久| 精品国产乱码久久久久久1区2区| 韩国欧美国产一区| 亚洲欧洲国产日韩| 欧美午夜电影网| 奇米一区二区三区av| 久久久www成人免费毛片麻豆 | 麻豆精品在线看| 久久亚洲综合av| 91影院在线免费观看| 一区二区三区.www| 日韩三级在线免费观看| 国产成人av一区二区| 亚洲一二三四区| 欧美变态tickle挠乳网站| 波多野结衣视频一区| 香蕉久久一区二区不卡无毒影院| 精品粉嫩aⅴ一区二区三区四区| 国产成人久久精品77777最新版本| 亚洲免费观看在线观看| 91精品国产91久久综合桃花| 高清不卡在线观看| 视频一区二区中文字幕| 中文字幕va一区二区三区| 欧美午夜电影网| 成人性生交大片免费| 日韩高清在线观看| 国产精品久久久久一区| 欧美一二三四在线| 在线亚洲一区观看| 国产mv日韩mv欧美| 日本va欧美va精品| 一二三区精品视频| 国产欧美一区二区精品婷婷| 精品视频999| 色婷婷综合久久久久中文一区二区| 精品一区二区在线观看| 亚洲成人动漫一区| 亚洲人一二三区| 日本一区二区三区久久久久久久久不| 欧美色网站导航| 99精品欧美一区| 成人免费va视频| 国产精品亚洲一区二区三区妖精| 日韩福利电影在线| 性做久久久久久免费观看欧美| 国产精品三级av在线播放| 精品国精品国产| 欧美一区二区三区在线| 欧美在线看片a免费观看| 99久久777色| 91亚洲精品一区二区乱码| 福利一区二区在线| 国产在线国偷精品免费看| 秋霞影院一区二区| 丝袜脚交一区二区| 午夜精品久久久| 午夜免费久久看| 日韩精品五月天| 免费在线欧美视频| 麻豆精品蜜桃视频网站| 日韩高清欧美激情| 久久狠狠亚洲综合| 久久国产免费看| 国产精品一区二区免费不卡| 国产精品一线二线三线| 国产麻豆精品theporn| 国产成人综合网| 成人激情免费网站| 91一区一区三区| 91麻豆swag| 国产精品自拍一区| 国产老妇另类xxxxx| 精品国产免费人成在线观看| 91精品国产丝袜白色高跟鞋| 成人免费看视频| 国产精品一区专区| 成人国产精品免费| 一本大道久久精品懂色aⅴ| 99久久国产综合精品麻豆| 91网站在线观看视频| 欧洲亚洲精品在线| 国产老肥熟一区二区三区| 色噜噜夜夜夜综合网| 日本一区二区三级电影在线观看| 人人狠狠综合久久亚洲| 欧亚一区二区三区| 国产精品久久久久久妇女6080 | 99久久国产综合精品麻豆| 久久视频一区二区| 日韩av一二三| 一本高清dvd不卡在线观看| 国产亚洲午夜高清国产拍精品| 日韩精品三区四区| 欧美日韩国产bt| 一区2区3区在线看| 色网站国产精品| 亚洲欧洲日韩综合一区二区| 国产精品123| 国产午夜精品福利| 国产精品18久久久久久久久| 精品免费国产一区二区三区四区| 天天色天天操综合| 91精品免费在线观看| 午夜伦欧美伦电影理论片| 欧美日韩色综合| 亚洲电影一区二区三区| 欧美在线观看一区| 首页综合国产亚洲丝袜| 欧美二区三区的天堂|