Arraying and Rotating an Object along a path with Dynamo and Revit

  Рет қаралды 16,670

Firas Noori

Firas Noori

Күн бұрын

Пікірлер: 126
@cleudimarneto6149
@cleudimarneto6149 5 жыл бұрын
Cheers for your videos! I just started using dynamo, and your content is very helpful. Thank you very much
@FirasNoori
@FirasNoori 5 жыл бұрын
Happy to hear that, any questions i will be there to help
@mubashirmamupt7124
@mubashirmamupt7124 5 жыл бұрын
Jazzakumulla khairn
@FirasNoori
@FirasNoori 5 жыл бұрын
God blesses u dear
@wathiknoori5640
@wathiknoori5640 3 жыл бұрын
Great job
@FirasNoori
@FirasNoori 3 жыл бұрын
Many thanks dear
@Maxfocke
@Maxfocke 2 жыл бұрын
Hi Firas, great tutorial! When i have two points. The point is used to set the family and the second one to set the direction of the rotation,. The goal is that i can set the family and than it rotates towards the second point. There are a lot of these two point pares and they are independent from each other. Thanks :)
@FirasNoori
@FirasNoori 2 жыл бұрын
Hi dear, you can re-organize each 2 point by changing the list ordering to allow group of 2 points as one for location and the other for direction
@Maxfocke
@Maxfocke 2 жыл бұрын
Hi Firas, many thanks for your reply :)) Which node can I use to rotate the family towards the second point?
@FirasNoori
@FirasNoori 2 жыл бұрын
@@Maxfocke hi dear, try using "FamilyInstance.Set Rotation"
@FirasNoori
@FirasNoori 2 жыл бұрын
@@Maxfocke kzbin.info/www/bejne/imOziKKtjcSeb5o
@lily2011uk
@lily2011uk 2 жыл бұрын
Thank you for sharing your skill. It was very clear and well explained but not sure why the curve in revit model does not show in dynamo:(
@FirasNoori
@FirasNoori 2 жыл бұрын
Thanks mate, I guess u need a different node to select them or to model them
@talia8092
@talia8092 5 жыл бұрын
Love your videos, they are so helpful!! I was wondering if there is a way to select a specific point on the plane so that all of the objects along the path rotate to face the point. Thanks!
@FirasNoori
@FirasNoori 5 жыл бұрын
Many thanks dear for such kind words, so you are in need to design nodes make a group of objects looking at a specific one point at there centre, coz if you pick a closed circle the nodes I designed will do that? Right ? Or not, if you can send me a sctech of want you want at my email plz
@dannyrr1
@dannyrr1 Жыл бұрын
Great video! I did an array, some chairs on an ellipse, on one side the rotation is perfect, on the other half it gets kind of messy. how can I make them all face center?
@FirasNoori
@FirasNoori Жыл бұрын
Hi dear, great, can you post a picture of the result, so I can know what's goings-on? My email is firas007noori@yahoo.com
@1102BE
@1102BE Жыл бұрын
hi Firas, great video thanks, do you have a Idea how to solve problem when more than 1 line/curve is selected , in a row - he teaks individual line /curve instead of 1 big, so there is overlapping of the families or there is wrong rotation on some of them.
@FirasNoori
@FirasNoori Жыл бұрын
Greeting, wishing you the best, to answer your question regarding using more than one curve, simply use "Select Model Elements" instead "Select Model Element" as the first allow the selection of more than ONE curve, then use "Element.Curves" to get the Dynamo geometry curve out of the Revit Element Curve, then used "List.Flatten" to soften the list and prepare it for the joining, then use "PolyCurve.ByJoinedCurves" to make on Polycurve from these fragmented curves, now go ahead and use any division, for example "Curve.PointAtParameter" and you notice that you will have all the curves (or the polycurve) divided not only one, Cheers FN
@TheHhtiras
@TheHhtiras 4 жыл бұрын
very very nice
@FirasNoori
@FirasNoori 4 жыл бұрын
Thanks dear
@graphikeye
@graphikeye 2 жыл бұрын
Any tips for finding the tangents on a polycurve? I have a bunch of model lines joined
@FirasNoori
@FirasNoori 2 жыл бұрын
Hay, sorry fo rmy late answer, did you try the line.bytangency that I used here in this video?
@ghassanalwaely5090
@ghassanalwaely5090 5 жыл бұрын
الله يرحم والديك أستاذ
@FirasNoori
@FirasNoori 5 жыл бұрын
الله يبارك بيك يا غالي
4 жыл бұрын
Hi Mr. Firas, great video! love it! , I wonder if i can do something a little easier, i need to instance an element over the edges of a regular polygon, is it possible? Thanks a lot!
@FirasNoori
@FirasNoori 4 жыл бұрын
Yes it is possible, do u want me to make u a video?
4 жыл бұрын
@@FirasNoori If it would not be a trouble for you, YES I would really like it, I think many people would like it too, it has many aplications!
@FirasNoori
@FirasNoori 4 жыл бұрын
@ kzbin.info/www/bejne/pnOsq2WVq79-ZqM
@jeremiely5053
@jeremiely5053 3 жыл бұрын
hi Firas, so informative video thanks. Q: instead of divide by point, can we do like point every x distance ? thank you
@FirasNoori
@FirasNoori 3 жыл бұрын
Thanks, dear for your kind words, to answer your question, you can define almost all types of division methods; i.e Curve.PointAtEqualChordLength or Curve.PointAtSegmentLengthFromPoint or Curve.PointAtChordLengthFromPoint or Curve.PointAtSegmentLength or Curve.PointAtParameter, different methods depend on what you want and how you want, to what type of input u need, if you need it based on chords coz you are filling straight lines not curve, or you want normal curved segment, etc.. Firas Noori
@jeremiely5053
@jeremiely5053 3 жыл бұрын
@@FirasNoori thank you, I will try the other options, have a nice weekend
@saribal
@saribal 5 жыл бұрын
Hi, I followed the above video but was hoping that it could be taken one step further? We want to rotate a family around a curve by using 2 points on the family? Is this possible?
@FirasNoori
@FirasNoori 5 жыл бұрын
Hi dear, can you send me a sketch or a picture of the case you need to achieve plz?
@JayPabs17
@JayPabs17 5 жыл бұрын
Is there a way to modify the point at which the object/family sits on the curve and a way to define the direction of the tangent?
@FirasNoori
@FirasNoori 5 жыл бұрын
Greeting dear Jay, if you want to modify the location of Object/Family on a curve you can simply use "Curve.PointAtParameter" which can specify the location as a percentage (0 =begining and 1=End), the rotation I used the tangent to define it as perpendicular to the curve at all times, but you can "Geometry.Rotate" node to control that manually
@juancano1906
@juancano1906 3 жыл бұрын
Thanks! I have a question, how can I rotate my elements on a desired degree? I mean, my family type follow a path but I write the degree that I want.
@FirasNoori
@FirasNoori 3 жыл бұрын
Hi dear, use "FamilyInstance.SetRotation" node, and see this video kzbin.info/www/bejne/imOziKKtjcSeb5o and this one! kzbin.info/www/bejne/f4Orq4Svr6ijgcU Cheers Firas Noori
@shashankbagane448
@shashankbagane448 3 жыл бұрын
I have placed families on a path if I want to align the object along the line (Align longer edge of rectangular object to the path of line). Please let me know how to do that.
@FirasNoori
@FirasNoori 3 жыл бұрын
I guess that I posted another video to allow the rotation of the element to the path itself here in the channel
@shashankbagane448
@shashankbagane448 3 жыл бұрын
@@FirasNoori I dont want to rotate. I just want to align it along the path. If I have placed a rectangular solid block along a path and if I want to align its longer edge along the path like I want to touch the longer edge of solid to the path line. How to do that ? Placed families are at the center of path line and I don't want that. I want it be on the either side of the path line. I think You got my point what I expect.
@FirasNoori
@FirasNoori 3 жыл бұрын
Aligning is a function inside rotation my dear, anyway, you can use bounding box function to known the lower right And the lower left edge of the box, then move that to the path instead of the center, the array. OR, define the distance between the center of ur object to its lower left edge, and move it prior the array process
@SlyGuyKy
@SlyGuyKy 4 жыл бұрын
Hello Faris! I love your videos! Do you know of any way to do this same array and rotating of an object along a path but created in elevation or section ???
@FirasNoori
@FirasNoori 4 жыл бұрын
Hello dear, Is that what you mean? imgur.com/QA4hnX6
@SlyGuyKy
@SlyGuyKy 4 жыл бұрын
@@FirasNoori Somewhat, but more like this.. imgur.com/6QVMzHF - These are Roof Joists.
@timonwanga3340
@timonwanga3340 5 жыл бұрын
what if you have a staight line within your curves, will it act the same way?
@FirasNoori
@FirasNoori 5 жыл бұрын
it will act the same if the curve and straight line are made as a polyline or PolyCurve
@FirasNoori
@FirasNoori 5 жыл бұрын
this is theoretical speak indeed, I did not try it myself, , Have you tried such case??
@timonwanga3340
@timonwanga3340 5 жыл бұрын
wow @@FirasNoori i will try that, only that my segments by lengths
@rushikeshkatkar4526
@rushikeshkatkar4526 Жыл бұрын
how can we tilt object in x, y, z axis
@FirasNoori
@FirasNoori Жыл бұрын
You can do that by normal rotate function like Geometry.Rotate and picking the rotation axis to control the direction
@bokeikhankamza9676
@bokeikhankamza9676 4 жыл бұрын
Hi Firas! Can u help me with Scaling PolyCurves? For example: I am trying scale PolyCurve (number of curves=9) in x and y direction (not z), but nodes like scale (xyz) is not working. I've divided Polycurve to Curves and scaled it, but there were gaps between curves after scaling.
@FirasNoori
@FirasNoori 4 жыл бұрын
Can you send the script at firas007noori@yahoo.com Please
@FirasNoori
@FirasNoori 4 жыл бұрын
Hi mate, I receive the script and I amended it, have a look and tell me here plz
@bokeikhankamza9676
@bokeikhankamza9676 4 жыл бұрын
​@@FirasNoori Wow, that is rly amazing, in comparison to mine you have reduced a some nodes. Thanks for your feedback!
@FirasNoori
@FirasNoori 4 жыл бұрын
@@bokeikhankamza9676 welcome dear :)
@ahmadkhalaf826
@ahmadkhalaf826 2 жыл бұрын
Hello Firas, Great video , I just wanted to ask if we can do a path array and specify a specific distance between two families , How can we achieve that? IN other words , we have the path and we have the family I want to do a path array for example on a model line and the distance between each family is 1 Meter . Can that be achieved ? Thanks a lot
@FirasNoori
@FirasNoori 2 жыл бұрын
Hi Ahmad, thanks, try to use the one of the following (1. Curve.PointAtEqualChordLength, or 2. Curve.PointAtEqualSegementLength) the first if you want the division to be one chord length as it is the imaginary line connect the equal divided points on the curved path! and this one the chords are not running on the actual origin path! the latter, is using segment, and the divided parts are parts of the curves! and they are also curves not straight chords! cheers mate and all the best 2 ya
@ahmadkhalaf826
@ahmadkhalaf826 2 жыл бұрын
@@FirasNoori Thanks a lot mate I'm outside my house right now will check it when arrive . Again really grateful for your help
@FirasNoori
@FirasNoori 2 жыл бұрын
@@ahmadkhalaf826 welcome dear
@TheHhtiras
@TheHhtiras 4 жыл бұрын
ok thank you so much
@FirasNoori
@FirasNoori 4 жыл бұрын
Welcome dear
@microphonehead55
@microphonehead55 5 жыл бұрын
This may be a very dumb question, but is there a way to select a "chain of lines" instead of a spline? I am unable to use the tab key if let's say i have several lines that i want to select all at once. The select element only lets me select one line. Great video by the way!!!!
@FirasNoori
@FirasNoori 5 жыл бұрын
Well it sound a very smart question!! I never thought of that, I will try to test it and send you the results, I usually use spline but never thought of straight plotline case
@FirasNoori
@FirasNoori 5 жыл бұрын
Thanks
@microphonehead55
@microphonehead55 5 жыл бұрын
@@FirasNoori Thank you sir! I will greatly appreciate it. I came across this website yesterday and will test it out today. forum.dynamobim.com/t/pick-chain-of-elements/19458
@FirasNoori
@FirasNoori 5 жыл бұрын
@@microphonehead55 You will never believe!! I am in the same page now!! hahahahah Searching for it :) have a good day dear
@microphonehead55
@microphonehead55 5 жыл бұрын
@@FirasNoori Thank you. My ultimate goal is create a script in which i can select several poly lines and then move them all in the Z axis at a certain interval. So let's say i select 30 poly-lines and i want them all to be 200mm appart in the z-axis or even better to give the overall height and have the lines equally divide along the Z axis. Will be experimenting.
@TechnikaFiesta
@TechnikaFiesta 3 жыл бұрын
Hello sir. Tutorial was great. Everything worked other than tangent one. I tried to create tangent lines at the points but no tangent lines appeared. Could you pls help me with that. Regards Md Naeem
@FirasNoori
@FirasNoori 3 жыл бұрын
Send me a picture here from you script plz
@FirasNoori
@FirasNoori 3 жыл бұрын
Or use wetransfer to send the cript, copy the link from wetransfer.com and then paste it here plz
@TechnikaFiesta
@TechnikaFiesta 3 жыл бұрын
Hello sir, Did you analysed the script. ???
@FirasNoori
@FirasNoori 3 жыл бұрын
@@TechnikaFiesta Sorry dear Sir, but I did not do anything related to the channel revision around 2 months !! some answers for people that's all!! as I am stuck at work most of the day !! I am working till late hours now coz of Covid 19 work at home!! I am sorry again FN
@applcandy
@applcandy 4 жыл бұрын
I've tried it, but why only the first object alligned to the path, other located perfectly but all of them aren't rotated at all :( pls help
@FirasNoori
@FirasNoori 4 жыл бұрын
Hi dear, please send me ten script ar firas007noori@yahoo.com
@kaviyuvi9186
@kaviyuvi9186 2 жыл бұрын
Bro same concept how to place coordinate please send graph.
@FirasNoori
@FirasNoori 2 жыл бұрын
what exactly the you want to do?
@kaviyuvi9186
@kaviyuvi9186 2 жыл бұрын
@@FirasNoori I'm placed some pier family exact co-ordinate location but co-ordinate taken from excel sheet, alignment line also given
@FirasNoori
@FirasNoori 2 жыл бұрын
@@kaviyuvi9186 Use "Excel.ReadFromFile" node to get the excel info to Dynamo and then use them to "FamilyInstance.ByCoordinate" to place any family (component type) to these coordination
@kaviyuvi9186
@kaviyuvi9186 2 жыл бұрын
@@FirasNoori sir please explain dynamo graph
@bohdanshupeniuk3221
@bohdanshupeniuk3221 4 жыл бұрын
How to rotate text in 3d view for Civil 3d using Dynamo ?
@FirasNoori
@FirasNoori 4 жыл бұрын
3d text in 3d view liie perspective or 2d annotation text in 2d views?
@bohdanshupeniuk3221
@bohdanshupeniuk3221 4 жыл бұрын
@@FirasNoori 3d text in 3d view
@bohdanshupeniuk3221
@bohdanshupeniuk3221 4 жыл бұрын
And placed in right place
@FirasNoori
@FirasNoori 4 жыл бұрын
@@bohdanshupeniuk3221 I need ur email to send you some picture of the 3D text, I need to know what do you mean by "Place in right place" I was about to make a video to show you how to rotate a 3D Text in a 3D view on its own location, then I read this commend
@bohdanshupeniuk3221
@bohdanshupeniuk3221 4 жыл бұрын
@@FirasNoori ShupeniukBohdan@gmail.com
@selfenquiry456
@selfenquiry456 5 жыл бұрын
How can I make different sections of window in autocad 2d...I watched already bt if u know more plzz do something better
@FirasNoori
@FirasNoori 5 жыл бұрын
Any specific type you want?
@selfenquiry456
@selfenquiry456 5 жыл бұрын
Firas Noori exactly
@ssnanj8014
@ssnanj8014 4 жыл бұрын
Hi. How to Rotatate Structural columns in Revit thru Dynamo.
@FirasNoori
@FirasNoori 4 жыл бұрын
Hi, I am off my laptop now, but have you tried to use (eleement.setrotation)?
@ssnanj8014
@ssnanj8014 4 жыл бұрын
@@FirasNoori yes. It works only with Architectural Columns.
@FirasNoori
@FirasNoori 4 жыл бұрын
Still at work dear, i will see it when I get back home, and i will search for a solution
@ssnanj8014
@ssnanj8014 4 жыл бұрын
@@FirasNoori Thanks.
@ssnanj8014
@ssnanj8014 4 жыл бұрын
@@FirasNoori HI.The given link is not connecting.kindly chk
@alexlj09
@alexlj09 3 жыл бұрын
this only works if the path is has positive tangent. if that is a full circle the other half will mess up
@FirasNoori
@FirasNoori 3 жыл бұрын
Dear Alex, see the video related to the closed path as you requested kzbin.info/www/bejne/pnOsq2WVq79-ZqM
@ВеентДумской
@ВеентДумской 5 жыл бұрын
I have got this worning - Instance of a level-based family cannot be created without a valid reference level.
@FirasNoori
@FirasNoori 5 жыл бұрын
Send me the dynamo plz firas007noori@yahoo.com
@janyamurali9790
@janyamurali9790 5 ай бұрын
Did you get the answer
@sanjacolic7822
@sanjacolic7822 4 жыл бұрын
This code didn't work in my case. Actually it worked up to half of a curve, but after that it didn't (rotation was the problem). I found solution here: forum.dynamobim.com/t/place-family-perpendicular-to-curve-surface/11537/5
@FirasNoori
@FirasNoori 4 жыл бұрын
If you still need it to be checked send me the nodes on firas007noori@yahoo.com
@clasohlson4333
@clasohlson4333 4 жыл бұрын
@@FirasNoori Fantastic tutorial, thanks a lot for the great work! Could you please make a tutorial on how to make text (team name- Manchester Utd) or logo from stadium seatings like this www.manutd.com/en/news/detail/man-united-v-barcelona-match-preview-10-april-2019# Best regards and have a nice day!
@FirasNoori
@FirasNoori 4 жыл бұрын
@@clasohlson4333 loved the idea!!
Duct support placement using Dynamo!
31:46
Aussie BIM Guru
Рет қаралды 22 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 9 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 31 МЛН
Who’s the Real Dad Doll Squid? Can You Guess in 60 Seconds? | Roblox 3D
00:34
Wall Finish in one click with Dynamo l Detailed Explanation
25:01
Mariyan Developer
Рет қаралды 18 М.
Dynamo Sweep on Different Path Types
15:53
Firas Noori
Рет қаралды 16 М.
Revit Tutorial & Dynamo Tutorial: Beams That Follow Complex Roofs
18:59
Parametric Adaptive Chain in Revit Tutorial
16:34
Balkan Architect
Рет қаралды 16 М.
Create Wall Penetrations using Dynamo!
22:14
Aussie BIM Guru
Рет қаралды 22 М.
3 simple dynamo script for everyday use | Dynamo |
13:05
Niko “Eleron” G.
Рет қаралды 35 М.
Add Shared Parameters to multiple Families using Dynamo!
10:32
Aussie BIM Guru
Рет қаралды 13 М.
PARAMETRIC DESIGN WITH DYNAMO IS VERY QUICKLY
12:54
Revit For All
Рет қаралды 34 М.
VAMPIRE DESTROYED GIRL???? 😱
00:56
INO
Рет қаралды 9 МЛН