Replies: 1 comment
-
Hi @gudSiW, While we don't plan to rename much of the attributes either in WS or client, you can fork your own version and customize it to your liking. Maybe we can take some inspiration from it. |
Beta Was this translation helpful? Give feedback.
-
I created a model, in which I want to find members and lines which are defined by a specific node.
In the end it worked, but I noticed that:
1. the Args for instantiation do not match the variables
Example Line():
Args: nodes_no (str) <--> in __init__: clientObject.definition_nodes
So first you have to notice, that the Args-names are not the variable names and then you have to have a look in the source code (cause it is not shown via docstring) or help yourself otherwise, if you want to get this variable.
2. different classes have different names for more or less the same
For the class Member() the defining nodes are:
Args: start_node_no (int), end_node_no (int)<--> clientObject.node_start, clientObject.node_end
Additionally here we have a different data type int not str.
And if I use clientObject.__dict__ one sees that you could also use clientObject.nodes for a Member-Object.
For me the first point is the more confusing so I would suggest that this is changed or that it is written in a documentation. The second point would be a helpful standardisation, but could be covered with the first point.
Thanks for consideration.
Beta Was this translation helpful? Give feedback.
All reactions