french1

DxDesigner Automation vb.net Pt. 2

Discussion created by french1 on Apr 6, 2010
Latest reply on Apr 7, 2010 by french1

I'm having problems wrapping my head around the COM for Dx, I have a good amount of exposure to the expedition COM and maybe thats why Im getting stuck thinking that they should work similarly.

 

I want to get a specific symbol out of my schematic and then parse through each pin and collect the associated data.  I feel like this should be do able but nothing in appDx, vddoc, or vdview appear to give me what I need.  What am I missing?

 

    Dim WithEvents appDX As ViewDraw.Application
    Dim vddocColl As ViewDraw.Documents
    Dim vddoc As ViewDraw.Document
    Dim vdview As ViewDraw.View

 

Private Sub getfpga()

 

        vddoc = appDX.ActiveDocument
        vdview = appDX.ActiveView

       

        Dim comp As ViewDraw.Component

        comp = ???

      

        Dim pin as ViewDraw.ComponentPin

        pin = ???

 

    End Sub

Outcomes