Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

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 2019 backport Backport pull request created by Mergify labels Jan 17, 2025
@mergify mergify bot merged commit a26a270 into 2019 Jan 17, 2025
3 of 5 checks passed
@mergify mergify bot deleted the mergify/bp/2019/pr-5903 branch January 17, 2025 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2019 backport Backport pull request created by Mergify feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant