v_sim.NodeValuesType¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.NodeValuesType(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Common name to refer to a #_VisuNodeValuesType.
- classmethod new(array)¶
- Parameters:
array (
v_sim.NodeArray) – av_sim.Dataobject.- Returns:
a newly created
v_sim.NodeValuesTypeobject.- Return type:
Create a
v_sim.NodeValuesobject to handle typeinates of nodes.New in version 3.8.
- getAt(node)¶
- Parameters:
node (
v_sim.Node) – av_sim.Nodeobject.- Returns:
the
v_sim.Elementfor node.- Return type:
Retrieves the type hosted on node.
New in version 3.8.
- setAt(node, element)¶
- Parameters:
node (
v_sim.Node) – av_sim.Nodeobject.element (
v_sim.Element) – type typeinates.
- Returns:
Trueif type for node is indeed changed.- Return type:
Changes the type hosted at node for element. This will change node and its location. node is not valid anymore after a call to this function.
New in version 3.8.