Reply

Creating StructuralFrame - SE20, VB6

[ Edited ]

 

I have following code:

    Set structFrames = asmDoc.StructuralFrames

 

    Dim reqPaths(1 To 2) As Object

 

    Set reqPaths(1) = linSeg1

 

    Set reqPaths(2) = linSeg2

 

    Dim noOfPaths As Long

 

    noOfPaths = 2

 

    Set structFrame = structFrames.Add("c:\x.par", noOfPaths, reqPaths) ' Error here

I have been struggling more than 6 hours to overcome the error 'Run Time error '5' - Invalid Procedure call or atgument'. Tried every variation. Searched help. Searched internet. But without success.

Please help me.

 

Posted by: Narantar Vidyarthee
Post date: 9/7/2010 4:27:27 AM