Skip to content

Fail to assign element of numpy array to mapdl parameter #3715

Closed
@koubaa

Description

@koubaa
a = np.array([1,2,3])
mapdl.parameters["Q"]=a[0]

causes an exception. a[0] is of type numpy.int64. This assignment should be allowed if the integer is within the allowable range of mapdl parameter integers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions