pycatia.dnb_igp_setup_interfaces.operation_profile¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.dnb_igp_setup_interfaces.operation_profile.OperationProfile(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDMAPSInterfaces.ActivityOperationProfileRepresents an Operation.Role: The interface is used to manage the attributes of anOperation.- get_user_profiles_list(i_profile_type: str, o_profiles: tuple) ParameterProfiles ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetUserProfilesList(CATBSTR iProfileType,CATSafeArrayVariant oProfiles)Retreives the list of User Profiles for the Operation.Parameters:iProfileTypeif iType specified, only a list of that type inside the UserProfiles List will be returned if iType is an empty string, all the UserProfiles are returnedoProfilesThe List of User Profiles.Returns:An HRESULT.Legal values:S_OKList of User Profiles is successfully returnedE_FAILList of User Profiles could not be obtainedExample:Dim objOperProfile As OperationProfileDim ProfileType as StringProfileType=””……Dim MyListOfProfiles() As ParameterProfilesobjOperProfile.GetUserProfilesList ProfileType,MyListOfProfiles..
- Parameters:
i_profile_type (str) –
o_profiles (tuple) –
- Return type:
- set_user_profiles_list(i_user_profiles: tuple) ParameterProfiles ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetUserProfilesList(CATSafeArrayVariant iUserProfiles)Sets User Profiles List for the Operation.Parameters:iUserProfilesThe List of User Profiles to be set.Returns:An HRESULT.Legal values:S_OKThe List of User Profiles was successfully set.E_FAILThe List of User Profiles could not be set.Example:The following example sets the user profiles list for anOperation.Dim objOperProfile as OperationProfileDim MyListOfProfiles() As ParameterProfiles……objOperProfile.SetUserProfilesListMyListOfProfiles
- Parameters:
i_user_profiles (tuple) –
- Return type: