Enumeration · SwConst
swStructureProfileMirrorType_e-Enumeration
Um welche Achse das Profil eines Tragwerk-Elements gespiegelt wird: die horizontale oder die vertikale Achse.
Syntax
Enum swStructureProfileMirrorType_e
swStructureProfileMirrorType_HorizontalAxis = 0
swStructureProfileMirrorType_VerticalAxis = 1
End EnumWerte
| Konstante | Wert | Bedeutung |
|---|---|---|
swStructureProfileMirrorType_HorizontalAxis | 0 | Das Profil wird um seine horizontale Achse gespiegelt. |
swStructureProfileMirrorType_VerticalAxis | 1 | Das Profil wird um seine vertikale Achse gespiegelt. |
Beispiel
' swElement ist eine StructureSystemMemberFeatureData, etwa aus ModelDocExtension.CreateStructureSystemMemberData.
Dim swProfil As SldWorks.StructureSystemMemberProfile
Set swProfil = swElement.MemberProfile
swProfil.MirrorProfile = True
swProfil.ProfileMirrorType = swStructureProfileMirrorType_VerticalAxisBemerkungen
Den Wert liest und setzt du mit StructureSystemMemberProfile.ProfileMirrorType. Er gilt nur, wenn StructureSystemMemberProfile.MirrorProfile True ist. Schalte das Spiegeln also zuerst ein.
Welche Profilachse an einem Objekt ausgerichtet wird, legst du getrennt davon mit einem Wert aus swStructureProfileAlignmentType_e fest. Die Hilfe beschreibt die Werte nur mit ihrem Namen.
Verwendet von
Siehe auch
Englisches Original: swStructureProfileMirrorType_e in der SOLIDWORKS API-Hilfe ↗
Fragen zu diesem Befehl oder ein Befehl fehlt? Frag im Discord.