- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello. I am using the python fusion api, and I am trying to get the information from a mid point constraint. When the curve/line terminates at the mid point, everything is fine and I am able to get all the information I need. Specifically getting the information about the point that exists at the midpoint.
my_constraints.point()
However, when I have a double line mid point constraint as shown in the image below, when I run the above line,
I get the following error:
File "<string>", line 1, in <module>
File "/Users/.../Library/Application Support/Autodesk/webdeploy/production/18bb3b1bcf969ed58454a634b918acc287ad6414/Autodesk Fusion 360.app/Contents/Api/Python/packages/adsk/fusion.py", line 78315, in _get_point
return _fusion.MidPointConstraint__get_point(self)
I wish to be able to access the id's (tokens) for each of the lines associated with the mid point constraint, but the other "point" isnt a point but a line.
Is there a way to access this information? Thank you so much for you help
I have attached the f3d file for the above, but I would hope that it would be pretty easy to replicate.
Solved! Go to Solution.