淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Using Component Libraries > Port/Pin MethodsThese methods create and move ports/pins as needed.
MovePort(name, cx, cy, angle) Moves an existing port of that name. All scripted footprints must call MovePort for every pin in the footprint. This call should be made prior to defining any port geometry. Parameters: Example:
SnapPort(name, edge, edge_pos, rel_angle) Moves a port to the specified edge position. The angle is relative to the normal vector (perpendicular to the edge and pointing outwards, or to the right in poly-lines). Parameters: Example:
SetPortLayers(name, start_layer, end_layer) Sets the layer range (and hence placement) for a port Parameters: Example:
AddPortEdge (layer, name, points) Defines the edge of the port to the polyline defined by “points”. Defining the port edge is necessary for co-simulation of a scripted footprint. Note, if you define the port edge, you must also have set the port position via “MovePort” first. Multiple edges may be added by calling this function repeatedly. The points for the edge should be defined with the port as the origin. For example, if the edge is a vertical line 10 mils long running thru the port, the two points defining the edge would be (0, 5) & (0, -5), regardless of the location of the port itself. Parameters: Example:
SetPortWidth (layer, name, w) Defines the edge of the port to be a single line segment of width “w”, centered on the port position, and rotated to the port angle. This function is an alternate means of defining a port edge. Defining the port edge is necessary for co-simulation of a scripted footprint. Note, if you define the port edge, you must also have set the port position via “MovePort” first. Parameters: Example:
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |