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 :)
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.
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
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?
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!
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
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
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 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.
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
Hi dear, use "FamilyInstance.SetRotation" node, and see this video ruclips.net/video/T2PWowX_k98/видео.html and this one! ruclips.net/video/IRHzQyzCpKc/видео.html Cheers Firas Noori
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?
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.
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!
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 ???
@@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
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
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!!!!
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 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 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.
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
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
@@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
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
@@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
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 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!
Cheers for your videos! I just started using dynamo, and your content is very helpful. Thank you very much
Happy to hear that, any questions i will be there to help
Great job
Many thanks dear
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 :)
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
Hi Firas, many thanks for your reply :))
Which node can I use to rotate the family towards the second point?
@@Maxfocke hi dear, try using "FamilyInstance.Set Rotation"
@@Maxfocke ruclips.net/video/T2PWowX_k98/видео.html
Jazzakumulla khairn
God blesses u dear
Any tips for finding the tangents on a polycurve? I have a bunch of model lines joined
Hay, sorry fo rmy late answer, did you try the line.bytangency that I used here in this video?
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.
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
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?
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
very very nice
Thanks dear
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!
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
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:(
Thanks mate, I guess u need a different node to select them or to model them
الله يرحم والديك أستاذ
الله يبارك بيك يا غالي
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?
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
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.
I guess that I posted another video to allow the rotation of the element to the path itself here in the channel
@@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.
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
how can we tilt object in x, y, z axis
You can do that by normal rotate function like Geometry.Rotate and picking the rotation axis to control the direction
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.
Hi dear, use "FamilyInstance.SetRotation" node, and see this video
ruclips.net/video/T2PWowX_k98/видео.html
and this one!
ruclips.net/video/IRHzQyzCpKc/видео.html
Cheers
Firas Noori
what if you have a staight line within your curves, will it act the same way?
it will act the same if the curve and straight line are made as a polyline or PolyCurve
this is theoretical speak indeed, I did not try it myself, , Have you tried such case??
wow @@FirasNoori i will try that, only that my segments by lengths
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?
Hi dear, can you send me a sketch or a picture of the case you need to achieve plz?
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.
Can you send the script at
firas007noori@yahoo.com
Please
Hi mate, I receive the script and I amended it, have a look and tell me here plz
@@FirasNoori Wow, that is rly amazing, in comparison to mine you have reduced a some nodes. Thanks for your feedback!
@@bokeikhankamza9676 welcome dear :)
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!
Yes it is possible, do u want me to make u a video?
@@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!
@ ruclips.net/video/pBIz2_vZK0A/видео.html
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 ???
Hello dear, Is that what you mean?
imgur.com/QA4hnX6
@@FirasNoori Somewhat, but more like this.. imgur.com/6QVMzHF - These are Roof Joists.
How to rotate text in 3d view for Civil 3d using Dynamo ?
3d text in 3d view liie perspective or 2d annotation text in 2d views?
@@FirasNoori 3d text in 3d view
And placed in right place
@@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
@@FirasNoori ShupeniukBohdan@gmail.com
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
Hi dear, please send me ten script ar
firas007noori@yahoo.com
hi Firas, so informative video thanks. Q: instead of divide by point, can we do like point every x distance ? thank you
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
@@FirasNoori thank you, I will try the other options, have a nice weekend
ok thank you so much
Welcome dear
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!!!!
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
Thanks
@@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
@@microphonehead55 You will never believe!! I am in the same page now!! hahahahah Searching for it :) have a good day dear
@@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.
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
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
@@FirasNoori Thanks a lot mate I'm outside my house right now will check it when arrive . Again really grateful for your help
@@ahmadkhalaf826 welcome dear
Bro same concept how to place coordinate please send graph.
what exactly the you want to do?
@@FirasNoori I'm placed some pier family exact co-ordinate location but co-ordinate taken from excel sheet, alignment line also given
@@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
@@FirasNoori sir please explain dynamo graph
Hi. How to Rotatate Structural columns in Revit thru Dynamo.
Hi, I am off my laptop now, but have you tried to use (eleement.setrotation)?
@@FirasNoori yes. It works only with Architectural Columns.
Still at work dear, i will see it when I get back home, and i will search for a solution
@@FirasNoori Thanks.
@@FirasNoori HI.The given link is not connecting.kindly chk
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
Send me a picture here from you script plz
Or use wetransfer to send the cript, copy the link from wetransfer.com and then paste it here plz
Hello sir,
Did you analysed the script. ???
@@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
How can I make different sections of window in autocad 2d...I watched already bt if u know more plzz do something better
Any specific type you want?
Firas Noori exactly
this only works if the path is has positive tangent. if that is a full circle the other half will mess up
Dear Alex, see the video related to the closed path as you requested
ruclips.net/video/pBIz2_vZK0A/видео.html
I have got this worning - Instance of a level-based family cannot be created without a valid reference level.
Send me the dynamo plz
firas007noori@yahoo.com
Did you get the answer
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
If you still need it to be checked send me the nodes on firas007noori@yahoo.com
@@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!
@@clasohlson4333 loved the idea!!