Interface to manage an user-defined applicative parameter profile.
Role: This interface allows the end-user to handle Applicative
parameter profiles attributes. To create them, please refer to
ParameterProfilesFactory.
Applicative profiles are defined using a Feature Dictionary Editor
application. The name of the attributes don't change after the CATFct
file has been defined. End-user must know what the name of the attributes
are.
To get a handle on the robot, the product must be the assembly node
representing the robot (the one with a robot icon).
The following code can be used to retrieve a handle on a profile
'current document is a product
'the root product is a robot
'retrieving the root product
Dim MyProduct As Product
Set MyProduct = CATIA.ActiveDocument.Product
'retrieving the handle
Dim MyProfileFactory As ParameterProfilesFactory
Set MyProfileFactory = MyProduct.GetTechnologicalObject("ParameterProfilesFactory")
...
'retrieving the list of profiles as an array
Dim MyListOfProfiles() As ParameterProfiles
MyProfileFactory.GetAllProfileInstances(MyListOfProfiles)
'loop for each profile to get the name
Dim MyCurrentProfile as ParameterProfiles
Dim MyCurrentProfileName
For Each MyCurrentProfile In MyListOfProfiles
MyCurrentProfileName.GetName(MyCurrentProfileName)
Next