Nileo2005
Mechanical
- Jul 10, 2008
- 83
Alright. This might be the stupidest thing I have ever asked, but I just can't seem to figure it out for the life of me. I'm writing an automation script that does all my repetitious preprocessing for me and outputs my input file. I'm currently trying to write a bit of code that would place any nodes with a y coordinate higher than a certain value in a set. I've already done it for faces via centroid locations; grouping and the such isn't the problem at all. What I can't figure out is how to read in the coordinates of a certain node... I think getCoordinate(...) is what I'm loooking for, as it should return my coordinates in a tuple, alas I've run out of ideas on how to even employ it. What kind of arguments do I need? I just wish I could see an example of this command being used; that would be so much easier than :
"5.1.8 getCoordinates(...)
This method returns the coordinates of specified point.
Required argument
entity
A Vertex, Datum point, MeshNode, or ReferencePoint specifying the entity to query.
Optional arguments
None.
Return value
A tuple of three Floats representing the coordinates of the specified point.
Exceptions
None.
"5.1.8 getCoordinates(...)
This method returns the coordinates of specified point.
Required argument
entity
A Vertex, Datum point, MeshNode, or ReferencePoint specifying the entity to query.
Optional arguments
None.
Return value
A tuple of three Floats representing the coordinates of the specified point.
Exceptions
None.