Class ActiveFormaProfileDefinition
The current ProfileDefinition for the active Configurator and associated values
Namespace: Unity.Industrial.Forma.Core.Publishing
Syntax
public static class ActiveFormaProfileDefinition
Properties
ActiveProfile
Gets the active profile.
Declaration
public static ConfiguratorProfile ActiveProfile { get; }
Property Value
| Type | Description |
|---|---|
| ConfiguratorProfile | The active profile or null. |
ActiveProfileReference
ActiveProfileReference
Declaration
public static ConfiguratorProfileReference ActiveProfileReference { get; set; }
Property Value
| Type | Description |
|---|---|
| ConfiguratorProfileReference |
Methods
ClearProfileDefinition()
Clear the current ProfileDefinition and associated values
Declaration
public static void ClearProfileDefinition()
GetProfileDefinition()
Current GetProfileDefinition(). If null, function will attempt to retrieve and cache an appropriate GetProfileDefinition() asset from the project.
Declaration
public static ProfileDefinition GetProfileDefinition()
Returns
| Type | Description |
|---|---|
| ProfileDefinition | ProfileDefinition or null |
SetActiveProfile(ConfiguratorProfile)
Sets the active profile
Declaration
public static void SetActiveProfile(ConfiguratorProfile profile)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfiguratorProfile | profile |