Snap overrides for PickPoint method

Snap overrides for PickPoint method

marius.fe
Contributor Contributor
362 Views
2 Replies
Message 1 of 3

Snap overrides for PickPoint method

marius.fe
Contributor
Contributor

We have googled a lot but could not find a solution for this question. We are currently using Revit 2020.

 

How it works with native Revit functionality (not using the API): While e.g., placing a wall in a 2D view and going into menu "Snap Overrides" with CTLR + right mouse button, all ObjectSnapTypes can be chosen, see first picture.

mariusfe_0-1654259402028.png

 

Question background (using the API): When using the Selection.PickPoint method, the Snap Overrides are greyed out and cannot be chosen.

mariusfe_2-1654259954512.png

 

You could define the ObjectSnapTypes in the method call PickPoint(ObjectSnapTypes), but that is not what we need. We would need to to let the user choose the Snap Overrides he wants in his siutation. Does anybody know if this is possible?

 

Thank you in advance, 

Marius

0 Likes
Accepted solutions (1)
363 Views
2 Replies
Replies (2)
Message 2 of 3

RPTHOMAS108
Mentor
Mentor
Accepted solution

No unfortunately the overrides don't work with the API selection methods. Additionally certain other snaps will not work either i.e. those that need context between the selected points (perpendicular or tangent etc.).

 

Even if you try the keyboard shortcuts for such (SO) it will not work. 

0 Likes
Message 3 of 3

r_ihm
Explorer
Explorer

Hello,


is there an update on this topic? 2 years later?

 

If no, please Autodesk can you fix it. It is very inconvenient for the users.

0 Likes