I have been using Rhino.Inside Revit to place columns along a curve. I have the normals at the point of placement, which i was going to use to rotate the columns, however they all place according to world xyz. I tried rotating all the plane, then using the new rotated plane as a host, i tried rotating the geometry afterwards in grasshopper, which gave null results. I tried hosting the columns to a curve, and rotating the curve.
I could create a rotation parameter within the family itself, and then map the angle to that parameter. I feel like there must be some simple thing I’m missing.
As @Czaja showed in its video addFamilyInstanceByLocation takes a plane as an input.
The component honors the plane orientation when inserting new instances.
It had a bug and didn’t work well the first time it creates the family instance.
Now it’s fixed, so could you please update and confirm is fixed on your side as well?
I am having similar issues with rotating a family. I am testing some of the features and attempting to populate a vertical surface with an individual brick family I created. I am getting the error “Can’t rotate element into this position.” I tried using the host parameter by inputting the individual planes for the rotated bricks then using the center point of those planes for the location, but that also did not work. The example image is just using the planes as the input location.
The brick family is at 0,0,0 and oriented in the same direction as they are on the surface. They just aren’t rotating when pushed to Revit. I have edited the family to be “work plane based” and that also did not work. They stay vertical with no rotation. Any ideas why they wouldn’t be rotating?
Did anyone come across a solution for rotating columns?
If i place with a curve then there is no way to control the rotation, if i place with Family then rotation is there but not way to create the height. Tried to add a set parameter to set Top Level but it didn’t work?
I recognized that the “Add Family Instance” component changed after the last update.
Before it was possible to use a “SketchPlane” as host element to place families that are rotated in space.
Now I get the error message “Data conversion failed from Revit Sketch Plane to Revit Host”.
Is there any other way to place families that are rotated three-dimensionally?
The family I want to place is a work plane based family.
thanks for your reply, the problem with my panels is that they are not only rotated but also tilted.
If I try it with a plane only, the component complains that it can’t rotate the element into that position.
I am sure there is some way to do the rotation in 3d like you are working on, but determining that from a series of 2d rotations can be a real challenge. I would need to look at the specific model and give it a run ourselves.
The family placement still works great, but I’m currently running into a performance issue, since I have to place a huge amount of elements (50000+). It currently takes a few hours to do so, does anyone have a tip on how to speed up the process?
Currently I’m placing 6 different Families, they are all work-plane based generic models similar to the ones shown in the screenshot I posted a few weeks ago.
To create the Family I basically convert a Rhino block into a Revit family using the Rhino.Inside create family component.
I would benchmark this a bit. See where the time is being spent.
If the 6 Families are created by one Grasshopper definition. Then turn that off. Then have a definition that places the 50,000 instances without having to create the New families. See how fast that is. That eliminates the Rhino > Revit Geometry conversion from the equation.
Second test is to create 6 different simple box families. Then using the very simple box familiy place the 50,000. It is possible the geometry in the Family is too complicated. There are situations you would keep the highly accurate 6 objects in Rhino for fabrication and use a simplified geometry in Revit to produce drawings and schedules of the overall building. Then send the Rhino model to the contractor to be able to produce the accurate part.
@kike , does that mean I would have to tick “Work Plane-Based” for each family created manually?
Or is there an option to do that within Grasshopper?