pycatia.dnb_mhi_interfaces.mhi_save_access¶
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_mhi_interfaces.mhi_save_access.MHISaveAccess(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMHISaveAccessInterface representing a means to (1) Save data to the Hub (2) Retrieve certaininformation on the loaded documentDNBIAMHISaveAccess is implemented on Document.Applications and CAA partners should NOT implement thisinterface.- get_detailing_names(o_currently_loaded_detailing: str) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetDetailingNames(CATBSTR oCurrentlyLoadedDetailing) AsCATSafeArrayVariantGets the name of the currently loaded detailing and the names of all theother detailings that exist for the loaded object.Parameters:oCurrentlyLoadedDetailing[inout] The name of the currently loaded detailing. This will beempty if no detailing was loadedoListDetailingNames[out] The names of all the detailings that exist on the loadedobjectReturns:S_OK if names returned OK S_FALSE if no detailings exist for the loadedobject E_FAIL on error
- Parameters:
o_currently_loaded_detailing (str) –
- Return type:
tuple
- get_load_parameters() MHILoadParameters ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func GetLoadParameters() As MHILoadParametersGets the interface to the Load Parameters object that contains all theinformation pertaining to the load of the documentParameters:oLoadParameters[out] Interface to the Load Parameters objectReturns:S_OK if everything ran OK E_FAIL on error
- Return type:
- save_to_ppr_hub(i_detailing_name: str, i_overwrite_detailing: bool) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func SaveToPPRHub(CATBSTR iDetailingName,boolean iOverwriteDetailing) As CATSafeArrayVariantThis method saves a document from V5 to the PPR Hub Note: AllTools->Options settings will be respected during the saveParameters:iDetailingName[in] The name of the detailing to save Note: If the Tools->Options‘Save Without Detailing’ is checked ON, then NO detailing will be saved. Thisargument will be ignored and only the exposed data will be saved to the HubiOverwriteDetailing[in] Option to indicate if a detailing with the same name needs tooverwritten If this argument is FALSE and a detailing with the same nameexists, then the save will be aborted (Neither detailing nor exposed data willbe saved)oListErrorMessages[out] List of error messages about invalid or incorrect arguments(for example Tools->Options settings conflicting with input arguments tomethod). Note: This will not contain the error messages that occured during thesave (for e.g., failure to save an object/relation in the database)Returns:S_OK if everything ran OK E_FAIL on error
- Parameters:
i_detailing_name (str) –
i_overwrite_detailing (bool) –
- Return type:
tuple