OutputsMeshToGraphics#

class ansys.dpf.core.operators.mesh.mesh_to_graphics.OutputsMeshToGraphics(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from mesh_to_graphics operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_graphics()
>>> # Connect inputs : op.inputs. ...
>>> result_nodes = op.outputs.nodes()
>>> result_normals = op.outputs.normals()
>>> result_connectivity = op.outputs.connectivity()

Overview#

nodes

Allows to get nodes output of the operator

normals

Allows to get normals output of the operator

connectivity

Allows to get connectivity output of the operator

Import detail#

from ansys.dpf.core.operators.mesh.mesh_to_graphics import OutputsMeshToGraphics

Property detail#

property OutputsMeshToGraphics.nodes: ansys.dpf.core.outputs.Output[ansys.dpf.core.field.Field]#

Allows to get nodes output of the operator

node coordinates

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_graphics()
>>> # Get the output from op.outputs. ...
>>> result_nodes = op.outputs.nodes()
property OutputsMeshToGraphics.normals: ansys.dpf.core.outputs.Output[ansys.dpf.core.field.Field]#

Allows to get normals output of the operator

node normals

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_graphics()
>>> # Get the output from op.outputs. ...
>>> result_normals = op.outputs.normals()
property OutputsMeshToGraphics.connectivity: ansys.dpf.core.outputs.Output[ansys.dpf.core.property_field.PropertyField]#

Allows to get connectivity output of the operator

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.mesh.mesh_to_graphics()
>>> # Get the output from op.outputs. ...
>>> result_connectivity = op.outputs.connectivity()

Method detail#

OutputsMeshToGraphics.__getitem__(index) → Output#
OutputsMeshToGraphics.__str__()#