Drawingcurve.item (index)

Drawingcurve.item (index)

Ktelang
Collaborator Collaborator
259 Views
0 Replies
Message 1 of 1

Drawingcurve.item (index)

Ktelang
Collaborator
Collaborator

Hello,

 

I am interested in selecting an entity and

returning the item index if the same.


    Dim oSelectSet As SelectSet
    Set oSelectSet = oDrawDoc.SelectSet
             
        Dim oObject As Object
        Set oObject = oSelectSet.Item(1)
                 
        Dim oDrawView As DrawingView
        Set oDrawView = oSheet.DrawingViews
        
        Dim oDrawViewCurves As DrawingCurvesEnumerator
        Set oDrawViewCurves = oDrawView.DrawingCurves
        
        Dim oDrawCurve As DrawingCurve
        Set oDrawCurve = oDrawViewCurves.Item(1)


        ' I want to get oDrawCurve.. item (index)

 

And I can see that I can't get close to the results..

Any possible way ?

 

Thanks in advance

 

 

------------------------------------------------------------------------------
Config :: Intel (R) Xeon (R) CPU E31245 @ 3.30 GHz, 16.0 GB, 64bit win7
Inventor 2013 and Vault Basic 2013
-----------------------------------------------------------------------------
0 Likes
260 Views
0 Replies
Replies (0)