It's working !!
Thank you very much donyoung, I've looked at your program and I've adapted it at my problem.
In fact I didn't use the function GetParamExtents to have dmin and dmax to use them in the function GetLengthAtParam. But now it's perfect !
666vito, if it can help you, this is my...
Tks very much donyoung, I will try it...
And 666vito it true than it should be very simple, but I think that if the solution of Donyoung is not adapted for my problem, I will abort it because I've not enough time to resolve this problem.
If you solve the problem, tell me how you've done it...
Sorry but I've not found the solution at this problem. Have you tested my example ?
In the help of SE, there is an exemple for VB6, I can't use it because I'm using VBA, but You can try :
Private Sub Form_Load()
Dim objApp As SolidEdgeFramework.Application
Dim objDoc As...
I've found a fonction : GetLengthAtParam and I've tried :
Dim ObjDocPart As SolidEdgePart.PartDocument
Dim depart As Double
Dim arrivee As Double
Dim longueur As Double
Call objApp.Documents.Open("C:\toto.par")
Set ObjDocPart = objApp.ActiveDocument
depart = -50
arrivee = 50
Call...
Hi,
Sorry to post a new thread, but I have a new problem :
I want to get back the length of a segment on a part, like with "Information of element" with Solid Edge.
Can anyone tell me if it's possible, and how ?
Thank you,
Arno
Hi donyoung,
I've tried your syntax method.
The good news is that there no error message.
But I'm not sure that something is done, because there no new occurence, no message and no evolution, even if there are some interferences in my assmbly.
Moreover, I would know if it's possible to...
Hi,
I have read the thread 562-135208, but I've still the same probleme than Baat. I'm trying :
Dim set1(1) As Reference
Dim set2(1) As Reference
Set set1(1) = objdoc.CreateReference(objdoc.Occurrences(2), objdoc.Occurrences(2).OccurrenceDocument.Models(1).Body)
Set set2(1) =...