Plug-in Registration¶
Plug-in commands register kernel and GUI plug-ins in either the Plug-ins menu or in a toolbox. Plug-in registration commands for accessing both kernel and GUI plug-ins are located in the Abaqus GUI Toolkit Reference Guide.
Classes¶
Other Classes¶
- class AFXBoolKeyword(
- command,
- name,
- booleanType=
-1289378579811238030
, - isRequired=
False
, - defaultValue=
False
, Bases:
AFXKeyword
This class is designed for command keywords that have Boolean values.
Member Details:
-
TRUE_FALSE : --is-rst--:py:class:`int` =
788057351567744109
[source]¶ Keyword value will be True or False.
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Implements AFXKeyword.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
- setDefaultValueByString(defaultValueString)[source]¶
Sets the keyword’s default value (returns True if the given text string is valid).
- setValueByString(newValueString)[source]¶
Sets the keyword’s current value (returns True if the given text string is valid).
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
-
TRUE_FALSE : --is-rst--:py:class:`int` =
-
class AFXCommand(mode, method, objectName=
"''"
, registerQuery=False
)[source]¶ Bases:
FXObject
This class is the abstract base class for command classes that are processed by modes.
Member Details:
- activate()[source]¶
Activates the command; active commands will be processed during command generation.
- deactivate()[source]¶
Deactivates the command; inactive commands will not be processed during command generation.
- getCommandString()[source]¶
Returns the command string based on the current values of the active keywords.
- getExpandedObjectName()[source]¶
Returns the expanded object name that has all the “%s“‘s replaced by the current names.
- getKeyword(index)[source]¶
Returns the keyword at the given index (returns 0 if the index is out-of-bounds).
- isRequired()[source]¶
Returns True if this command is going to be sent even if none of its keywords has been modified, otherwise returns False.
-
setKeywordValuesToDefaults(ignoreUnspecified=
False
)[source]¶ Sets the values of all keywords to their defaults.
- setObjectName(objectName)[source]¶
Sets the object name.
- setRequired(val)[source]¶
Sets this command as required or optional; if True the command will always be sent, if False the command will be sent only if it has modified keywords or if it has no keywords.
-
class AFXKeyword(command, name, isRequired=
False
)[source]¶ Bases:
FXDataTarget
Abaqus.
Member Details:
-
ID_ACTIVATE : --is-rst--:py:class:`int` =
1448336455557406544
[source]¶ Used to activate the keyword.
-
ID_DEACTIVATE : --is-rst--:py:class:`int` =
60200375765067455
[source]¶ Used to deactivate the keyword.
- activate()[source]¶
Activates the keyword; active keywords will be processed during command generation.
- deactivate()[source]¶
Deactivates the keyword; inactive keywords will not be processed during command generation.
- getSetupCommands()[source]¶
Returns the keyword’s variable initilization commands (part of the generated command string).
- getTypeName()[source]¶
Returns the keyword type name.
Implemented in AFXBoolKeyword, AFXComSymConstKeyword, AFXComTableKeyword, AFXFloatKeyword, AFXIntKeyword, AFXObjectKeyword, AFXStringKeyword, AFXSymConstKeyword, AFXTogglableKeyword, AFXTupleKeyword, and AFXTableKeyword.
- getValueAsString()[source]¶
Returns the text string that represents the current keyword value.
Implemented in AFXBoolKeyword, AFXComSymConstKeyword, AFXComTableKeyword, AFXFloatKeyword, AFXIntKeyword, AFXObjectKeyword, AFXStringKeyword, AFXSymConstKeyword, AFXTogglableKeyword, and AFXTupleKeyword.
- isRequired()[source]¶
Returns True if the keyword is a required argument of the host command; or returns False if the keyword is optional.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implemented in AFXBoolKeyword, AFXComSymConstKeyword, AFXComTableKeyword, AFXFloatKeyword, AFXIntKeyword, AFXObjectKeyword, AFXStringKeyword, AFXTogglableKeyword, and AFXTupleKeyword.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
-
ID_ACTIVATE : --is-rst--:py:class:`int` =
-
class AFXColumnItems(referenceColumn, tgt=
None
, sel=0
, opts=0
)[source]¶ Bases:
FXObject
Abaqus.
Member Details:
-
class AFXComTableKeyword(command, name, isRequired=
False
, minLength=0
, maxLength=-1
, opts=0
)[source]¶ Bases:
AFXKeyword
This class manages values which are sent as tables in a command.
Member Details:
-
ID_VALUE : --is-rst--:py:class:`int` =
2069792015519862211
[source]¶ ID for widgets exchanging array strings.
- equal(index, a, b)[source]¶
Returns True if the two table element values compare equal (index not used).
- getColumnStyle(index)[source]¶
Returns the style of the column elements. Will never return AFXTABLE_STYLE_DEFAULT!
- getColumnType(index)[source]¶
Returns the type of the column elements. Will never return AFXTABLE_TYPE_DEFAULT!
- getFormattedValue(row, column)[source]¶
Returns the formatted value of the table element, suitable for placing in a command. If the element has AFXTABLE_EVALUATE style, and its contents are invalid, an exception will be thrown.
- getTypeName()[source]¶
Returns the name of the table keyword type.
Implements AFXKeyword. Reimplemented in AFXTableKeyword.
- getValueAsString()[source]¶
Returns the formatted string that represents the current keyword value in a command.
Implements AFXKeyword.
- getValues()[source]¶
Returns a string containing values of the tuple elements.
as entered by the user.
- getValuesForBlanks()[source]¶
Returns a string with values substituted for blanks for all table columns.
- insertColumns(index, numColumns)[source]¶
Inserts columns starting at the given index.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- removeColumns(index, numColumns)[source]¶
Removes columns starting at the given index.
- setNumColumnsRange(minLength, maxLength)[source]¶
Sets the allowable range for the number of columns.
- setValueForBlank(column, value)[source]¶
Sets the element value substituted for blank for the column.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
-
ID_VALUE : --is-rst--:py:class:`int` =
- class AFXMode[source]¶
Bases:
FXObject
This class is the base class for modes.
Member Details:
-
ID_CMD_ACTIVATED : --is-rst--:py:class:`int` =
1920766075290485386
[source]¶ Indicates that a command is activated.
-
ID_CMD_DEACTIVATED : --is-rst--:py:class:`int` =
2673154049639040466
[source]¶ Indicates that a command is deactivated.
-
ID_CMD_MODIFIED : --is-rst--:py:class:`int` =
1759499830165970511
[source]¶ Indicates that a command is modified.
-
ID_GET_NEXT : --is-rst--:py:class:`int` =
2080308958794250662
[source]¶ Gets the next step/dialog box.
-
ID_CMD_ACTIVATED : --is-rst--:py:class:`int` =
-
class AFXFloatKeyword(command, name, isRequired=
False
, defaultValue=0.0
, precision=6
)[source]¶ Bases:
AFXKeyword
This class is designed for the command keywords that have floating-point values.
Member Details:
- getPrecision()[source]¶
Returns the precision that is used for converting the keyword’s floating-point value to a text string.
- getValue()[source]¶
Returns the keyword’s current value, or zero if the content expression is invalid.
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Implements AFXKeyword.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
- setPrecision(precision)[source]¶
Sets the precision that is used for converting the keyword’s floating-point value to a text string.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
-
class AFXFloatTarget(initialValue=
0.0
)[source]¶ Bases:
AFXTarget
This class is designed for floating-point targets.
Member Details:
- class AFXTarget[source]¶
Bases:
FXObject
This class is the base class for all target objects.
Member Details:
- getType()[source]¶
Returns the target type; this method is deprecated in Abaqus 6.6, and its use should be replaced by getTypeName().
- getTypeName()[source]¶
Returns the name of the target type.
Implemented in AFXFloatTarget, AFXIntTarget, and AFXStringTarget.
-
class AFXIntKeyword(command, name, isRequired=
False
, defaultValue=0
, evalExpression=True
)[source]¶ Bases:
AFXKeyword
Abaqus.
Member Details:
- getTypeName()[source]¶
Returns the name of the keyword type.
Implements AFXKeyword. Reimplemented in AFXSymConstKeyword.
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Implements AFXKeyword. Reimplemented in AFXSymConstKeyword.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
- syncPreviousValue()[source]¶
Sets the keyword’s previous value to its current value.
Implements AFXKeyword. By clicking on Send, you accept that Dassault Systèmes will process your personal data and may contact you for further information. [Privacy Policy]( https://www.3ds.com/privacy-policy). Total Results: Results per page This page cannot be found. The page might not exist or is temporarily unavailable. Try again or try searching for the topic. Use this form to provide feedback on this help topic. To get product support or to provide product feedback, go to [Frequently Asked Questions]( https://3ds.one/PO). For support for online purchased solutions, go to [Online Purchase Support](https://3ds.one/Q8). * Required Subject: Feedback on User Assistance * I acknowledge I have read and I hereby accept the [privacy policy]( https://www.3ds.com/privacy-policy) under which my personal data will be used by Dassault Systèmes.
-
class AFXIntTarget(initialValue=
0
)[source]¶ Bases:
AFXTarget
This class is designed for integer targets.
Member Details:
-
class AFXItemProvider(initialItems=
"''"
)[source]¶ Bases:
FXObject
This class provides a way to supply items to widgets, such as AFXComboBox and AFXList.
Member Details:
-
class FXDataTarget(value, tgt=
None
, sel=0
)[source]¶ Bases:
FXObject
A Data Target allows a valuator widget such as a Slider or Text Field to be directly connected with a variable in the program.
Whenever the valuator control changes, the variable connected through the data target is automatically updated; conversely, whenever the program changes a variable, all the connected valuator widgets will be updated to reflect this new value on the display. Data Targets also allow connecting Radio Buttons, Menu Commands, and so on to a variable. In this case, the new value of the connected variable is computed by substracting ID_OPTION from the message ID.
Member Details:
-
class AFXObjectKeyword(command, name, isRequired=
False
, defaultValue="''"
)[source]¶ Bases:
AFXKeyword
This class is designed for the command keywords that have objects as values.
Member Details:
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Implements AFXKeyword.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
- syncPreviousValue()[source]¶
Sets the keyword’s previous value to its current value.
Implements AFXKeyword. By clicking on Send, you accept that Dassault Systèmes will process your personal data and may contact you for further information. [Privacy Policy]( https://www.3ds.com/privacy-policy). Total Results: Results per page This page cannot be found. The page might not exist or is temporarily unavailable. Try again or try searching for the topic. Use this form to provide feedback on this help topic. To get product support or to provide product feedback, go to [Frequently Asked Questions]( https://3ds.one/PO). For support for online purchased solutions, go to [Online Purchase Support](https://3ds.one/Q8). * Required Subject: Feedback on User Assistance * I acknowledge I have read and I hereby accept the [privacy policy]( https://www.3ds.com/privacy-policy) under which my personal data will be used by Dassault Systèmes.
- class AFXSequenceString[source]¶
Bases:
object
This class supports parsing and modification of strings containing sequences of elements separated with some separator character.
Member Details:
- forceNumElements(num, fill)[source]¶
Forces the content string to contain a tuple with the given number of elements.
- getContentString()[source]¶
Returns a string containing values of the sequence elements.
Reimplemented in AFX2DArrayConstString.
- getPosition(index)[source]¶
Returns the position in the content string of the beginning character of the sequence element.
- insert(index, numElements, val)[source]¶
Inserts many copies of an element.
- remove(index, numElements)[source]¶
Removes elements starting at the given index.
-
setValue(index, value, replaceAll=
False
)[source]¶ Sets the value of a sequence element.
-
class AFXStringKeyword(command, name, isRequired=
False
, defaultValue="''"
)[source]¶ Bases:
AFXKeyword
This class is designed for the command keywords that have text string values.
Member Details:
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Implements AFXKeyword.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
- syncPreviousValue()[source]¶
Sets the keyword’s previous value to its current value.
Implements AFXKeyword. By clicking on Send, you accept that Dassault Systèmes will process your personal data and may contact you for further information. [Privacy Policy]( https://www.3ds.com/privacy-policy). Total Results: Results per page This page cannot be found. The page might not exist or is temporarily unavailable. Try again or try searching for the topic. Use this form to provide feedback on this help topic. To get product support or to provide product feedback, go to [Frequently Asked Questions]( https://3ds.one/PO). For support for online purchased solutions, go to [Online Purchase Support](https://3ds.one/Q8). * Required Subject: Feedback on User Assistance * I acknowledge I have read and I hereby accept the [privacy policy]( https://www.3ds.com/privacy-policy) under which my personal data will be used by Dassault Systèmes.
-
class AFXStringTarget(initialValue=
"''"
)[source]¶ Bases:
AFXTarget
This class is designed for string targets.
Member Details:
-
class AFXSymConstKeyword(command, name, isRequired=
False
, defaultValue=0
)[source]¶ Bases:
AFXIntKeyword
This class is designed for the command keywords that have symbolic constant values.
Member Details:
- getValueAsString()[source]¶
Returns the text string that represents the keyword’s current value.
Reimplemented from AFXIntKeyword.
- setDefaultValue(defaultValue)[source]¶
Sets the keyword’s default value.
- setDefaultValueByString(defaultValueString)[source]¶
Sets the keyword’s default value (returns True if the given text string is valid).
- setValueByString(newValueString)[source]¶
Sets the keyword’s current value (returns True if the given text string is valid).
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
-
class AFXTransition(intTarget, op, refValue, tgt, sel, ptr=
'None'
)[source]¶ Bases:
FXObject
This class is designed for the finite state transition that the GUI (mostly the dialog boxes) can define to perform actions according to state changes.
The first three arguments of the constructors (keyword, op, and refValue) define an expression (keyword.getValue() op refValue). The current value of the keyword is compared with the reference value. When the expression evaluates to True, a message with the given selector will be sent to the specified message target.
Member Details:
-
class AFXTupleKeyword(command, name, isRequired=
False
, minLength=0
, maxLength=-1
, opts=0
)[source]¶ Bases:
AFXKeyword
This class manages values which are sent as tuples in a command.
Member Details:
- equal(index, a, b)[source]¶
Returns True if the two tuple element values compare equal (index is not used).
- getElementStyle(index)[source]¶
Returns the style of one element. Will never return AFXTUPLE_STYLE_DEFAULT!
- getElementType(index)[source]¶
Returns the type of one element. Will never return AFXTUPLE_TYPE_DEFAULT!
- getFormattedValue(index)[source]¶
Returns the formatted value of the tuple element, suitable for placing in a command. If the element has AFXTUPLE_EVALUATE style and its contents are invalid, an exception will be thrown.
- getValueAsString()[source]¶
Returns the formatted string that represents the current keyword value in a command.
Implements AFXKeyword.
- getValues()[source]¶
Returns a string containing values (separated by commas) of the tuple elements.
- getValuesForBlanks()[source]¶
Returns a string containing values substituted for blanks for the tuple elements.
- isValueChanged()[source]¶
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
-
setValueToDefault(ignoreUnspecified=
False
)[source]¶ Sets the keyword value to its default.
- setValues(values)[source]¶
Sets values for all tuple elements (use commas to separate values within the string).
- class FXDrawable[source]¶
Bases:
FXId
Drawable is an abstract base class for any surface that can be drawn upon, such as a FXWindow, or FXImage.
Member Details:
- class FXId[source]¶
Bases:
FXObject
Encapsulates server side resource.
Member Details:
- create()[source]¶
Create resource.
Reimplemented in FXBitmap, FXColorBar, FXColorSelector, FXColorWell, FXColorWheel, FXComboBox, FXComposite, FXCursor, FXDirBox, FXDirList, FXDockTitle, FXDriveBox, FXFileList, FXFont, FXFontSelector, FXGLCanvas, FXGLContext, FXGLViewer, FXGLVisual, FXGroupBox, FXHeader, FXIcon, FXIconList, FXImage, FXImageView, FXLabel, FXList, FXListBox, FXMDIChild, FXMenuButton, FXMenuCaption, FXMenuCascade, FXProgressBar, FXMenuTitle, FXOptionMenu, FXPrintDialog, FXRootWindow, FXScrollWindow, FXShell, FXSpinner, FXStatusline, FXTabBar, FXTable, FXText, FXTextField, FXToggleButton, FXToolbarShell, FXTooltip, FXTopWindow, FXTreeList, FXTreeListBox, FXVisual, FXWindow, AFXManagerMenuPane, AFXMainWindow, AFXPromptArea, AFXBaseTable, AFXColorButton, AFXColorFlyout, AFXComboBox, AFXDialog, AFXFloatSpinner, AFXFlyoutButton, AFXListBox, AFXNote, AFXOptionTreeItem, AFXPrimFloatSpinner, AFXProgressBar, AFXSpinner, AFXTable, AFXTextField, and AFXVerticalAligner.
- destroy()[source]¶
Destroy resource.
Reimplemented in FXBitmap, FXComboBox, FXComposite, FXCursor, FXDirBox, FXDirList, FXDriveBox, FXFileList, FXFont, FXGLCanvas, FXGLContext, FXGLVisual, FXIcon, FXImage, FXListBox, FXMenuCascade, FXOptionMenu, FXRootWindow, FXTreeList, FXTreeListBox, FXVisual, FXWindow, AFXManagerMenuCascade, AFXColorFlyout, and AFXTable.
- detach()[source]¶
Detach resource.
Reimplemented in FXBitmap, FXColorBar, FXColorWell, FXColorWheel, FXComboBox, FXComposite, FXCursor, FXDirBox, FXDirList, FXDockTitle, FXDriveBox, FXFileList, FXFont, FXGLCanvas, FXGLContext, FXGLViewer, FXGLVisual, FXGroupBox, FXHeader, FXIcon, FXIconList, FXImage, FXImageView, FXLabel, FXList, FXListBox, FXMDIChild, FXMenuButton, FXMenuCaption, FXMenuCascade, FXProgressBar, FXMenuTitle, FXOptionMenu, FXRootWindow, FXStatusline, FXTable, FXText, FXToggleButton, FXTooltip, FXTopWindow, FXTreeList, FXTreeListBox, FXVisual, FXWindow, AFXBaseTable, AFXColorFlyout, AFXFlyoutButton, AFXNote, and AFXTable.
- class FXObjectList(orig)[source]¶
Bases:
object
List of pointers to objects.
Member Details:
- size()[source]¶
Return size of list.
By clicking on Send, you accept that Dassault Systèmes will process your personal data and may contact you for further information. [Privacy Policy]( https://www.3ds.com/privacy-policy). Total Results: Results per page
- FXMAPFUNC(object, messageType, messageId, method)[source]¶
Creates an entry in the object’s message map that will route a message to a method.
- Parameters:¶
- object¶
An instance of the class in which the message map entry is to be made. Typically this is “self”.
- messageType¶
An integer flag specifying the message type (e.g. SEL_COMMAND).
- messageId¶
An integer specifying the message ID.
- method¶
The method to which the message is to be routed. This method must be specified by including the class name (e.g. MyDB.myMethod).
- FXMAPFUNCS(object, messageType, startMessageId, endMessageId, method)[source]¶
Creates multiple entries in the object’s message map that will route messages to a method.
- Parameters:¶
- object¶
An instance of the class in which the message map entry is to be made. Typically this is “self”.
- messageType¶
An integer flag specifying the message type (e.g. SEL_COMMAND).
- startMessageId¶
An integer specifying the starting message ID.
- endMessageId¶
An integer specifying the ending message ID.
- method¶
The method to which the message is to be routed. This method must be specified by including the class name (e.g. MyDB.myMethod).
- MKUINT(messageId, messageType)[source]¶
Creates a message selector by combining a message ID and a message type.