Standard Abaqus Scripting Interface exceptions

Standard Abaqus Scripting Interface exceptions arise from errors in a script that relate to Abaqus/CAE. The standard Abaqus Scripting Interface exceptions that can be raised by a method are listed with each command in the Abaqus Scripting Reference Guide.

The standard Abaqus Scripting Interface exception types are listed below:

InvalidNameError

You specified an invalid name. Abaqus/CAE enforces a naming convention for objects that you create. Names must adhere to the following rules:

  • Part, model, instance, set, surface, feature, and job names can have up to 80 characters; other object names can have up to 38 characters. Instance names of models that have been instantiated as model instances in another model still have a 38-character limit. For imported sets/surfaces, parts, and model instances, the names are generated internally in Abaqus/CAE by combining part/instance/set names. You must ensure that the combined length will not exceed 80 characters; otherwise, the data check analysis will fail.

  • The name can include spaces and most punctuation marks and special characters; however, only 7-bit ASCII characters are supported.

    Warning:

    While Python allows most punctuation marks and special characters, some of the strings you provide will be used in an Abaqus input file; therefore, you cannot use the following characters: $&*~!()[]{}|;'`",.?/\ when you are naming an object, such as a part, a model or a job.

  • The name must not begin with a number.

  • The name must not begin or end with an underscore or a space.

  • The name must not contain a period or a double quote.

RangeError

A numeric value is out of range.

AbaqusError

Context-dependent message.

AbaqusException

Context-dependent message.

Note:

The command descriptions in the Abaqus Scripting Reference Guide list the type of standard Abaqus Scripting Interface exceptions that can occur; however, the exception messages are not included with the command description.