SolidWorksMakroprogrammierung

Eigenschaft · LoftFeatureData

StartConstraintDraftAngle-Eigenschaft (LoftFeatureData)

Liest oder setzt die Formschräge der Bedingung am Anfang der Ausformung.

Syntax

Property StartConstraintDraftAngle As Double
swDaten.StartConstraintDraftAngle = 5 * 3.14159265358979 / 180

Wert

Der Winkel der Formschräge, vermutlich in Bogenmaß.

Beispiel

' swModel ist das Teil (ModelDoc2), swFeat eine Ausformung (Feature).
Const PI As Double = 3.14159265358979
Dim swDaten As SldWorks.LoftFeatureData
Set swDaten = swFeat.GetDefinition
If Not (swDaten.StartConstraintApplyToAll And swDaten.EndConstraintApplyToAll) Then Exit Sub
If swDaten.AccessSelections(swModel, Nothing) Then
    swDaten.StartConstraintDraftAngle = 5 * PI / 180
    If False = swFeat.ModifyDefinition(swDaten, swModel, Nothing) Then swDaten.ReleaseSelectionAccess
End If

Bemerkungen

Die Eigenschaft gilt nur, wenn LoftFeatureData.StartConstraintApplyToAll und LoftFeatureData.EndConstraintApplyToAll True sind. Die Einheit nennt die Hilfe nicht.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2005

Englisches Original: ILoftFeatureData::StartConstraintDraftAngle in der SOLIDWORKS API-Hilfe ↗ (dort mit dem .NET-Namen)

Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.