Eigenschaft · CoreFeatureData
EndCondition-Eigenschaft (CoreFeatureData)
Liest oder setzt die Endbedingung des Kerns in oder gegen die Ausziehrichtung: Blind, Durch alles oder Bis nächste.
Syntax
Property EndCondition( _
ByVal Index As Long _
) As LongswDaten.EndCondition(swCoreAlongExtractionDirection) = swEndCondBlindParameter
IndexLongByVal- Die Richtung als Wert aus
swCoreFeatureDirection_e.
Wert
Die Endbedingung als Wert aus swEndConditions_e: swEndCondBlind, swEndCondThroughAll oder swEndCondThroughNext.
Beispiel
' swDaten ist die Definition eines Kern-Features (CoreFeatureData), nach AccessSelections.
Dim i As Long
For i = swCoreAlongExtractionDirection To swCoreAwayFromExtractionDirection
Select Case swDaten.EndCondition(i)
Case swEndCondBlind: Debug.Print "Richtung " & i & ": Blind, " & swDaten.Depth(i) * 1000 & " mm"
Case swEndCondThroughAll: Debug.Print "Richtung " & i & ": Durch alles"
Case swEndCondThroughNext: Debug.Print "Richtung " & i & ": Bis nächste"
End Select
Next iBemerkungen
Nur diese drei Endbedingungen sind gültig. Das Beispiel nimmt an, dass die beiden Richtungen die Zahlen 0 und 1 haben, wie im Hilfebeispiel „Get Core Feature Data“.
Siehe auch
Verfügbarkeit
SOLIDWORKS 2006
Englisches Original: ICoreFeatureData::EndCondition in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.