SolidWorksMakroprogrammierung

Methode · Configuration

Get3DExperienceType-Methode (Configuration)

Liefert, wie eine Konfiguration auf der 3DEXPERIENCE-Plattform gilt: Physical Product oder Representation.

Syntax

Function Get3DExperienceType() As Long
nArt = swConfig.Get3DExperienceType

Rückgabewert

Ein Wert aus sw3DExperienceCfgType_e: swNot3DExperienceType (0), swPhysicalProduct (1), swRepresentation (2).

Beispiel

' swConfig ist eine Configuration, etwa aus ConfigurationManager.ActiveConfiguration.
Select Case swConfig.Get3DExperienceType
    Case swPhysicalProduct: Debug.Print "Physical Product"
    Case swRepresentation: Debug.Print "Representation"
    Case Else: Debug.Print "Keine Plattform-Konfiguration"
End Select

Bemerkungen

Nur für SOLIDWORKS mit 3DEXPERIENCE-Anbindung.

Siehe auch

Verfügbarkeit

SOLIDWORKS 2020 SP03

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

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