{"id":1207,"date":"2023-07-25T12:57:15","date_gmt":"2023-07-25T12:57:15","guid":{"rendered":""},"modified":"2023-07-25T12:57:15","modified_gmt":"2023-07-25T12:57:15","slug":"ul_pin","status":"publish","type":"page","link":"https:\/\/fusion360.in.ua\/?page_id=1207","title":{"rendered":"UL_PIN"},"content":{"rendered":"<div class=\"body_content\" id=\"body-content\">\n<div class=\"head-block\">\n<h1 itemprop=\"name\">UL_PIN<\/h1>\n<\/div>\n<h2 id=\"data-members\"> \u0427\u043b\u0435\u043d\u0438 \u0434\u0430\u043d\u0438\u0445<\/h2>\n<div class=\"ui-table-wrap\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> \u043a\u0443\u0442<\/td>\n<td> \u0434\u0456\u0439\u0441\u043d\u0438\u0439 (0, 90, 180 \u0456 270)<\/td>\n<\/tr>\n<tr>\n<td> \u043a\u043e\u043d\u0442\u0430\u043a\u0442<\/td>\n<td> UL_CONTACT (\u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043b\u043e, \u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443)<\/td>\n<\/tr>\n<tr>\n<td> \u043d\u0430\u043f\u0440\u044f\u043c\u043e\u043a<\/td>\n<td> int (PIN_DIRECTION_&#8230;)<\/td>\n<\/tr>\n<tr>\n<td> \u0444\u0443\u043d\u043a\u0446\u0456\u044f<\/td>\n<td> int (PIN_FUNCTION_FLAG_&#8230;)<\/td>\n<\/tr>\n<tr>\n<td> \u0434\u043e\u0432\u0436\u0438\u043d\u0430<\/td>\n<td> int (PIN_LENGTH_&#8230;)<\/td>\n<\/tr>\n<tr>\n<td> \u043d\u0430\u0437\u0432\u0430<\/td>\n<td> \u0440\u044f\u0434\u043e\u043a (PIN_NAME_LENGTH)<\/td>\n<\/tr>\n<tr>\n<td> \u0447\u0438\u0441\u0442\u0438\u0439<\/td>\n<td> \u0440\u044f\u0434\u043e\u043a (\u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443)<\/td>\n<\/tr>\n<tr>\n<td> \u043c\u0430\u0440\u0448\u0440\u0443\u0442<\/td>\n<td> int (CONTACT_ROUTE_&#8230;)<\/td>\n<\/tr>\n<tr>\n<td> swaplevel<\/td>\n<td> \u0432\u043d\u0443\u0442\u0440<\/td>\n<\/tr>\n<tr>\n<td> \u0432\u0438\u0434\u043d\u043e<\/td>\n<td> int (PIN_VISIBLE_FLAG_&#8230;)<\/td>\n<\/tr>\n<tr>\n<td> x, y<\/td>\n<td> int (\u0442\u043e\u0447\u043a\u0430 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"loop-members\"> \u0427\u043b\u0435\u043d\u0438 \u0446\u0438\u043a\u043b\u0443<\/h2>\n<div class=\"ui-table-wrap\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> \u043a\u043e\u043b\u0430()<\/td>\n<td> UL_CIRCLE<\/td>\n<\/tr>\n<tr>\n<td> \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438()<\/td>\n<td> UL_CONTACT (\u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443)<\/td>\n<\/tr>\n<tr>\n<td> \u0442\u0435\u043a\u0441\u0442\u0438()<\/td>\n<td> UL_TEXT<\/td>\n<\/tr>\n<tr>\n<td> \u0434\u0440\u043e\u0442\u0438()<\/td>\n<td> UL_WIRE<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p> \u0414\u0438\u0432\u0456\u0442\u044c\u0441\u044f \u0442\u0430\u043a\u043e\u0436 UL_SYMBOL, UL_PINREF, UL_CONTACTREF<\/p>\n<h2 id=\"constants\"> \u041a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0438<\/h2>\n<div class=\"ui-table-wrap\">\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td> PIN_DIRECTION_NC<\/td>\n<td> \u043d\u0435 \u0437&#39;\u0454\u0434\u043d\u0430\u043d\u043e<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_IN<\/td>\n<td> \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044f<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_OUT<\/td>\n<td> \u0432\u0438\u0445\u0456\u0434 (\u0442\u043e\u0442\u0435\u043c\u043d\u0438\u0439 \u0441\u0442\u043e\u0432\u043f)<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_IO<\/td>\n<td> \u0432\u0445\u0456\u0434\/\u0432\u0438\u0445\u0456\u0434 (\u0434\u0432\u043e\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0439)<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_OC<\/td>\n<td> \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u0439 \u043a\u043e\u043b\u0435\u043a\u0442\u043e\u0440<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_PWR<\/td>\n<td> \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u0436\u0438\u0432\u043b\u0435\u043d\u043d\u044f<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_PAS<\/td>\n<td> \u043f\u0430\u0441\u0438\u0432\u043d\u0438\u0439<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_HIZ<\/td>\n<td> \u0432\u0438\u0445\u0456\u0434 \u0437 \u0432\u0438\u0441\u043e\u043a\u0438\u043c \u043e\u043f\u043e\u0440\u043e\u043c<\/td>\n<\/tr>\n<tr>\n<td> PIN_DIRECTION_SUP<\/td>\n<td> \u0448\u0442\u0438\u0444\u0442 \u0436\u0438\u0432\u043b\u0435\u043d\u043d\u044f<\/td>\n<\/tr>\n<tr>\n<td> PIN_FUNCTION_FLAG_NONE<\/td>\n<td> \u043d\u0435\u043c\u0430\u0454 \u0441\u0438\u043c\u0432\u043e\u043b\u0443<\/td>\n<\/tr>\n<tr>\n<td> PIN_FUNCTION_FLAG_DOT<\/td>\n<td> \u0441\u0438\u043c\u0432\u043e\u043b \u0456\u043d\u0432\u0435\u0440\u0442\u043e\u0440\u0430<\/td>\n<\/tr>\n<tr>\n<td> PIN_FUNCTION_FLAG_CLK<\/td>\n<td> \u0441\u0438\u043c\u0432\u043e\u043b \u0433\u043e\u0434\u0438\u043d\u043d\u0438\u043a\u0430<\/td>\n<\/tr>\n<tr>\n<td> PIN_LENGTH_POINT<\/td>\n<td> \u043d\u0435\u043c\u0430\u0454 \u0434\u0440\u043e\u0442\u0443<\/td>\n<\/tr>\n<tr>\n<td> PIN_LENGTH_SHORT<\/td>\n<td> \u0434\u0440\u0456\u0442 0,1 \u0434\u044e\u0439\u043c\u0430<\/td>\n<\/tr>\n<tr>\n<td> PIN_LENGTH_MIDDLE<\/td>\n<td> \u0414\u0440\u0456\u0442 0,2 \u0434\u044e\u0439\u043c\u0430<\/td>\n<\/tr>\n<tr>\n<td> PIN_LENGTH_LONG<\/td>\n<td> \u0414\u0440\u0456\u0442 0,3 \u0434\u044e\u0439\u043c\u0430<\/td>\n<\/tr>\n<tr>\n<td> PIN_NAME_LENGTH<\/td>\n<td> \u043c\u0430\u043a\u0441. \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u0430 \u0434\u043e\u0432\u0436\u0438\u043d\u0430 \u0456\u043c\u0435\u043d\u0456 PIN-\u043a\u043e\u0434\u0443 (\u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u043b\u0438\u0448\u0435 \u0443 \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u0432\u0430\u043d\u043e\u043c\u0443 \u0432\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u0456)<\/td>\n<\/tr>\n<tr>\n<td> PIN_VISIBLE_FLAG_OFF<\/td>\n<td> \u0456\u043c&#39;\u044f \u043d\u0435 \u0432\u043a\u0430\u0437\u0430\u043d\u043e<\/td>\n<\/tr>\n<tr>\n<td> PIN_VISIBLE_FLAG_PAD<\/td>\n<td> \u0456\u043c&#39;\u044f \u043a\u043e\u043b\u043e\u0434\u043a\u0438 \u043d\u0430\u043c\u0430\u043b\u044c\u043e\u0432\u0430\u043d\u043e<\/td>\n<\/tr>\n<tr>\n<td> PIN_VISIBLE_FLAG_PIN<\/td>\n<td> \u043d\u0430\u043c\u0430\u043b\u044c\u043e\u0432\u0430\u043d\u0430 \u043d\u0430\u0437\u0432\u0430 \u0448\u043f\u0438\u043b\u044c\u043a\u0438<\/td>\n<\/tr>\n<tr>\n<td> CONTACT_ROUTE_ALL<\/td>\n<td> \u043c\u0430\u0454 \u044f\u0432\u043d\u043e \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u0438 \u0434\u043e \u0432\u0441\u0456\u0445 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0456\u0432<\/td>\n<\/tr>\n<tr>\n<td> CONTACT_ROUTE_ANY<\/td>\n<td> \u043c\u043e\u0436\u0435 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u0438 \u0434\u043e \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0443<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2 id=\"note\"> \u041f\u0440\u0438\u043c\u0456\u0442\u043a\u0430<\/h2>\n<p> \u0423\u0447\u0430\u0441\u043d\u0438\u043a \u0446\u0438\u043a\u043b\u0443 <em>contacts()<\/em> \u043f\u0435\u0440\u0435\u0431\u0438\u0440\u0430\u0454 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438, \u044f\u043a\u0456 \u0431\u0443\u043b\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0456 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 CONNECT. \u0426\u0435 \u0441\u0442\u043e\u0441\u0443\u0454\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443 UL_DEVICE \u0430\u0431\u043e \u043d\u0430\u0434\u0445\u043e\u0434\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 UL_PINREF, \u0430\u043b\u0435 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 UL_LIBRARY.symbols(). \u042f\u043a\u0449\u043e \u0446\u0435 \u043d\u0435 \u0442\u0430\u043a, \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u0443\u0434\u0435 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u043c.<\/p>\n<p> \u0415\u043b\u0435\u043c\u0435\u043d\u0442 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0438\u0445 \u0434\u0430\u043d\u0438\u0445 \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0454 \u043a\u043e\u043d\u0442\u0430\u043a\u0442, \u044f\u043a\u0438\u0439 \u0431\u0443\u043b\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0443 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0438 CONNECT. \u0426\u0435\u0439 \u0443\u0447\u0430\u0441\u043d\u0438\u043a \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0435 \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u044c\u0441\u044f! \u0412\u0456\u043d \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438\u043c\u0435 \u0434\u043b\u044f \u0437\u0432\u043e\u0440\u043e\u0442\u043d\u043e\u0457 \u0441\u0443\u043c\u0456\u0441\u043d\u043e\u0441\u0442\u0456, \u0434\u043e\u043a\u0438 \u0434\u043e \u0448\u0442\u0438\u0444\u0442\u0430 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u043b\u0438\u0448\u0435 \u043e\u0434\u043d\u0443 \u043f\u043b\u043e\u0449\u0430\u0434\u043a\u0443, \u0430\u043b\u0435 \u0441\u043f\u0440\u0438\u0447\u0438\u043d\u0438\u0442\u044c \u043f\u043e\u043c\u0438\u043b\u043a\u0443 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f, \u044f\u043a\u0449\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0437 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043e\u043c, \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u043c \u0434\u043e \u043a\u0456\u043b\u044c\u043a\u043e\u0445 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0456\u0432.<\/p>\n<p> \u0427\u043b\u0435\u043d <em>\u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0443<\/em> \u0442\u0430\u043a\u043e\u0436 \u043c\u0430\u0454 \u0441\u0435\u043d\u0441, \u043b\u0438\u0448\u0435 \u044f\u043a\u0449\u043e \u0454 \u0432\u0456\u0434\u043d\u043e\u0448\u0435\u043d\u043d\u044f \u0434\u043e \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0456\u0432, \u0434\u043e \u044f\u043a\u0438\u0445 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 PIN-\u043a\u043e\u0434. \u0412 \u0456\u043d\u0448\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u043d\u0430 0.<\/p>\n<p> \u041a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0438 (\u0456 \u0448\u0430\u0440, \u0443 \u0440\u0430\u0437\u0456 SMD) \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0443, \u043f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u043e\u0433\u043e \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0438\u0445 \u0434\u0430\u043d\u0438\u0445, \u0437\u0430\u043b\u0435\u0436\u0430\u0442\u044c \u0432\u0456\u0434 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443, \u0443 \u044f\u043a\u043e\u043c\u0443 \u0432\u0456\u043d \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0454\u0442\u044c\u0441\u044f:<\/p>\n<ul>\n<li> \u044f\u043a\u0449\u043e \u0448\u0442\u0438\u0444\u0442 \u043f\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0432\u0456\u0434 UL_PART, \u044f\u043a\u0438\u0439 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u0430\u0440\u043a\u0443\u0448\u0456, \u0456 \u044f\u043a\u0449\u043e \u043d\u0430 \u043f\u043b\u0430\u0442\u0456 \u0454 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u043d\u0438\u0439 \u0435\u043b\u0435\u043c\u0435\u043d\u0442, \u043e\u0442\u0440\u0438\u043c\u0430\u043d\u0438\u0439 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u043c\u0430\u0442\u0438\u043c\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0438, \u044f\u043a\u0456 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u044e\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u043b\u0430\u0442\u0456.<\/li>\n<li> \u0443 \u0432\u0441\u0456\u0445 \u0456\u043d\u0448\u0438\u0445 \u0432\u0438\u043f\u0430\u0434\u043a\u0430\u0445 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0443 \u0431\u0443\u0434\u0443\u0442\u044c \u0442\u0430\u043a\u0438\u043c\u0438 \u0436, \u044f\u043a \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u043d\u0430 \u043a\u0440\u0435\u0441\u043b\u0435\u043d\u043d\u0456 \u0432\u0456\u0434\u0431\u0438\u0442\u043a\u0430.<\/li>\n<\/ul>\n<p> \u0415\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u0430\u043d\u0438\u0445 <em>\u0456\u043c\u0435\u043d\u0456<\/em> \u0437\u0430\u0432\u0436\u0434\u0438 \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0454 \u0456\u043c\u2019\u044f \u043f\u0456\u043d\u0430, \u044f\u043a \u0432\u043e\u043d\u043e \u0431\u0443\u043b\u043e \u0432\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u043e \u0432 \u0431\u0456\u0431\u043b\u0456\u043e\u0442\u0435\u0446\u0456, \u0437 \u0431\u0443\u0434\u044c-\u044f\u043a\u0438\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c \u00ab@\u00bb \u0434\u043b\u044f \u043f\u0456\u043d\u0456\u0432 \u0437 \u0442\u0430\u043a\u0438\u043c \u0441\u0430\u043c\u0438\u043c \u0456\u043c\u2019\u044f\u043c, \u0449\u043e \u0437\u0430\u043b\u0438\u0448\u0430\u044e\u0442\u044c\u0441\u044f \u0431\u0435\u0437 \u0437\u043c\u0456\u043d (\u0434\u043e\u043a\u043b\u0430\u0434\u043d\u0456\u0448\u0435 \u0434\u0438\u0432\u0456\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0456 PIN). \u0417 \u0456\u043d\u0448\u043e\u0433\u043e \u0431\u043e\u043a\u0443, \u0435\u043b\u0435\u043c\u0435\u043d\u0442 <em>\u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0433\u043e<\/em> \u0446\u0438\u043a\u043b\u0443 \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0454 \u043d\u0430\u0437\u0432\u0443 \u0448\u043f\u0438\u043b\u044c\u043a\u0438 (\u044f\u043a\u0449\u043e \u0432\u043e\u043d\u0430 \u0432\u0438\u0434\u0438\u043c\u0430) \u0442\u0430\u043a \u0441\u0430\u043c\u043e, \u044f\u043a \u0432\u043e\u043d\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454\u0442\u044c\u0441\u044f \u0432 \u043f\u043e\u0442\u043e\u0447\u043d\u043e\u043c\u0443 \u0442\u0438\u043f\u0456 \u043c\u0430\u043b\u044e\u043d\u043a\u0430.<\/p>\n<p> \u0415\u043b\u0435\u043c\u0435\u043d\u0442 \u0434\u0430\u043d\u0438\u0445 <em>\u043c\u0435\u0440\u0435\u0436\u0456<\/em> \u043f\u043e\u0432\u0435\u0440\u0442\u0430\u0454 \u0456\u043c\u2019\u044f \u043c\u0435\u0440\u0435\u0436\u0456, \u0434\u043e \u044f\u043a\u043e\u0457 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e \u0446\u0435\u0439 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 (\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043b\u0438\u0448\u0435 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0456 UL_SCHEMATIC).<\/p>\n<h2 id=\"example\"> \u043f\u0440\u0438\u043a\u043b\u0430\u0434<\/h2>\n<pre class=\"pre codeblock\"> <code class=\"prettyprint prettyprinted\" style=\"\"><span class=\"pln\">library<\/span> <span class=\"pun\">(<\/span> <span class=\"pln\">L<\/span> <span class=\"pun\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\">{<\/span> <span class=\"pln\">L<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">symbols<\/span> <span class=\"pun\">(<\/span> <span class=\"pln\">S<\/span> <span class=\"pun\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\">{<\/span> <span class=\"pln\">printf<\/span> <span class=\"pun\">(<\/span> <span class=\"str\">&quot;Symbol: %s\n&quot;<\/span> <span class=\"pun\">,<\/span><span class=\"pln\"> S<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">name<\/span> <span class=\"pun\">);<\/span> <span class=\"pln\">S<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">pins<\/span> <span class=\"pun\">(<\/span> <span class=\"pln\">P<\/span> <span class=\"pun\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\">{<\/span> <span class=\"pln\">printf<\/span> <span class=\"pun\">(<\/span> <span class=\"str\">&quot;\tPin: %s, (%f %f)&quot;<\/span> <span class=\"pun\">,<\/span><span class=\"pln\"> P<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">name<\/span> <span class=\"pun\">,<\/span><span class=\"pln\"> u2mm<\/span> <span class=\"pun\">(<\/span> <span class=\"pln\">P<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">x<\/span> <span class=\"pun\">),<\/span><span class=\"pln\"> u2mm<\/span> <span class=\"pun\">(<\/span> <span class=\"pln\">P<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">y<\/span> <span class=\"pun\">));<\/span><span class=\"pln\">\r\n      <\/span><span class=\"kwd\">if<\/span><span class=\"pln\"> <\/span><span class=\"pun\">(<\/span> <span class=\"pln\">P<\/span> <span class=\"pun\">.<\/span> <span class=\"pln\">direction<\/span> <span class=\"pun\">==<\/span><span class=\"pln\"> PIN_DIRECTION_IN<\/span> <span class=\"pun\">)<\/span> <span class=\"pln\">printf<\/span> <span class=\"pun\">(<\/span> <span class=\"str\">&quot; input&quot;<\/span> <span class=\"pun\">);<\/span><span class=\"pln\">\r\n      <\/span><span class=\"kwd\">if<\/span><span class=\"pln\"> <\/span><span class=\"pun\">((<\/span> <span class=\"pln\">P<\/span> <span class=\"pun\">.<\/span> <span class=\"kwd\">function<\/span><span class=\"pln\"> <\/span><span class=\"pun\">&amp;<\/span><span class=\"pln\"> PIN_FUNCTION_FLAG_DOT<\/span> <span class=\"pun\">)<\/span><span class=\"pln\"> <\/span><span class=\"pun\">!=<\/span><span class=\"pln\"> <\/span><span class=\"lit\">0<\/span> <span class=\"pun\">)<\/span> <span class=\"pln\">printf<\/span> <span class=\"pun\">(<\/span> <span class=\"str\">&quot; inverted&quot;<\/span> <span class=\"pun\">);<\/span> <span class=\"pln\">printf<\/span> <span class=\"pun\">(<\/span> <span class=\"str\">&quot;\n&quot;<\/span> <span class=\"pun\">);<\/span><span class=\"pln\">\r\n      <\/span><span class=\"pun\">}<\/span><span class=\"pln\">\r\n    <\/span><span class=\"pun\">}<\/span><span class=\"pln\">\r\n  <\/span><span class=\"pun\">}<\/span><\/code><\/pre>\n<div class=\"related-links\">\n<div class=\"familylinks\">\n<div class=\"parentLink\"> <strong>\u0411\u0430\u0442\u044c\u043a\u0456\u0432\u0441\u044c\u043a\u0430 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0430:<\/strong> <a class=\"link\" href=\"?p=1171\">\u0442\u0438\u043f\u0438 \u043e\u0431&#39;\u0454\u043a\u0442\u0456\u0432<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p><strong>\u041e\u0440\u0456\u0433\u0456\u043d\u0430\u043b \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438:<\/strong> <a class=\"link\" href=https:\/\/help.autodesk.com\/cloudhelp\/ENU\/Fusion-ECAD\/files\/ECD-ULP-PIN.htm>UL_PIN<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>UL_PIN \u0427\u043b\u0435\u043d\u0438 \u0434\u0430\u043d\u0438\u0445 \u043a\u0443\u0442 \u0434\u0456\u0439\u0441\u043d\u0438\u0439 (0, 90, 180 \u0456 270) \u043a\u043e\u043d\u0442\u0430\u043a\u0442 UL_CONTACT (\u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043b\u043e, \u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443) \u043d\u0430\u043f\u0440\u044f\u043c\u043e\u043a int (PIN_DIRECTION_&#8230;) \u0444\u0443\u043d\u043a\u0446\u0456\u044f int (PIN_FUNCTION_FLAG_&#8230;) \u0434\u043e\u0432\u0436\u0438\u043d\u0430 int (PIN_LENGTH_&#8230;) \u043d\u0430\u0437\u0432\u0430 \u0440\u044f\u0434\u043e\u043a (PIN_NAME_LENGTH) \u0447\u0438\u0441\u0442\u0438\u0439 \u0440\u044f\u0434\u043e\u043a (\u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443) \u043c\u0430\u0440\u0448\u0440\u0443\u0442 int (CONTACT_ROUTE_&#8230;) swaplevel \u0432\u043d\u0443\u0442\u0440 \u0432\u0438\u0434\u043d\u043e int (PIN_VISIBLE_FLAG_&#8230;) x, y int (\u0442\u043e\u0447\u043a\u0430 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f) \u0427\u043b\u0435\u043d\u0438 \u0446\u0438\u043a\u043b\u0443 \u043a\u043e\u043b\u0430() UL_CIRCLE \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u0438() UL_CONTACT (\u0434\u0438\u0432. \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443) \u0442\u0435\u043a\u0441\u0442\u0438() UL_TEXT \u0434\u0440\u043e\u0442\u0438() [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1171,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/pages\/1207"}],"collection":[{"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1207"}],"version-history":[{"count":0,"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/pages\/1207\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=\/wp\/v2\/pages\/1171"}],"wp:attachment":[{"href":"https:\/\/fusion360.in.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}