Skip to content

Data model object overwrite issue #3172

@seanpearsonuk

Description

@seanpearsonuk

Observed while pairing with @prmukherj. Child object of command instance is completely overwritten with primitive type:

>>> x = m.meshing.GenerateTheVolumeMeshWTM.create_instance()

<ansys.fluent.core.services.datamodel_se.PyTextualCommandArgumentsSubItem object at 0x00000208311E3610>

>>> x.ReMergeZones()

'No'

>>> x.ReMergeZones = True

>>> x.ReMergeZones()      

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

TypeError: 'bool' object is not callable

>>> x.ReMergeZones.set_state(True) 

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

AttributeError: 'bool' object has no attribute 'set_state'

>>>

Need to understand the full extent of this issue.

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