Skill语言学习_2🦽
Path和PathSeg的区别

Skill版本:
getSkillVersion
"SKILL35.00"
>
学习参考:
[ Skill ] Cadence Skill 语言入门 - YEUNGCHIE - 博客园
观察他们的属性参数(在Virtuoso CIW中)
Path对应Virtuoso Layout中的Create功能为:Path
geGetSelSet()~>??
((db:0x1763c4c6 cellView db:0x1763bf9a objType "path"
prop nil bBox
((0.0 0.0)
(7.0 6.0)
) children
nil groupMembers nil isAnyInst nil
isShape t matchPoints nil net
nil parent nil pin nil
purpose "drawing" textDisplays nil assocTextDisplays
nil markers nil figGroup nil
isUnshielded nil shieldedNet1 nil shieldedNet2
nil layerName "M1" layerNum 61
lpp
("M1" "drawing") connRoutes nil routeStatus
"normal" beginExt 0.0 endExt 0.0
nPoints 4 points
((1.0 6.0)
(1.0 1.0)
(6.0 1.0)
(6.0 6.0)
) pathStyle
"truncateExtend" width 2.0
)
)
>
观察其具体属性,可以知道✨Path是一条“折线”,它的形状取决于首尾以及折点的坐标✨
如上图中的Path,
它的形状取决于4个坐标点,分别为:
(1.0 6.0),(1.0 1.0),(6.0 1.0)和(6.0 6.0)
PathSeg对应Virtuoso Layout中的Create功能为:Wire
geGetSelSet()~>??
((db:0x1763c4c4 cellView db:0x1763bf9a objType "pathSeg"
prop nil bBox
((9.0 0.0)
(11.0 6.0)
) children
nil groupMembers nil isAnyInst nil
isShape t matchPoints nil net
nil parent nil pin nil
purpose "drawing" textDisplays nil assocTextDisplays
nil markers nil figGroup nil
isUnshielded nil shieldedNet1 nil shieldedNet2
nil layerName "M1" layerNum 61
lpp
("M1" "drawing") connRoutes nil routeStatus
"normal" width 2.0 beginExt 0.0
endExt 0.0 beginPt
(10.0 6.0) endPt
(10.0 1.0) boundary
((9.0 0.0)
(9.0 6.0)
(11.0 6.0)
(11.0 0.0)
) beginStyle "truncate"
endStyle "extend" topology "none" isOrthogonal
t route db:0x1763bec5
)
(db:0x1763c4af cellView db:0x1763bf9a objType "pathSeg"
prop nil bBox
((9.0 0.0)
(17.0 2.0)
) children
nil groupMembers nil isAnyInst nil
isShape t matchPoints nil net
nil parent nil pin nil
purpose "drawing" textDisplays nil assocTextDisplays
nil markers nil figGroup nil
isUnshielded nil shieldedNet1 nil shieldedNet2
nil layerName "M1" layerNum 61
lpp
("M1" "drawing") connRoutes nil routeStatus
"normal" width 2.0 beginExt 0.0
endExt 0.0 beginPt
(10.0 1.0) endPt
(16.0 1.0) boundary
((9.0 0.0)
(9.0 2.0)
(17.0 2.0)
(17.0 0.0)
) beginStyle "extend"
endStyle "extend" topology "none" isOrthogonal
t route db:0x1763bec5
)
(db:0x1763c4be cellView db:0x1763bf9a objType "pathSeg"
prop nil bBox
((15.0 0.0)
(17.0 6.0)
) children
nil groupMembers nil isAnyInst nil
isShape t matchPoints nil net
nil parent nil pin nil
purpose "drawing" textDisplays nil assocTextDisplays
nil markers nil figGroup nil
isUnshielded nil shieldedNet1 nil shieldedNet2
nil layerName "M1" layerNum 61
lpp
("M1" "drawing") connRoutes nil routeStatus
"normal" width 2.0 beginExt 0.0
endExt 0.0 beginPt
(16.0 1.0) endPt
(16.0 6.0) boundary
((15.0 0.0)
(15.0 6.0)
(17.0 6.0)
(17.0 0.0)
) beginStyle "extend"
endStyle "truncate" topology "none" isOrthogonal
t route db:0x1763bec5
)
)
>
观察其具体属性,可以知道✨PathSeg是多条“线段”,它的形状取决于每条线段的首尾坐标✨
如上图中的PathSeg,
它的形状取决于3条线段的首尾坐标,分别为:
(10.0 6.0) ,(10.0 1.0)
(10.0 1.0) ,(16.0 1.0)
(16.0 1.0) ,(16.0 6.0)
✨✨Ps:对PathSeg使用Merge功能后,PathSeg将变为Path!!!
对于之前的Path沿伸并打孔的功能
(Skill语言学习(1)🦽 - StupidMonkey19 - 博客园)
✨✨使用的连接线为PathSeg!!!
因为PathSeg的多条"线段"的属性,可以在Virtuoso Layout中开启Partial Select功能后可以✨单独选择✨


浙公网安备 33010602011771号