• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

haiiliin / abqpy / 6433593370

06 Oct 2023 03:30PM UTC coverage: 73.825% (-9.3%) from 83.134%
6433593370

push

github

web-flow
[feature] Add GUI Toolkit Commands (backport #5260) (#5285)

[feature] Add GUI Toolkit Commands (#5260)

* Markdown

* Delete

* Add AFXApp and AFXBoolKeyword

* Delete

* Update headings

* Create parse.py

* Update parse.py

* Unicode Spaces

* Update .pre-commit-config.yaml

* Update md types

* Update Kernel plug-in registration commands.md

* Generated python stubs

* Add class inheritance

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Revert "Update .pre-commit-config.yaml"

This reverts commit 9d3aef3cc.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix mypy errors

* Delete parse.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix return types and imports

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update AFXColumnItems.md

* Update abaqusGui.py

* Add class/global flags

* Delete flags.py

* Fix flags

* Fix

* Skip mypy

* Update abaqusGui.py

* Update constants.py

* Create kernelAccess.py

* Add plugin docs

* Revert changes by docformatter

* Delete markdown files

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit a65ff5df8)

Co-authored-by: Hailin Wang <hailin.wang@connect.polyu.hk>

3661 of 3661 new or added lines in 151 files covered. (100.0%)

24137 of 32695 relevant lines covered (73.82%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/abaqus/PlugInRegistration/AFXIntKeyword.py
1
from __future__ import annotations
×
2

3
from .AFXCommand import AFXCommand
×
4
from .AFXKeyword import AFXKeyword
×
5
from .constants import INT_DEFAULT
×
6

7

8
class AFXIntKeyword(AFXKeyword):
×
9
    """Abaqus."""
10

11
    def __init__(
×
12
        self,
13
        command: AFXCommand,
14
        name: str,
15
        isRequired: bool = False,
16
        defaultValue: int = INT_DEFAULT,
17
        evalExpression: bool = True,
18
    ):
19
        """Constructor.
20

21
        Parameters
22
        ----------
23
        command : AFXCommand
24
            Host command.
25
        name : str
26
            Keyword name.
27
        isRequired : bool
28
            True if the keyword is a required argument of the command.
29
        defaultValue : int
30
            Default value.
31
        evalExpression : bool
32
            True if the keyword supports expression evaluation.
33
        """
34

35
    def getTypeName(self):
×
36
        """Returns the name of the keyword type.
37

38
        Implements AFXKeyword. Reimplemented in AFXSymConstKeyword.
39
        """
40

41
    def getValue(self):
×
42
        """Returns the keyword's current value."""
43

44
    def getValueAsString(self):
×
45
        """Returns the text string that represents the keyword's current value.
46

47
        Implements AFXKeyword. Reimplemented in AFXSymConstKeyword.
48
        """
49

50
    def isValueChanged(self):
×
51
        """Returns True if the keyword value differs from its previous value.
52

53
        Implements AFXKeyword.
54
        """
55

56
    def setDefaultValue(self, defaultValue: int):
×
57
        """Sets the keyword's default value.
58

59
        Parameters
60
        ----------
61
        defaultValue : int
62
            Default value.
63
        """
64

65
    def setValue(self, newValue: int):
×
66
        """Sets the keyword's current value.
67

68
        Parameters
69
        ----------
70
        newValue : int
71
            New value.
72
        """
73

74
    def setValueToDefault(self, ignoreUnspecified: bool = False):
×
75
        """Sets the keyword value to its default.
76

77
        Parameters
78
        ----------
79
        ignoreUnspecified : bool
80
            Ignore setting the value if the default is unspecified.
81
        """
82

83
    def setValueToPrevious(self):
×
84
        """Sets the keyword value to its previous value.
85

86
        Implements AFXKeyword.
87
        """
88

89
    def syncPreviousValue(self):
×
90
        """Sets the keyword's previous value to its current value.
91

92
        Implements AFXKeyword. By clicking on Send, you accept that Dassault Systèmes will process your
93
        personal data and may contact you for further information. [Privacy Policy](
94
        https://www.3ds.com/privacy-policy).
95
        Total Results: Results per page This page cannot be found. The page might not exist or is
96
        temporarily unavailable. Try again or try searching for the topic. Use this form to provide feedback
97
        on this help topic. To get product support or to provide product feedback, go to [Frequently Asked
98
        Questions](
99
        https://3ds.one/PO).
100
        For support for online purchased solutions, go to [Online Purchase Support](https://3ds.one/Q8). *
101
        Required Subject: Feedback on User Assistance * I acknowledge I have read and I hereby accept the
102
        [privacy policy](
103
        https://www.3ds.com/privacy-policy)
104
        under which my personal data will be used by Dassault Systèmes.
105
        """
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc