Saturday, November 2, 2013

Abaqus.rpy - Human readable writing

In Abaqus.rpy file, the commands performed in the CAE are recorded. But sometimes the transcription is not easily understandable, like:
faces1 = f1.getSequenceFromMask(mask=('[#50 ]', ), )
which could be expressed as well by:
faces1 = f1.findAt(((0.0, 3.0, 1.0), ), ((0.0, 3.0, 3.0), ))

To force the transcription in the 2nd format, one should execute the command:
session.journalOptions.setValues(replayGeometry=COORDINATE,recoverGeometry=COORDINATE)