Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
In a custom TOOLKIT application, we are creating points in a section (via ProSectionEntityAdd), and they always appear to snap to a grid with spacing 0.01", which is far too coarse for our purposes. We've tried changing the part document accuracy to the minimum of 1e-4, and also changing the section epsilon to the minimum value of 1e-9.
Is there any way to avoid this snapping behavior and just leave the points at their specified positions?
Solved! Go to Solution.
Part accuracy doesn't afect the sketcher.
If you want to disable the points snapping to the grid you should set the grid_snap config option to no.
Also, how are those points constrained? Dimensions to reference entities or other methods? If you are creating the dimensions make sure the ProSecdimCreate function is succsesfull and that the dimension value is the correct one.
Part accuracy doesn't afect the sketcher.
If you want to disable the points snapping to the grid you should set the grid_snap config option to no.
Also, how are those points constrained? Dimensions to reference entities or other methods? If you are creating the dimensions make sure the ProSecdimCreate function is succsesfull and that the dimension value is the correct one.
Thanks Gabriel! We've been using ProSectionAutodim to add constraints after adding all the points, so we'll try adding the constraints explicitly using ProSecdimCreate.
We ended up setting grid_snap to no, and that was sufficient for our needs at the moment. Thanks, again, Gabriel!