oaPhysicalLayer
模块: oapy._oa._tech
导入: from oapy._oa import _tech
概览
oaPhysicalLayer 在 oapy 中可用,可通过 _tech 模块访问。
本页汇总 oaPhysicalLayer 当前在 oapy 中可用的 Python 接口。
详细说明
The oaPhysicalLayer class defines a physical layer that is referenced when creating physical design data。
方法总览
| 状态 | Python 调用 |
|---|---|
| ✅ | obj.getMaterial() |
| ✅ | obj.getPrefRoutingDir() |
| ✅ | obj.getMaskNumber() |
| ✅ | obj.getManufacturingGrid() |
| ✅ | obj.getLayerAbove(material) |
| ✅ | obj.getLayerBelow(material) |
| ✅ | obj.getLayerAbove(tech, material, local=false) |
| ✅ | obj.getLayerBelow(tech, material, local=false) |
| ✅ | obj.getExcludedLayers(excludedLayerNames) |
| ✅ | obj.hasExcludedLayers() |
| ✅ | obj.setMaterial(material) |
| ✅ | obj.setPrefRoutingDir(dir) |
| ✅ | obj.setMaskNumber(number) |
| ✅ | obj.setManufacturingGrid(grid) |
| ✅ | obj.resetManufacturingGrid() |
| ✅ | obj.setExcludedLayers(excludedLayerNames) |
| ✅ | obj.unsetExcludedLayers() |
| ✅ | _tech.oaPhysicalLayer.create(tech, name, number, material=oacOtherMaterial, maskNumber=oacUnsetMaskNumber) |
| ✅ | _tech.oaPhysicalLayer.find(tech, name) |
| ✅ | _tech.oaPhysicalLayer.find(tech, number) |
| ✅ | _tech.oaPhysicalLayer.find(tech, name, local) |
| ✅ | _tech.oaPhysicalLayer.find(tech, number, local) |
方法说明
obj.getMaterial()
绑定状态: 已绑定
Python 调用: obj.getMaterial()
This function gets the material of this layer。 The material is an oaMaterialEnum type that represents the type of material for this layer。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getMaterial()
obj.getPrefRoutingDir()
绑定状态: 已绑定
Python 调用: obj.getPrefRoutingDir()
This function gets the preferred routing direction of this layer。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getPrefRoutingDir()
obj.getMaskNumber()
绑定状态: 已绑定
Python 调用: obj.getMaskNumber()
This function gets the maskNumber of this layer。 The maskNumber represents the order of layers in the manufacturing process。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getMaskNumber()
obj.getManufacturingGrid()
绑定状态: 已绑定
Python 调用: obj.getManufacturingGrid()
This function gets the manufacturing grid for this layer。 The manufacturing grid represents the minimum resolution that can be used to create objects on any purpose using the specified layer。 If the manufacturing grid value for this layer has not been set i.e。 zero, the default manufacturing grid value for the technology database to which this layer belongs is returned。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getManufacturingGrid()
obj.getLayerAbove(material)
绑定状态: 已绑定
Python 调用: obj.getLayerAbove(material)
This function returns a collection of layers with mask numbers greater than this layer with the specified material type。 The tech defines the context of the graph of incremental technology databases in which to query this layer。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about incremental technology databases。
参数
tech: The technology database to search。 This should be the most derived technology database in the graph of incremental technology databases。material: An oaMaterialEnum type that represents the type of material for this layer。local: Specifies whether (if true) to look only in the specified technology database or (if false) to look in the specified technology database and all of its referenced databases。
异常
oacLayerNotInReferencedTech。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getLayerAbove(material)
obj.getLayerBelow(material)
绑定状态: 已绑定
Python 调用: obj.getLayerBelow(material)
This function returns a collection of layers with mask numbers lower than this layer with the specified material type。 The tech defines the context of the graph of incremental technology databases in which to query this layer。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about incremental technology databases。
参数
tech: The technology database to search。 This should be the most derived technology database in the graph of incremental technology databases。material: An oaMaterialEnum type that represents the type of material for this layer。local: Specifies whether (if true) to look only in the specified technology database or (if false) to look in the specified technology database and all of its referenced databases。
异常
oacLayerNotInReferencedTech。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getLayerBelow(material)
obj.getLayerAbove(tech, material, local=false)
绑定状态: 已绑定
Python 调用: obj.getLayerAbove(tech, material, local=false)
This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess。 Use the getLayerAbove function overload that returns a collection instead。 This function returns the next layer with a mask number greater than this layer with the specified material type。 If there is more than one physical layer for the mask number greater than this layer, an arbitrary one of those layers is returned。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getLayerAbove(tech, material, local=false)
obj.getLayerBelow(tech, material, local=false)
绑定状态: 已绑定
Python 调用: obj.getLayerBelow(tech, material, local=false)
This function is deprecated and is retained to ensure compatibility with previous versions of OpenAccess。 Use the getLayerBelow function overload that returns a collection instead。 This function returns the next layer with a mask number less than this layer with the specified material type。 If there is more than one physical layer for the mask number less than this layer, an arbitrary one of those layers is returned。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getLayerBelow(tech, material, local=false)
obj.getExcludedLayers(excludedLayerNames)
绑定状态: 已绑定
Python 调用: obj.getExcludedLayers(excludedLayerNames)
This function returns the list of layer names that are excluded for this physical layer。
参数
excludedLayerNames: The returned list of excluded layer names。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.getExcludedLayers(excludedLayerNames)
obj.hasExcludedLayers()
绑定状态: 已绑定
Python 调用: obj.hasExcludedLayers()
This function returns true if this physical layer has a list of excluded layers specified。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.hasExcludedLayers()
obj.setMaterial(material)
绑定状态: 已绑定
Python 调用: obj.setMaterial(material)
This function sets the material of this layer。 The material is an oaMaterialEnum type that represents the type of material for this layer。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.setMaterial(material)
obj.setPrefRoutingDir(dir)
绑定状态: 已绑定
Python 调用: obj.setPrefRoutingDir(dir)
This function sets the preferred routing direction for this layer。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.setPrefRoutingDir(dir)
obj.setMaskNumber(number)
绑定状态: 已绑定
Python 调用: obj.setMaskNumber(number)
This function sets the maskNumber for this layer。 The maskNumber represents the order of layers in the manufacturing process。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.setMaskNumber(number)
obj.setManufacturingGrid(grid)
绑定状态: 已绑定
Python 调用: obj.setManufacturingGrid(grid)
This function sets the manufacturing grid for this layer。 The manufacturing grid represents the minimum resolution that can be used to create objects on any purpose using the specified layer。 The new grid value will override any default technology manufacturing grid value that may have been applied for for this physical layer。
参数
grid: The new value of the manufacturing grid to apply。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.setManufacturingGrid(grid)
obj.resetManufacturingGrid()
绑定状态: 已绑定
Python 调用: obj.resetManufacturingGrid()
This function resets the manufacturingGrid for this layer。 The default manufacturing grid value specified for the technology database to which this layer belongs shall apply for this layer after the reset。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.resetManufacturingGrid()
obj.setExcludedLayers(excludedLayerNames)
绑定状态: 已绑定
Python 调用: obj.setExcludedLayers(excludedLayerNames)
This function sets the excluded layers list on the physical layer。 Excluded layers cannot exist in the same graph of tech databases in which this physical layer is defined。 The specified excludedLayerNames list replaces any existing list for this layer。 For more information, refer to Excluding Incompatible Layers in the Using Technology Databases section of the Programmers Guide。
参数
excludedLayerNames: The list of excluded layer names。
异常
oacExcludedLayerAlreadyExists。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.setExcludedLayers(excludedLayerNames)
obj.unsetExcludedLayers()
绑定状态: 已绑定
Python 调用: obj.unsetExcludedLayers()
This function clears the excluded layers list for this physical layer。
Python 示例
from oapy._oa import _tech
# assume obj is a oaPhysicalLayer
obj.unsetExcludedLayers()
_tech.oaPhysicalLayer.create(tech, name, number, material=oacOtherMaterial, maskNumber=oacUnsetMaskNumber)
绑定状态: 已绑定
Python 调用: _tech.oaPhysicalLayer.create(tech, name, number, material=oacOtherMaterial, maskNumber=oacUnsetMaskNumber)
This function creates a layer with the specified name and number。 Any layer number in the set of unsigned four byte integers is a valid layer number。 Note: This function will bind any layer headers or LPPHeaders in open designs that reference the specified layer number。 An exception is thrown if this function is called to create a layer with a number or name that already exists or if the layer name is excluded from the specified tech。
参数
tech: The technology database in which to create the layer。name: The name of the layer to create。number: The number of the layer to create。material: The material type of the layer to create。maskNumber: The mask number of the layer to create。
异常
oacLayerNameExists。oacLayerNumberExists。oacLayerIsExcluded。
Python 示例
from oapy._oa import _tech
_tech.oaPhysicalLayer.create(tech, name, number, material=oacOtherMaterial, maskNumber=oacUnsetMaskNumber)
_tech.oaPhysicalLayer.find(tech, name)
绑定状态: 已绑定
Python 调用: _tech.oaPhysicalLayer.find(tech, name)
This function searches the specified technology database for a physical layer with the specified number。 The local argument specifies whether (if true) to look only in the specified technology database or (if false) to search the specified technology database and all of its referenced technology databases。 If the layer is found, a pointer to the layer object is returned, otherwise NULL is returned。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases。 从 oaLayer 重新实现。
参数
tech: The technology database to search。number: The layer number to find。local: Specifies whether (if true) to look only in the specified technology database or (if false) to look in the specified technology database and all of its referenced databases。
Python 示例
from oapy._oa import _tech
_tech.oaPhysicalLayer.find(tech, name)
_tech.oaPhysicalLayer.find(tech, number)
绑定状态: 已绑定
Python 调用: _tech.oaPhysicalLayer.find(tech, number)
This function searches the specified technology database looking for a physical layer with the specified name。 The local argument specifies whether (if true) to look only in the specified technology database or (if false) to look in the specified technology database and all of its referenced databases。 If the layer is found, a pointer to the layer object is returned, otherwise NULL is returned。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases。 从 oaLayer 重新实现。
参数
tech: The technology database to search。name: The layer name to find。local: Specifies whether (if true) to look only in the specified technology database or (if false) to look in the specified technology database and all of its referenced databases。
Python 示例
from oapy._oa import _tech
_tech.oaPhysicalLayer.find(tech, number)
_tech.oaPhysicalLayer.find(tech, name, local)
绑定状态: 已绑定
Python 调用: _tech.oaPhysicalLayer.find(tech, name, local)
This function searches the specified technology database for a physical layer with the specified number。 If the specified technology database references other technology databases, those are searched as well and the first matching layer is returned。 To find a layer in the current technology database only, refer to the find function that accepts the local argument。 If the function finds the specified layer, the function returns a pointer to the oaLayer object。 Otherwise, the function returns NULL。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases。 从 oaLayer 重新实现。
参数
tech: The technology database to search。number: The layer number to find。
Python 示例
from oapy._oa import _tech
_tech.oaPhysicalLayer.find(tech, name, local)
_tech.oaPhysicalLayer.find(tech, number, local)
绑定状态: 已绑定
Python 调用: _tech.oaPhysicalLayer.find(tech, number, local)
This function searches the specified technology database for a physical layer with the specified name。 If the specified technology database references other technology databases, those are searched as well and the first matching layer is returned。 To find a layer in the current technology database only, refer to the find function that accepts the local argument。 If the function finds the specified layer, the function returns a pointer to the oaLayer object。 Otherwise, the function returns NULL。 Refer to Incremental Technology Databases in the Using Technology Databases section of the Programmers Guide for more information about referenced tech databases。 从 oaLayer 重新实现。
参数
tech: The technology database to search。name: The layer name to find。
Python 示例
from oapy._oa import _tech
_tech.oaPhysicalLayer.find(tech, number, local)