Skip to content

command argument set_state is constrained in the general case #1026

@seanpearsonuk

Description

@seanpearsonuk
>>> meshing = meshong_session.meshing
>>> args  = meshing.ImportGeometry.new()
>>> args.NumParts.set_state
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "e:\ansysdev\pyfluent17\pyfluent\src\ansys\fluent\core\services\datamodel_se.py", line 874, in __getattr__
    raise AttributeError("Command Arguments are read-only.")
AttributeError: Command Arguments are read-only.

This is supposed to be blocked only for CommandArguments objects in the WorkflowWrapper, but we cannot edit the arguments in the above general scenario. I don't know if we need all that MakeReadOnly usage in datamodel_se.py - maybe only needed in the wrapper.

Metadata

Metadata

Assignees

Labels

bugIssue, problem or error in PyFluent

Type

No type

Projects

Status

2021-2024

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions