pycatia.eno_cd5_interfaces.cd5_save_operation¶
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.eno_cd5_interfaces.cd5_save_operation.CD5SaveOperation(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectCD5SaveOperationRepresents a Save Operation Object.Various properties which are applicable for the complete save operation can beset using this.Also, end-user may either run the Save operation as per customization done sofar or open the Advanced Save panel to finalize customization and run the Savemanually.Example:The following example indicates how to create a ENOVIA V6 SaveOperation.Dim oCD5Engine As CD5EngineV6R2014xSet oCD5Engine = CATIA.GetItem(“CD5EngineV6R2014x”)Dim oSaveOperation As CD5SaveOperationSet oSaveOperation = oCD5Engine.CreateSaveOperation(CD5SaveOperation_Session)See also:CD5SaveItems- property allow_disk_save: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property AllowDiskSave() As booleanReturns (gets) or sets the value of the Save option “Allow DiskSave”.Example:The following example sets the Allow Disk Save option toTrue.oSaveOperation.AllowDiskSave = True
- Return type:
bool
- property comment: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Comment() As CATBSTRReturns (gets) or sets the value of the Save Comment.Example:The following example sets the Save Comment to“ABC”.oSaveOperation.Comment = “ABC”
- Return type:
str
- property create_version: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property CreateVersion() As booleanReturns (gets) or sets the value of the Save option “Create Version”. Thedefault value is picked from the LCO/GCO.Example:The following example sets the Create Version option toTrue.oSaveOperation.CreateVersion = True
- Return type:
bool
- property items: CD5SaveItems¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Items() As CD5SaveItems (Read Only)Returns (gets) the collection of all the items in the scope of theSave.Example:The following example gets all the items in the scope of theSave.Dim oSaveItems As CD5SaveItemsSet oSaveItems = oSaveOperation.Items
- Return type:
- property retain_lock: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RetainLock() As booleanReturns (gets) or sets the value of the Save option “Retain Lock”. Thedefault value is picked from the LCO/GCO.Example:The following example sets the Retain Lock option toTrue.oSaveOperation.RetainLock = True
- Return type:
bool
- run() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Run()Runs the Save as per the cusomization done so far.Example:The following example executes the Save operation as per thecustomization done so far.oSaveOperation.Run
- Return type:
None
- show_panel() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ShowPanel()Shows the Save dialog as per the cusomization done so far.Example:The following example shows the Save panel as per the cusomizationdone so far.oSaveOperation.ShowPanel
- Return type:
None