Remove flip controls from bounding box computation family instance

Remove flip controls from bounding box computation family instance

Anonymous
Not applicable
1,379 Views
8 Replies
Message 1 of 9

Remove flip controls from bounding box computation family instance

Anonymous
Not applicable

How can I Remove flip controls from bounding box computation of a family instance within a revit 2017 project?

can I use a filter , the revit api docs doesnt seem to provide a soln here. It did tell me what I already knew unfortunately. It seems I must do some extra step like always as not enough has been added to the Revit api to make a complete soln without spending much time. It makes sense though the bigger the api the longer it takes to fix, maintain. A few more properties for methods wouldn't go astray though. 

Thanx

Buggmen

1,380 Views
8 Replies
Replies (8)
Message 2 of 9

Moustafa_K
Collaborator
Collaborator

Hi,

I am not sure if i am following you correctly are you trying to delete a flip control from a family instance?

Moustafa Khalil
Cropped-Sharp-Bim-500x125-Autodesk-1
0 Likes
Message 3 of 9

jeremytammik
Autodesk
Autodesk

I don't understand the question either.

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 4 of 9

josh_moore
Enthusiast
Enthusiast

Hi @jeremytammik I ran across this problem today as well.  Please see image attached.  I agree we really need a way to at least exclude the flip control or change boundingbox so it ignore it all together.  We could move the flip control in the content, but if writing a tool that is looking at content, we don't always have the luxury to change every content flip control location to make things work properly.  Any other ideas / ways to do this that perform well?  Really appreciate the thought on this.

Message 5 of 9

josh_moore
Enthusiast
Enthusiast

I now see in the API docs, it indicates explicitly that flip controls may be included even though they are not seen.  I would argue that flip controls should always be ignored as they are not actually geometry.  I can't imagine a use case where getting the bounding box with flip control would be useful.

Message 6 of 9

jeremytammik
Autodesk
Autodesk

Have you checked whether there is a wish list item for this in the Revit Idea Station? If not, I would suggest creating one...

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 7 of 9

josh_moore
Enthusiast
Enthusiast

Thanks Jeremy, I didn't see this idea yet so I made one here:  https://forums.autodesk.com/t5/revit-ideas/boundingbox-api-improvement/idc-p/9599482#M32741

Message 8 of 9

FrankHolidaytoiling
Advocate
Advocate

Devil is in the details Autodesk! -- Hey does anyone know if this issue has been resolved. Not much use filtering on bounding boxes when the objects flip arrows keep saying its in a wall and like Josh said you can't control standards for flip arrow placement everyone has their own and even the ones I have been bim managing and both mine and others are not good enough. I might try to write a script to move all the controls to the front middle and within the extrusions edge to at least fix our internal content. Does anyone know of a good starting point?

 

0 Likes
Message 9 of 9

hrferry
Explorer
Explorer

I'm experiencing something similar for a diagram family I created. Did anyone ever find a solution to control/limit the bounding box to visible components?

 

0 Likes