I would like to change the size of all of the bus names on a sheet. Is there a possibility to select all of the bus names but not the net names?
Would be nice to have a feature to find similar objects with same property and some additional selection options would be able to edit it globally within schematic or all schematics in a projects. So that it will be easy to edit any primitive to customize property as required in a single step. Similarly in PCB as well.
1. Select all RefeDes and change font type and size of all components in schematic to same value
2. All vias in PCB with same property to different hole size and annular ring
3. All Refdes in silk layer (Overlay) of PCB to same type and size to different font type and size as required in single step
Hey, Matthias, the answer to your question is Yes. Here is a simple copy/paste script that does what you want.
Set Vue = ActiveViewFor Each Net In Vue.Query(VDM_NET,VD_ALL) Set Seg = Net.GetSegments().Item(1) If Seg.IsBus Then Net.GetConnectedLabel(Seg).Selected = TrueNextVue.ZoomSelect()Vue.ZoomIn()
Further, here is a script that runs on the entire schematic, opening all sheets with buses and selecting the bus names.
Root = GetProjectData.GetiCDBDesignRootBlock(GetActiveDesign)Set Docs = SchematicSheetDocuments()Set Nets = DesignNets("",Root,"-1","STD",True)For Each Net In Nets Set Seg = Net.GetSegments().Item(1) If Seg.IsBus Then Set Blk = Net.Parent Set Doc = Docs.Open(Blk.GetName(SHORT_NAME),Blk.SheetNum) Net.GetConnectedLabel(Seg).Selected = True Set Vue = Doc.GetViews().Item(1) Vue.ZoomSelect() Vue.ZoomIn() End IfNext
You can modify the code in these scripts to change the text size on the fly without performing the selection.
Retrieving data ...