What are some ways to fixture devices relative to other devices?

For example, optical breadboards (e.g., ThorLabs), fiducial markers (e.g., AprilTags), custom printed or machined bases.

What has worked well, what has been more difficult, and what are some tips and tricks you have to share? Any specific examples?