pycatia.abq_automation_interfaces.abq_job¶
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.abq_automation_interfaces.abq_job.ABQJob(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectABQJobRepresents an Abaqus job (ABQJob) object.Role: Access an Abaqus job object or determine its properties.- property computation_dir: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ComputationDir() As CATBSTRSets or returns the computation directory.Returns:The computation directory.Example:This example sets the computation directory for the myJob job to“D:CompDir”.myJob.ComputationDir = “D:CompDir”
- Return type:
str
- property contact_print: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ContactPrint() As booleanReturns or sets whether contact constraint data areprinted.Returns:A boolean specifying whether contact constraint data will beprinted.Example:This example sets the printing of contact constraint data for themyJob job to False.myJob.ContactPrint = False
- Return type:
bool
- property description: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Description() As CATBSTRReturns or sets the job description.Example:This example sets the job description for the myJob job to“AutomatedJob”.myJob.Description = “AutomatedJob”
- Return type:
str
- property echo_print: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property EchoPrint() As booleanSets or returns whether an echo of the input data isprinted.Returns:A boolen specifying whether the input data will beprinted.Example:This example sets the printing of echo of the input data for themyJob job to True.myJob.EchoPrint = True
- Return type:
bool
- property history_print: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property HistoryPrint() As booleanSets or returns whether history data are printed.Returns:A boolean specifying whether the the history data will beprinted.Example:This example sets the printing of history data for the myJob job toTrue.myJob.HistoryPrint = True
- Return type:
bool
- property input_file_format: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property InputFileFormat() As booleanSets or returns the format of the input file generated by thejob.Returns:The input file format.Legal values:False (an assembly of separate parts)True (a single part)Example:This example sets the input file format for the myJob job to asingle part.myJob.InputFileFormat = True
- Return type:
bool
- property max_memory: float¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MaxMemory() As doubleSets or returns the amount of memory (in percent or MB) available to thesolverReturns:The amount of memory.Example:This example sets the amount of memory available to the solver formyJob job to 60.myJob.MaxMemory = 60
- Return type:
float
- property memory_unit: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property MemoryUnit() As MemoryUnit_TypeSets or returns the units to be used for specifying the maximum memory tobe used by the solver.Returns:The unit.Legal values:PERCENTMEGABYTESExample:This example sets the unit for the myJob job toPERCENT.myJob.MemoryUnit = PERCENT
- Returns:
enum memory_unit_type
- Return type:
int
- property model_consistency_check: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ModelConsistencyCheck() As booleanSets or returns whether a model consistency check should beperformed.Returns:A boolean specifying whether a consistency check will beperformed.Example:This example sets the Model consistency check for the myJob job toFalse.myJob.ModelConsistencyCheck = False
- Return type:
bool
- property model_print: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ModelPrint() As booleanSets or returns or sets whether model definition data isprinted.Returns:A boolean specifying whether the model definition data will beprinted.Example:This example sets the printing of model definition data for themyJob job to False.myJob.ModelPrint = False
- Return type:
bool
- property num_cpus: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property NumCpus() As shortSets or returns the number of CPUs to use for thisanalysis.Returns:The number of CPUs.Example:This example sets the number of CPUs to use myJob job to3.myJob.NumCpus = 3
- Return type:
int
- property parallelization_method_standard: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property ParallelizationMethodStandard() AsParallelMethodStd_TypeSets or returns the parallelization method for the Abaqus/Standard directsolver.Returns:The parallelization method.Legal values:TREESUPERNODEExample:This example sets the parallelization method for the myJob job toTREE.myJob.ParallelizationMethodStandard = TREE
- Returns:
enum parallel_method_std_type
- Return type:
int
- property restart_read_interval: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadInterval() As shortSets or returns the interval of restart read requests. This is only validif RestartReadOption is RESTART_INTERVAL The value must be greater than0.Returns:The interval of restart read requests.Example:This example sets the restart read request interval for myJob jobto 10.myJob.RestartReadInterval = 10
- Return type:
int
- property restart_read_job: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadJob() As CATBSTRSets or returns or the path to the original job (*.odb)file.Returns:The path to the original job (*.odb) file.Example:This example sets the original job for the myJob job to“D:myoriginaljob.odb”.myJob.RestartReadJob = “D:myoriginaljob.odb”
- Return type:
str
- property restart_read_option: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadOption() As shortSets or returns the restart read option. This is only valid ifRestartReadOption is ABQ_STEP_OBJECTReturns:The option of restart read requests.Legal values:ABQ_RESTART_END_OF_STEP - The current step is terminated from whichrestartis being made and restarts from end of thatstep.ABQ_RESTART_INTERVAL- Analysis will restart from the specifiedintervalnumber within the specified step.Example:This example sets the restart read option for myJob job to end ofstep.myJob.RestartReadOption = ABQ_RESTART_END_OF_STEP
- Returns:
enum abq_restart_read_option
- Return type:
int
- property restart_read_step: ABQStep¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadStep() As ABQStepSets or returns the Step.Returns:The Step of restart read requests.Example:This example sets the step for myJob job to 2.myJob.RestartReadStep = 2
- Return type:
- property restart_read_step_number: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadStepNumber() As shortSets or returns the step number of restart read requests. This is onlyvalid if RestartReadOption is ABQ_STEP_NUMBER The value must be greater than orequal to 1 and less than total number of steps.Returns:The step number of restart read requests.Example:This example sets the step number for myJob job to2.myJob.RestartReadStepNumber = 2
- Return type:
int
- property restart_read_step_selection_option: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartReadStepSelectionOption() As shortSets or returns the step selection option for restartread.Returns:The step selection option of restart read requests.Legal values:ABQ_STEP_OBJECT - Selects step objectABQ_STEP_NUMBER- Selects step by step numberExample:This example sets the step selection option for myJob job to end ofstep.myJob.RestartReadStepSelectionOption = ABQ_STEP_OBJECT
- Returns:
enum abq_restart_read_step_sel_option
- Return type:
int
- property restart_request_frequency: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestFrequency() As shortDEPRECATED - please use RestartRequestOption instead. Sets or returns thefrequency of restart requests.Returns:The frequency of restart requests.Legal values:0 (None)1 (After each increment)999 (After the last increment in each step and after the lastincrement of the analysis)Example:This example sets the restart request frequency for myJob job to999.myJob.RestartRequestFrequency = 999
- Return type:
int
- property restart_request_frequency_value: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestFrequencyValue() As shortSets or returns the frequencey value of restart requests. This is onlyvalid if RestartRequestOption is ABQ_RESTART_SPECINT. The value must be greaterthan 0.Returns:The frequency value of restart requests.Example:This example sets the restart request frequency value for myJob jobto 10.myJob.RestartRequestFrequencyValue = 10
- Return type:
int
- property restart_request_interval_value: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestIntervalValue() As shortSets or returns the interval of restart requests. This is only valid ifRestartRequestOption is ABQ_RESTART_NUMINT The value must be greater than0.Returns:The interval of restart requests.Example:This example sets the restart request interval for myJob job to10.myJob.RestartRequestIntervalValue = 10
- Return type:
int
- property restart_request_option: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestOption() As shortSets or returns the restart request option.Returns:The option of restart requests.Legal values:ABQ_RESTART_NONE - No restart data.ABQ_RESTART_EVERYINC- Collect on every increment.ABQ_RESTART_SPECINC - Used to define the frequency to collect thedata.Used in conjunction withRestartRequestFrequencyValue.ABQ_RESTART_NUMINT - Used to define the interval to collect thedata.Used in conjunction withRestartRequestIntervalValue.ABQ_RESTART_LASTINC - Collect after the last increment in each stepandafter the last increment of theanalysis.Example:This example sets the restart option for myJob job to everyincrement.myJob.RestartRequestOption = RESTART_EVERYINC
- Returns:
enum ABQ_RESTART_NONE
- Return type:
int
- property restart_request_overlay: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestOverlay() As booleanSets or returns the overlay option for the restartrequest.Returns:A boolean specifying whether the to use the overlayoption.Example:This example sets the overlay option for the restart request formyJob job to True.myJob.RestartRequestOverlay = True
- Return type:
bool
- property restart_request_time_marks: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property RestartRequestTimeMarks() As booleanSets or returns the time marks flag for restart requests. This is onlyvalid if the RestartRequestOption is ABQ_RESTART_NUMINT.Returns:The time marks flag for restart requests.Example:This example sets the time marks flag for myJob job to10.myJob.RestartRequestTimeMarks = True
- Return type:
bool
- property scratch: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Scratch() As CATBSTRSets or returns or the path to the scratch directory.Returns:The path to the scratch directory.Example:This example sets the scratch directory for the myJob job to“D:Scratch”.myJob.Scratch = “D:Scratch”
- Return type:
str
- property source: bool¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Source() As booleanSets or returns the source for analysis.Returns:The source (model or input file).Example:This example sets the time marks flag for myJob job to FromModel.myJob.Source = True
- Return type:
bool
- submit_job() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SubmitJob()Submits the job.
- Return type:
None
- property type: int¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property Type() As Job_TypeReturns or sets the job type.Returns:The job type.Legal values:ANALYSISDATACHECKCONTINUESYNTAXCHECKRESTARTExample:This example sets the job type for the myJob job toANALYSIS.myJob.Type = ANALYSIS
- Returns:
enum job_type
- Return type:
int
- property user_subroutine: str¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
- o Property UserSubroutine() As CATBSTRSets or returns the user subroutine file path.Returns:The user subroutine file path.Example:This example sets the user subroutine path for the myJob job to“D:/UserSub”.myJob.UserSubroutine = “D:/UserSub”
- Return type:
str
- write_input_file() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub WriteInputFile()Writes the input file for the job.
- Return type:
None