According to the Draft_Module page you can snap to the center of a BuildingPart. I wonder how that works.
I am unable to snap to a BuildingPart containing a single wall in Wireframe mode if only Center snap is active. And I have to switch to Wireframe mode to prevent snapping to faces.
The snap to BuildingPart works with Snap Center: https://github.com/FreeCAD/FreeCAD/pull/4410
You can also set Selectable to false in the object's view properties if there is interference between snapping.
Thanks for your comment. I am aware that Center snap should work for BuildingParts (see the linked page in the OP). Perhaps I am doing something wrong, but I cannot get it to work at all.
marioalexis wrote: ↑Wed Jul 21, 2021 1:12 pm
set Selectable to false
You would have to do that for the objects inside the BuildingPart then. But even then it does not work. And AFAICT snapping to objects that are not selectable is impossible.
If you can get it to work then please provide step-by-step instructions.
I guess we are doing the same (unless I misunderstood your first post). In any case, here are the steps:
Create a BuildingPart
Create ArchWall inside the BuildingPart
Set Snap Center to ON
Select some Draft Modification or Creation command.
Try to snap the BuildingPart.
Attachments
Screenshot_snap_BuildingPart.png (391.07 KiB) Viewed 1385 times
Ah, thanks for that! I was clicking on the edges of the wall and did not consider the text element and the 3 axis lines of the BuildingPart.
BTW:
Using Center snap for this, and for snapping to WP proxies, is a bit confusing IMO. Wouldn't it make more sense to extend Draft_Snap_Special instead?