Skip to main content

mesh:mesh get attribute

Version: 0.0.0

Description

Uses the MeshedRegion APIs to return a given attribute of the mesh in input.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
abstract_meshed_regionabstract_meshed_region
Pin 1
Required
property_namestringSupported property names are: "connectivity", "reverse_connectivity", "mat", "faces_nodes_connectivity", "elements_faces_connectivity" (or any mesh's property field), "coordinates", "named_selection", "num_named_selections", "named_selection_names", "named_selection_locations", "node_scoping", "element_scoping", "face_scoping"...
Pin 2property_identifierint32, stringCan be used to get a property at a given index, example: a named selection's number or by name, example: a named selection's name.

Outputs

OutputNameExpected type(s)Description
Pin 0propertyscoping, field, property_field, int32, string_fieldReturns a property field for properties: "connectivity", "reverse_connectivity", "mat", "faces_nodes_connectivity", "elements_faces_connectivity" (or any mesh's property field), a field for property: "coordinates", a scoping for properties:"named_selection", "node_scoping", "element_scoping", "face_scoping", a string field for properties: "named_selection_names", "named_selection_locations" and an int for property: "num_named_selections".

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: mesh

Plugin: core

Scripting name: mesh_get_attribute

Full name: mesh.mesh_get_attribute

Internal name: mesh::get_attribute

License: None

Changelog

  • Version 0.0.0: Initial release.