Hallo zusammen,
hat jemand von euch schon mal was mit create simplified curve gemacht?
Ich will splines zerlegen... aber ich komme hier nicht weiter.
Medlung in MSVStudio:
Der Verweis auf einen nicht freigegebenen Member erfodert einen Objektverweis
Dim visob As Integer = 0
Dim clippedinteg As Integer = 0
Dim visobtag() As NXOpen.Tag = Nothing
Dim clipobtag() As NXOpen.Tag = Nothing
ufs.View.AskVisibleObjects(dxfview.Tag, visob, visobtag,clippedinteg, clipobtag)
Dim count As Integer = 1
Dim tagname As String = Nothing
For Each obj As Tag In visobtag
Try
Dim disob As DisplayableObject = NXObjectManager.Get(obj)
Dim myobj As Object = disob
tagname = myobj.ToString
If tagname.Contains("Spline") Or tagname.Contains("Ellipse") Then
Dim outputcount As Integer = Nothing
Dim segments() As Tag = Nothing
CreateSimplifiedCurve(1, obj, 0.0001, outputcount, segments)
End If
lw.WriteLine(Str(count) & ". " & myobj.ToString)
count = count + 1
Catch ex As Exception
lw.WriteLine(ex.Message)
End Try
Next
Irgendwelche Ideen oder Beispiele.
Danke
------------------
Gruß
Michael
have you tried turning it off and on again
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP