Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[feature] Add some missing members (backport #5903) #5944

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 17, 2025

Description

5 missing members are added in this PR

  • Session.View
  • abaqus.version
  • jobMessage (a basic module)
  • HEALER_PHASE (Abaqus constant)
  • FieldOutput.bulkDataBlocks

Session.View

Current situation

image

Intelissense states:

image

But one can normally access this method in Abaqus/CAE

>>> session.View.__doc__
'Session.View(name, fieldOfViewAngle, nearPlane, farPlaneMode, farPlane, width, height, projection, cameraPosition, cameraUpVector, cameraTarget, viewOffsetX, viewOffsetY, autoFit <, movieMode>) -> This method creates a \n                     View\n                     object.\n                     All dimensions and coordinates are specified in the model coordinate system.This method cannot be used to create a \n
                  View\n                           for a \n
               Layer\n                           object.\n

abaqus.version

Used to check abaqus version

abq2021 cae noGUI
Running: /.../Abaqus/2021/SIMULIA/EstProducts/2021/linux_a64/code/bin/ABQcaeK
Abaqus License Manager checked out the following license:
"cae" from Flexnet server XXXXXX
<X out of XXX licenses remain available>.
Python 2.7.15 (default, Feb  8 2020, 04:11:18)
[GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
>>> import abaqus
>>> abaqus.version
'2021'
>>>
abq2022 cae noGUI
Running: /.../Abaqus/2022/SIMULIA/EstProducts/2022/linux_a64/code/bin/ABQcaeK
Arguments: ['-cae', '-noGUI', '-lmlog', 'ON', '-tmpdir', '/tmp']
"cae" from Flexnet server XXXXXX
<X out of XXX licenses remain available>.
Python 2.7.15 (default, Jul 17 2021, 05:08:58)
[GCC 8.2.1 20180905 (Red Hat 8.2.1-3)]
>>> import abaqus
>>> abaqus.version
'2022'
>>>

jobMessage (a basic module)

Can be checked in the example simpleMonitor.py
Got with the command: abaqus fetch job=simpleMonitor

HEALER_PHASE (Abaqus constant)

It is inside jobMessage module

dir(jobMessage)

FieldOutput.bulkDataBlocks

Accessed by
odb.steps()[name].frames(i).fieldOutputs()[name].bulkDataBlocks[i]

This is an automatic backport of pull request #5903 done by Mergify.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hailin Wang <wanghailin@tongji.edu.cn>
Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>
(cherry picked from commit 0175c73)
@mergify mergify bot added 2024 backport Backport pull request created by Mergify labels Jan 17, 2025
@mergify mergify bot merged commit c3df3bb into 2024 Jan 17, 2025
1 of 3 checks passed
@mergify mergify bot deleted the mergify/bp/2024/pr-5903 branch January 17, 2025 06:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
2024 backport Backport pull request created by Mergify feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant