The following command is used to record a user-defined command in the Abaqus journal file.
This function may be used by a user-defined command to record itself in the Abaqus journal file.
For example,
def setValues( self, **kargs ): for arg,value in kargs.items(): setattr(self, arg, value) from abaqus import journalMethodCall objPath = '%s[%r]' % (self.reposPath, self.name) journalMethodCall(objPath, 'setValues', (), kargs)
Note: Your command should not call journalMethodCall if the command changes the mdb using built-in Abaqus Scripting Interface commands, because built-in commands are journaled by default. A command that changes the mdb customData is one example of a command that should call journalMethodCall.
journalMethodCall
Required arguments
A String specifying the path to the object.
A String specifying the name of the method.
A sequence specifying the positional arguments to be written to the journal file.
A Python dict object specifying the keyword arguments to be written to the journal file.
Optional arguments
Return value
Exceptions