Trouble finding GeometryPath of a PathSpring
Posted: Fri Jan 06, 2023 11:34 am
Hello,
I am working with a path spring that wraps around a surface, and I am attempting to find the coordinates of the wrapping points as they change throughout a movement. It is similar to the question asked about muscle wrapping here (viewtopicPhpbb.php?f=91&t=7831).
However when I tried to implement similar code (adapted from the 4.0 code listed here viewtopicPhpbb.php?f=91&t=7723) for the path spring, it said that path springs have no function .getGeometryPath. Is the geometry path stored differently for a spring? How might I access it in MatLab?
The code in question:
spring = model.getForceSet.get('spring');
pathPointSet = spring.getGeometryPath().getPathPointSet();
Thank you for your help,
Finn
I am working with a path spring that wraps around a surface, and I am attempting to find the coordinates of the wrapping points as they change throughout a movement. It is similar to the question asked about muscle wrapping here (viewtopicPhpbb.php?f=91&t=7831).
However when I tried to implement similar code (adapted from the 4.0 code listed here viewtopicPhpbb.php?f=91&t=7723) for the path spring, it said that path springs have no function .getGeometryPath. Is the geometry path stored differently for a spring? How might I access it in MatLab?
The code in question:
spring = model.getForceSet.get('spring');
pathPointSet = spring.getGeometryPath().getPathPointSet();
Thank you for your help,
Finn