|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区
您需要 登录 才可以下载或查看,没有账号?立即注册
×
我们可以通过 IPCB_BoardEx 接口获取 ViaManager 和 ViaStructureManager。 |
viatype = PCBServer.GetCurrentPCBBoard.ViaManager.GetViaType(via) |
Structuretype = PCBServer.GetCurrentPCBBoard.ViaStructureManager.Items( i).StructureType |
获得电路板中使用的类型 (IPC4761-types) |
通过简单语法获得的 via-Primitive 的结构类型: |
ipc4761type = viaprim.ViaStructure.StructureType |
通过“Features”列表获得该结构的功能'Structure'接口的 |
i = 0 到 viaprim.ViaStructure.featurescount-1 |
viastructionfeaturetype = viaprim.viastruct.Feature(i).FeatureType |
eViaStructureFeatureType_Tenting = 0 |
eViaStructureFeatureType_Covering = 1 |
eViaStructureFeatureType_Plugging = 2 |
eViaStructureFeatureType_Filling = 3 |
eViaStructureFeatureType_Capping = 4 |
|
|