HyperWorks Solvers

SET_ATTRIBUTE

SET_ATTRIBUTE

Previous topic Next topic No expanding text in this topic  

SET_ATTRIBUTE

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Subroutine Type

Utility/Data Access

Definition

This subroutine modifies the attribute accessed by the last MODFNC or MODSET call.

Use

This subroutine must be preceded by MODFNC or MODSET calls.  It modifies the same Element/ID referenced by the preceding MODFNC or MODSET until another MODFNC or MODSET with a different Element ID is called. You can have multiple SET_ATTRIBUTE calls after a preceding MODFNC or MODSET call.

Calling Syntax

Fortran

SUBROUTINE SET_ATTRIBUTE(INPUT, INFO)

 

C

c_set_attribute(input, info)

 

Python

info = py_set_attribute(input)

 

MATLAB

info = m_set_attribute(input)

Input Arguments

[string] INPUT

The value of the attribute, cast as character string.

 

[integer] INFO

The information about the call status or return value type.  A negative value indicates failure in modifying the model data.

0

Attribute successfully modified.

-1

Element name unrecognized or unsupported.

-2

ID not found or invalid.

-3

Attribute name unrecognized or unsupported.

-4

Attribute is a non-modifiable constant character string.

Output Values

None.

See Also:

MODSET

Data Access Subroutines