Adaptive component in an angle

Adaptive component in an angle

DV944
Observer Observer
947 Views
7 Replies
Message 1 of 8

Adaptive component in an angle

DV944
Observer
Observer

Hi, 

 

Im creating an adaptive component of a single eclipse extrusion. I want to add a parameter to rotate the element in the blue axis.

 

Normally family component i create two reference lines (red lines) and a parameter label to it and allign the profile to it. But this approach doesn't seem to work in an adaptive component family.

 

Can tell em what im doing wrong?

 

davidvuong941_1-1705599941241.png

 

 

0 Likes
948 Views
7 Replies
Replies (7)
Message 2 of 8

Lachlan-JWP
Collaborator
Collaborator

The way to do it is to is to create profile that you want in a profile family, insert that into a generic model family and create a sweep from it. This will get you the rotation parameter for the sweep. Then load that family into the adaptive model family, create adaptive points at each end of the sweep, and place a reporting instance parameter for the length to drive the length of the generic model family.

 

See attached.

0 Likes
Message 3 of 8

barthbradley
Consultant
Consultant

Ref. Points have a Rotation Parameter. 

 

AP Rotate1.png

AP Rotate 2.png

AP Rotate 3.png

0 Likes
Message 4 of 8

DV944
Observer
Observer

@Lachlan-JWP 

 

Thanks for your help. Interesting to know that adaptive component families work in this way. I will investigate this further!

 

I do have a follow up question:

The component is now working perfectly and I have a facade where those elements are rotated individually based on a pattern. I've tried to link this to Dynamo and the script is working well, however till the last step:

setparameterbyname > it mentions the error that the parameter i want to adjust is a read-only parameter. This is half true. In the project when i go to the in-place editor by pressing "Edit Mass" to adjust this parameter (picture 1) there it allows me to adjust the rotation.

 

But if i go out this inplace editor mode by clicking "Finish Mass" it is indeed a 'greyed' parameter (picture 2)

 

I suspect that Dynamo only runs in a normal 'environment' and not in the inplace editor mode. Is there a way to bypass this? Otherwise i have to manually adjust the 1000 components haha for its rotation angle

 

DV944_4-1705665266438.png

 

DV944_5-1705665305398.png

 

0 Likes
Message 5 of 8

Alfredo_Medina
Mentor
Mentor

Maybe Dynamo can work for what you need, but you just need to find the node that works. Most nodes cannot change the value of instance parameters, only type parameters. But if you search in other packages or in the Dynamo forum you will find a way to change the value of instance parameters with Dyanmo.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 6 of 8

barthbradley
Consultant
Consultant

I don't understand why you would need Dynamo for this.  I guess I'd need a better understanding how you built the family.  

 

Screenshots show fully-parametric UV Divided Mass Surface hosting fully-parametric Elliptical-Shaped blades. Rotation Parameter control the blade rotation.   

 

ELP1.png 

ELP2.png

ELP3.png

ELP4.png

ELP5.png

 

...perhaps you are wanting all the blades rotated differently from one another?  I can see Dynamo assisting in this case, especially if you have a lot of blades.  

0 Likes
Message 7 of 8

Lachlan-JWP
Collaborator
Collaborator

I second @Alfredo_Medina in that reaching out to the Dynamo forum would be the best way solve this. They have much more knowledge of how dynamo interacts with Revit than I do.

0 Likes
Message 8 of 8

barthbradley
Consultant
Consultant

FWIW: check out the Mass Family in the attached RVT.  It has a Rotation Instance Parameter.    

 

 

 

 

0 Likes