Problem wtih adjustable angle

Problem wtih adjustable angle

agnija.praskelevica
Enthusiast Enthusiast
1,328 Views
12 Replies
Message 1 of 13

Problem wtih adjustable angle

agnija.praskelevica
Enthusiast
Enthusiast

Hello! 

I have a problem with adjustable angle. 

I made file with light and set all setups (work plane based and shared) to load in another family (generic family type)

1.PNG

Then I made my second family file (generic type) and host ref. line with adj. angle.

2.PNG

Then I try to load my lighting fixture family to generic family and host on plane. Than I pick a ref. line.

3.PNG

And then my light is uncontrolled rotate to 90 degrees and I can rotate back and host to ref.line with my adj.angle. 

4.PNG

 

Can anyone help with that? 

Thank you!

 

0 Likes
1,329 Views
12 Replies
Replies (12)
Message 2 of 13

RDAOU
Mentor
Mentor

@agnija.praskelevica 

 

  • When you are placing the light fixture in the generic, are you placing it on face or on work plane?
  • When nested it needs to be hosted on the respective plane (it has 2, the base plane and a normal plane) not on the reference line... To do so you need use pick plane >> hover over the line till you highlight the desired plane

Apart from the above, it is not clear what type of light, where it will be hosted in the project, how will it be expected to rotate!!! from the image you posted it looks like a recessed can or similar and doesn't really look rotatable 

 

Post the family components to have a closer look

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 3 of 13

agnija.praskelevica
Enthusiast
Enthusiast

This light can be rotate above -15 and + 15 degree, like that:

1.PNG

And I add my lighting fixture family file with light and generic file without light.

0 Likes
Message 4 of 13

MetalFingerz
Advocate
Advocate
Accepted solution

Hello @agnija.praskelevica ,

 

When it comes to hosting on a reference line, your nested family has to be face-based. As far as I know, making it workplane based will not work.

 

Then as @RDAOU said, when nesting the family you have to :

- edit its workplane

- pick a plane and click OK

- then hover on a reference line and tab it to select which plane of the line you want the nested family to be hosted on

- adjust the position of the nested family on the line

 

Capture d’écran 2021-09-15 à 17.59.14.pngCapture d’écran 2021-09-15 à 17.54.33.pngCapture d’écran 2021-09-15 à 17.54.42.pngCapture d’écran 2021-09-15 à 17.54.52.png

0 Likes
Message 5 of 13

agnija.praskelevica
Enthusiast
Enthusiast

It is still not working. 😞

Maybe my skills in Revit are too bad. 

I try adjustable angle already 3 months, and not result. 😞

0 Likes
Message 6 of 13

ToanDN
Consultant
Consultant
Accepted solution

@agnija.praskelevica wrote:

It is still not working. 😞

Maybe my skills in Revit are too bad. 

I try adjustable angle already 3 months, and not result. 😞


Your nested family CAN be a workplane based like what you already have.  You just need to move the light to the Level/Origin reference plane.  Then the rest of hosting it on a reference plane of of reference line (not the reference line itself) has already been explained multiple times.

 

ToanDN_0-1633973191545.png

 

ToanDN_1-1633973324123.png

 

ToanDN_2-1633973353856.png

 

ToanDN_0-1633973395871.png

 

 

 

 

0 Likes
Message 7 of 13

barthbradley
Consultant
Consultant

@agnija.praskelevica wrote:

 

I try adjustable angle already 3 months, and not result. 😞


 

You've been at this for 3 months???  Wow.

 

Post your file and let us fix 'er up for you. Probably take a few minutes though. That okay?  

0 Likes
Message 8 of 13

agnija.praskelevica
Enthusiast
Enthusiast

If I try this method, then my light source rotate, like that, but angle is working.

agnijapraskelevica_0-1634201836813.png

 

0 Likes
Message 9 of 13

RDAOU
Mentor
Mentor
Accepted solution

@agnija.praskelevica 

 

As stated in my initial reply...the purpose or intent of what you are trying to so is not clear. The light family which you have placed therein, is an object (1 element) ie: it has no rotating part in it. This means rotating that spot light as is will not function similar to the CAD detail you have posted. 

 

  1. If you want to have the light physically rotate as per your cad detail, you need to remodel it in Revit.
    • You will need to model the frame in one family and the core (spot) in a second family
    • Nest both into a lighting fixture
      1. the frame constrained to the reference plane parallel to the ground
      2. the core to a ref. line or a revolve which allow its rotation
  2. If you only want to rotate the light source, you can do that without rotating the geometry of the light itself. Simply use the OOTB Tilt Angles (see GIF below)

 

Light.gif

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 10 of 13

RDAOU
Mentor
Mentor
Accepted solution

@agnija.praskelevica 

 

Attached is a family for a rotating Spot light...it is based on the one you posted but not as detailed but I think you are capable enough to edit and Refine the Extrusions so that it looks like urs

 

It rotates Max. 15 degrees in all directions hence you will find 2 Angles ...See GIF BELOW

 

Rotating Spot.gif

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 11 of 13

agnija.praskelevica
Enthusiast
Enthusiast

Yes! You are right, in that way rotate the light! Maybe we have misunderstanding, because I still learning. 

 

But it is possible this solution - If I rotate the core, then light source rotate too, example, if I have a only A angle from -15 to 15 degrees, then light source rotate in the same angle? 

0 Likes
Message 12 of 13

RDAOU
Mentor
Mentor
Accepted solution

@agnija.praskelevica 

 

You can link the core rotation to that of the light source yes...However, the family attached measures angle from the Normal to the spot ie: the 15 degrees = 75 degrees if you need to control it via the Source Tilt parameter ... to do that

  • Either change the parameter in the family to measure from horizonal plane instead of vertical
  • Or in the host associate the Source Tilt angle with the Angle A ... ie: = 90 - Angle A

 

If you do not need the sport to rotate in a conically...then set Angle B to 0 always

 

Rotating Spot 1.gif

 

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 13 of 13

agnija.praskelevica
Enthusiast
Enthusiast

Thank you! 🙂 This was really helpfull!

0 Likes