2 Replies Latest reply on Feb 23, 2011 12:09 AM by marioweiss

    Find propertie in border symbols?


      Hello everybody,

      i work on a script to make a table of contents from all sheet using the border symbol. In the border symbol there is a property named "Schaltungsteil". This porperty is on every sheet of schematic in a design.

      The problem is, i don´t know how i can read this property? Has anyone an idea?


      For example there is a screenshot of the border symbol:



      Thanks a lot.


        • 1. Re: Find propertie in border symbols?

          Hi Mario,


          First, find the border symbol instance using the View.Query method and checking for IsBorderSymbol property, then call FindAttribute:


               For Each comp in ActiveView.Query(VDM_COMP, VD_ALL)

                    If comp.SymbolBlock.IsBorderSymbol Then

                         Set attr = comp.FindAttribute("Schaltungsteil")

                         If Not attr Is Nothing Then

                              sSchaltungstiel = attr.Value

                         End If

                    End If



          If you have replicated hieararchy, you should use the InstanceValue property instead of Value.



          • 2. Re: Find propertie in border symbols?

            Hi John,


            it works! Thanks.