SolidWorksMakroprogrammierung

Methode · ProfileGroupFolder

GetFeature-Methode (ProfileGroupFolder)

Liefert das Feature dieser Profilgruppe.

Syntax

Function GetFeature() As Feature
Set swFeat = swGruppe.GetFeature

Rückgabewert

Das Feature der Profilgruppe.

Beispiel

' swGruppe ist eine Profilgruppe (ProfileGroupFolder), etwa aus StructureSystemFolder.GetProfileGroupFolders.
Debug.Print "Profilgruppe: " & swGruppe.GetFeature.Name

Bemerkungen

Über das Feature kommst du an den Namen der Profilgruppe im FeatureManager. Er trägt das Profil, etwa <ansi inch> <c channel><3 x 5> (1). Die Hilfebeispiele gehen den umgekehrten Weg: Sie bekommen aus StructureSystemFolder.GetProfileGroupFolders Features und holen die Profilgruppe mit Feature.GetSpecificFeature2.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2022

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

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