Lock All Viewports using AutoLISP
12:50
Model a Beer Mug in Rhino 3D
20:26
2024 Template Updates
27:11
7 ай бұрын
Rhino Stairs 3D Modelling
1:27:45
7 ай бұрын
Quick view setup example
2:15
8 ай бұрын
Window Demo
6:53
Жыл бұрын
Part 3 - My Gumball Workflow
8:28
Presentation Graphics in AutoCAD
11:34
The art of faking 3D in AutoCAD
28:16
Part 5 - STB Files
3:22
Жыл бұрын
Part 4 - Title Blocks & Layouts
5:26
Part 3 - Annotative Objects
8:49
Жыл бұрын
Part 2b   Editing AutoLISP Aliases
4:27
Part 2 - Appload
3:43
Жыл бұрын
Пікірлер
@stevensutter7845
@stevensutter7845 6 күн бұрын
Where can I obtain the code? This was very helpful
@randomCADstuff
@randomCADstuff 6 күн бұрын
Unfortunately the code is lost. I have made a new improve version which is included with my template: kzbin.info/www/bejne/fX-0aKFtqLJmoqc
@stevensutter7845
@stevensutter7845 6 күн бұрын
do you have these lisps available for down load?
@arepabuena
@arepabuena 10 күн бұрын
interesting workflow! I think the way you overlay shaded and line work gets a nice result. Personally I've always used a block for each story, containing both 2d and 3d. I line up all of them separately for main editing and drawing, while the stacked ones are the assembled building. nice work, keep going!
@randomCADstuff
@randomCADstuff 9 күн бұрын
I'd love to see more of your method. One reason I don't like annotating in Layout Space is when you have things that are annotations, but tied to physical elements. This can include elevation symbols that show the actual elevations and grid lines. I've been pondering ways to make these work. Programmatically I can create elevation symbols in model space (they won't automatically update when changed/moved but I can almost do that as well). Grid lines create a challenge but maybe we could 'tag' them just like we do for windows, walls, floors, etc... The way my house project is set up you could actually annotate similar to what you describe. The 2D line work is laid out flat in the model space (just without the 3D floor elements). I like the block idea. One thing I've had trouble coming to grips with is Rhino's block editing. It's a smooth transition to and from the block editor... a bit too smooth. Nested blocks can especially create confusion. I had some good success utilizing Visual Arq's plan and section views; they (kind of) automatically update. They had a few glitches that they may or may not fix in Visual ARQ 3. With a bit of tuning up that would be the system I use. Without though it's too much working-around.
@Shanpey
@Shanpey 14 күн бұрын
Great video! Thanks.
@MarcAngus-gi1uq
@MarcAngus-gi1uq 20 күн бұрын
THANK YOU
@aliutkutekin3181
@aliutkutekin3181 Ай бұрын
You genius bro! Love your voice tone
@AriamID-l1v
@AriamID-l1v Ай бұрын
thank you
@9T9_MOVIES
@9T9_MOVIES Ай бұрын
Brother I try to drag the same action in the VDO but not the same please show me how to drag it. Thank you
@unblutiger2020
@unblutiger2020 Ай бұрын
Oh, in waste my time
@nehemiahstewart
@nehemiahstewart Ай бұрын
I was using REA for regenall and nothing was working. Thanks for showing me the REINIT command! Subscribed.
@randomCADstuff
@randomCADstuff Ай бұрын
If you close and open AutoCAD it should load the aliases. And if you open a new drawing (I think I can't remember). But ya it's convenient to setup everything in a single session without having to close/open stuff.
@ThierryRegnier-qd5ye
@ThierryRegnier-qd5ye Ай бұрын
Hey man, thanks for the tutorial that I started. I tried to resolve my little issue, but guess that I need your help. In your video, at the minute 8:55, when you split the conic surface and the screw, a very little "open edge" appears, that prevent me further to get the solid closed surface... I tried to link the surface, but it does not work, I guess it is so small... And it alos prevent me to make the boolean operation for the nut. Any suggestion ?
@randomCADstuff
@randomCADstuff Ай бұрын
It could be your file tolerance. Check that first. From there, it becomes a series of uglier and uglier solutions starting with exploding the polysurface and using the "join" command. It might be better to start over if that doesn't work. Since posting this I've been looking at McMaster-Carr's database. Their 3D models are really good. There's also the bolt gen app I mention in another video. Those things existing as they do mean this is more of an exercise rather than something you'd use every day. If you can get fast it'll improve your Rhino skills, so don't fret too much about having to start the process from the beginning.
@ThierryRegnier-qd5ye
@ThierryRegnier-qd5ye Ай бұрын
@@randomCADstuff hey, thanks for your reactivity, i fell less lonely in this situation :) I tried your recommandations and unfotunately it does not work, but I learned from it and tolerances parameters. I started again your tutorial since the beginning, and I found my mistake ! Actually, I was using the TRIM tool instead of SPLIT, but result is the same... still having open borders. I used the file in inch as you mentionned and your sizes, that I did not really followed ad I used a file in MM. And in my version I used a 8MM long helix when you use a 77MM one. So i looks like you use a bigger size but I'm not sure this makes the difference as well. Probably the important step is when you place the circle at the INTERSECTION of the helix, at the minute 8:23. As simple as it, now I have a close solide polysurface because I followed your tutorial strictly. THANKS
@geoterminus6040
@geoterminus6040 2 ай бұрын
BTW, the layer state manager happen to have two shortcut keys. One is LAS and hit enter the other one is LMAN and hit enter. Thanks for the video !
@ryanmoore6956
@ryanmoore6956 2 ай бұрын
HA! Few min in and I can promise you I will watch the whole 4 hrs. Thank you so much for these vids been learning a lot and having a lot of fun making useful tools for work
@randomCADstuff
@randomCADstuff 2 ай бұрын
Thanks for the comment! My videos aren't exactly the crown jewel of AutoLISP resources out there. I originally started making videos basically because nobody else really does - kind of sort of... my aim is to conclude the tutorial with something a person can maybe use in their day-to-day work. As I dabble in other programming languages I've come to realize how good the AutoLISP resources actually are (Start with AfraLISP.NET because it's pretty amazing itself but has links to many other great resources as well).
@ryanmoore6956
@ryanmoore6956 2 ай бұрын
@@randomCADstuff vids are awesome man and they help a lot of people. Something about programming for cad that helps with your day to day stuff is addicting, I deff got bit by the lisp bug.
@92vuthnaronge68
@92vuthnaronge68 3 ай бұрын
Loving it. Looking forwards for more videos.
@jimanderson916
@jimanderson916 3 ай бұрын
Thanks for creating these videos. With Acad LT having limited access to AutoLISP it’s good to see the alternatives to via functions
@kalpit3d934
@kalpit3d934 4 ай бұрын
Why don't you use visualarq which have section feature already.
@randomCADstuff
@randomCADstuff 4 ай бұрын
I think I mention that in an earlier video. The vaSectionView (Visual ARQ 2's that is) works really good but also requires more knowledge as well as a VARQ license. I find that it is a little unpredictable in the way it updates. And sometimes it grabs geometry that I would prefer it didn't. And no projected hatches. Using Make2D is slower but somewhat more predictable I guess. Visual ARQ 3 is in Beta and I'm dying to try it out right now but just don't have the time. Rhino 8 has some advantages that negates the need for model space linework, so in R8 my approach might change. If I stayed with R7 this is probably how I would do things.
@kalpit3d934
@kalpit3d934 3 ай бұрын
@@randomCADstuff I also want to try visual arq 3, can you share the downloaded file of visualarq 3.
@randomCADstuff
@randomCADstuff 3 ай бұрын
@@kalpit3d934 I think you have to get in touch with Asuni (The company that makes Visual ARQ) to get the Beta. You also have to have a Visual ARQ 2 license. It's impossible to share.
@kalpit3d934
@kalpit3d934 3 ай бұрын
@@randomCADstuff ok, I will try....
@michaelblume2508
@michaelblume2508 4 ай бұрын
Great stuff, thank you
@___.___.___.___.___.___.___
@___.___.___.___.___.___.___ 4 ай бұрын
This is a fantastic series of videos. I'd love to do all my modelling and construction documentation in Rhino, I think its a fantastic piece of software but people tend to look past its capabilities for producing great 2d drawings just because its so amazing at creating organic 3d forms. Thanks for the vids they will help me a lot. Please make more :)
@randomCADstuff
@randomCADstuff 4 ай бұрын
I'll try to find time!! I'm using Rhino 8 now and my process changed, but just a little bit.
@alisonrosadeandrade3786
@alisonrosadeandrade3786 4 ай бұрын
Thanks for the vids man, youre helping a lot to improve my codes to Visual Lisp. It makes many things way simpler.
@randomCADstuff
@randomCADstuff 4 ай бұрын
Thank-you! Hopefully I'll have time to make more videos in the future :-) .
@arvidjedlicka6237
@arvidjedlicka6237 4 ай бұрын
I recently had a need for bolts. Used BoltGen with Rhino3d v8. Seemed to work very well, other than the 'specialty' option. Got around that by creating the closest diameter to what i needed with the desired pitch and then a 2D scale to get the desired final diameter. Worked well for the 3D printing that I needed.
@randomCADstuff
@randomCADstuff 4 ай бұрын
Glad to hear it worked and thanks for sharing!
@JayMo862
@JayMo862 4 ай бұрын
Thank you!
@alan4514
@alan4514 5 ай бұрын
*PromoSM*
@marisacuni2465
@marisacuni2465 5 ай бұрын
hi where did you found the bamboo please?
@mery84able
@mery84able 5 ай бұрын
Thank you so much fot this video, this is so helpfull🎉
@zwiebec78
@zwiebec78 5 ай бұрын
I didn't even know I wanted this, but now I do! should pin your comment so it stays at the top ;) thanks
@randomCADstuff
@randomCADstuff 5 ай бұрын
(defun C:LL ( / layer fade) (setq layer (vla-item (vla-get-layers (vla-get-activeDocument (vlax-get-acad-object))) (vla-get-layer (vlax-ename->vla-object (car (entsel)))))) (if (= (vla-get-lock layer) :vlax-false) (progn (vla-put-lock layer :vlax-true) ) (progn (vla-put-lock layer :vlax-false) ) ) (setq fade (getvar 'LAYLOCKFADECTL)) (setvar 'LAYLOCKFADECTL 90) (setvar 'LAYLOCKFADECTL fade) (command "regen") ) ; end defun ____________________________________________________
@PMSteve
@PMSteve 6 ай бұрын
Thanks for this. Some very useful information here. I'm looking forward to the future video about the database sweep.
@randomCADstuff
@randomCADstuff 6 ай бұрын
Here's the code. ***BUT MAKE SURE YOU KNOW WHAT YOU'RE DOING, ESPECIALLY IF YOU EDIT THE CODE*** (defun C:LOCKALLVIEWPORTS ( / ) (vlax-for layout (vla-get-layouts (vla-get-activeDocument (vlax-get-acad-object))) (if (/= (vla-get-name layout) "Model") (vlax-for object (vla-get-block layout) (if (= (vla-get-objectName object) "AcDbViewport") (if (= (vla-get-displayLocked object) :vlax-false) (vla-put-displaylocked object :vlax-true) ) ) ) ) ) ) ; ______________________________________________________________________________
@ronaldwhite8227
@ronaldwhite8227 6 ай бұрын
💪 "Promo SM"
@iraloo
@iraloo 6 ай бұрын
Yeeey I’m gonna try this tomorrow, share the version with you too :pp
@PMSteve
@PMSteve 6 ай бұрын
Can't you press ctrl + R when you're in the larger viewport and that will cycle you back and forth between the 2 viewports on your page? That would avoid your VPMAX issue.
@randomCADstuff
@randomCADstuff 6 ай бұрын
I never knew that thanks! The only drawback would be if you have more than two viewports in the layout, you'd have to cycle through them. Obviously that's a non-issue for some but might be for others. I just use my copy trick because it's easy enough to memorize. I'm not as good at memorizing key strokes as I am command aliases (not sure why, younger people seem to prefer the keystrokes though so maybe it's age ;-) ).
@PMSteve
@PMSteve 6 ай бұрын
Sure, I rarely have more than 2 or 3 viewports so I'm happy to cycle through but I understand how it would be a pain if you have many. Glad to be able to show you something new for once! 😄
@Se7endSe7en1
@Se7endSe7en1 6 ай бұрын
Just double click the outline of the small viewport, edit what you need, type ps, hit enter and you're back
@randomCADstuff
@randomCADstuff 6 ай бұрын
That works but I like my way better because I can see the boundary of the viewport. The "VPMAX" command that's triggered when you double-click on the viewport is for me at least kind of an unwanted feature. I guess I could change that in the cui.
@iraloo
@iraloo 6 ай бұрын
Your voice is so soothing, I like your channel I am sure this video is really informative too but I will just use it as a background sound :p
@TheProfCad
@TheProfCad 6 ай бұрын
Dynamic Blocks are amazing, however not used very often as users believe its way too complicated. Would appreciate the beginner to the advanced of what can be achieved following my mantra of "Why do it when you don't have to"
@randomCADstuff
@randomCADstuff 6 ай бұрын
I used AutoCAD for over 4 years before I learnt how to make dynamic blocks. It seems very hard at first but now it seems so simple.
@randomCADstuff
@randomCADstuff 6 ай бұрын
And... For those interested I've uploaded the updated version.
@rmdemaray
@rmdemaray 7 ай бұрын
Hi . I am an old hand at stair building, but a new newbie at Rhino. Do you offer any tutoring one-on one remote?
@randomCADstuff
@randomCADstuff 7 ай бұрын
I've never really considered it and you're the first person to ask. Outside of creating videos I don't know if I'd have anything of real value to offer. I also learnt Rhino in an unconventional way: I created a series of test projects to assess the viability of using Rhino instead of more expensive applications (like Revit, steel detailing platforms, etc...). That might make me not the best choice for someone just starting out because I have a somewhat 'patchy' skillset. Just for a reference: recently I found out that I was taking 3 or 4 extra steps because I never bothered to test out the "Boolean Split" command (watched a video where the creator used it). For now... I would watch videos where the uploader models something similar to what you want to create. Try to reproduce it (maybe with your own twist) and that should get you close. I can also upload quick videos on specific tasks (within my ability) on a whim. Also, look up the Rhino Level 1 and Level 2 training. I will dig up those links for you if you're interested and can't find them.
@rmdemaray
@rmdemaray 7 ай бұрын
I am fine with your abilities. Let's co-design a project .@@randomCADstuff
@randomCADstuff
@randomCADstuff 7 ай бұрын
My problem right now is that AutoCAD work is paying the bills. I m however trying to migrate towards Rhino as much as I can. It's definitely more fun. What type of project(s) do you have in mind?@@rmdemaray
@TheWhiteLarryByrd
@TheWhiteLarryByrd 7 ай бұрын
How would i go about having my user defined text remain the same and have just number increment by 1 for each insertion?
@randomCADstuff
@randomCADstuff 7 ай бұрын
I'm not 100% sure if you are doing your own program, or referring to the code's behavior. In case it's the latter, I will mention that I'm going to release a better version of this (the code not a tutorial) soon. The new version would allow you to enter "A-1" for example, and it will increment "A-2", "A-3" and so on...
@TheWhiteLarryByrd
@TheWhiteLarryByrd 7 ай бұрын
@@randomCADstuff oh sweet that will be fantastic to reference!! I'll have to rethink my question in terms of what I'm looking for.
@randomCADstuff
@randomCADstuff 7 ай бұрын
@@TheWhiteLarryByrd If you go to about the 12:00 mark of this video: kzbin.info/www/bejne/eqXNdpuCop2Xo9U, you'll see exactly what I changed.
@JakksonSloann99
@JakksonSloann99 6 ай бұрын
@@randomCADstuff which defun changed in the code to allow that particular instance to now be able to occur in your updated template video?
@randomCADstuff
@randomCADstuff 5 ай бұрын
I'm not 100% sure what you mean so you'll have to be more specific. There's a few changes to the code just for better performance and compatibility with the template (automatic layer selection for example). @@JakksonSloann99
@PMSteve
@PMSteve 7 ай бұрын
You talk about "reactors" quite a bit and I'd like to understand a bit more about them. I don't think you've done a video on that specific subject and I couldn't really find any videos at all that cover it? I've got some blocks that represent an electrical terminal and they each have a unique number which is stored in a attribute called TERM. The problem is that the number is supposed to be shown in 2 places. I know that you shouldn't duplicate the same attribute because it causes problems. Therefore I created another attribute called TERM_COPY and I have a lisp routine that I can run which iterates though all of the blocks in the drawing and copies TERM to TERM_copy if those attributes exist. I wonder if this could be done better with a reactor? Or maybe there's a much easier way altogether?
@randomCADstuff
@randomCADstuff 7 ай бұрын
AfraLISP.net has 3 tutorials on reactors. Here's the link to the first: www.afralisp.net/visual-lisp/tutorials/reactors-part-1.php You'd need to read all three tutorials as they built into one another. The third tutorial gets into "object" reactors. That would be your ticket, but it gets pretty involved. If you're familiar with programming you might have heard of something called "events". Reactors are very similar. I suspect that Revit uses "event driven programming" to make their tags work as they do. The craziest LISP code I ever wrote would actually create symbols (variable names) at runtime (something C# can't even do). The variable name would contain an object's ID handle. And I'd use that to attach the reactor to each object (I actually can't remember exactly how I did it). My concern was that it would populate the drawing with too many reactors and maybe slow things down. I drew 200 beams with tags (this was basically just a beam tag) and no slow down. I think I recall that if you didn't have the callback function loaded, an error would appear any time you tried to edit one of the beams. Although it seems to be working it needed a lot more testing. Reactors can be a little risky (not as risky if you're around to manage them but with this template I won't be). It was something I was doing off to the side hence I never went any further with it. The end result was better than Revit tags because the tag was just MText (Revit tags are very un-editable; you can't even rotate them). All that said, my recommendation would be to stick with your database sweep. Unless your drawing is super large, a database sweep shouldn't take that long. Depending what I am doing, I will create a custom "REGEN" command that regens, but also runs some sort of sweep at the same time.
@PMSteve
@PMSteve 7 ай бұрын
These templates are awesome! I've checked them out before and learnt so much. I borrowed a lot of ideas from you when I setup my own template, even though I'm coming from an autocad electrical standpoint. Thanks for all your work!
@user-ly4my3yy5r
@user-ly4my3yy5r 7 ай бұрын
Do use visual arq to do walls at all and the big functions?
@randomCADstuff
@randomCADstuff 7 ай бұрын
There are advantages to using Visual ARQ but it depends what you're doing. I created a window style in Visual ARQ and although it works good, if it's not the exact style I need then I need to either make a different style or create one from scratch again. It takes time. Ultimately, the time involved was what stopped me from going further with Visual ARQ. I might try Visual ARQ 3 when it comes out, but I'm not doing much (or really any) architectural drafting/modelling at the moment.
@user-ly4my3yy5r
@user-ly4my3yy5r 7 ай бұрын
Thanks for your response - Have you ever used Vector Works - I'm still deciding on what I'm going to end up using - Been using FormZ for A long time. Although Vector works is quite expensive. @@randomCADstuff
@sashan1281
@sashan1281 7 ай бұрын
thanks so much for this, following through and taking notes.
@sashan1281
@sashan1281 7 ай бұрын
Is rhino common something I should know? I'm trying to see how to create a template for the annotation part too, so i'll look out for yours.
@randomCADstuff
@randomCADstuff 7 ай бұрын
I'll give you the short answer with a brief explanation, but the real answer would require a short essay. My short answer is NO. I more or less only decided on RhinoCommon (and C#) because I wanted to use the same language to program both in AutoCAD and Rhino. Rhino has multiple API's. Hindsight being 20/20 I probably would have learnt Python (I went back to using AutoLISP for AutoCAD anyways). Other options include Grasshopper of course (amazing but can be a time pit), RhinoScript and even just maximizing Rhino's command macro (it's the most versatile I've ever seen in any program). The RhinoCommon API is a really good but both the help documentation and sample code is lacking in my opinion. If you get into coding/API programming you really have to to a cost/benefit analysis (with the cost being your time). Architects and other designers have a lot on their plate and only a finite amount of energy, so wrestling with coding challenges might not be practical. Also consider how long it actually takes you to write the code verses how much time you'll save, or your team will save (hint, the less people using the code the less likely that the time savings will justify the creation of the code).
@randomCADstuff
@randomCADstuff 8 ай бұрын
I'm getting reading to make an updated video relating to this topic. I've tried out a few different programs as well... testing CAD clones became somewhat of an unintended hobby. @19:30 (about) I mention that the AutoCAD clones are progressing faster than AutoCAD itself. This was the case... sort of... and still is... sort of... but lately I've been noticing a trend I'll coin as "software regression", where for whatever reason, the software actually gets worse after an upgrade/update. We've noticed this in the past but it usually gets fixed. But many CAD clones don't feel the need to update/fix their products after release. And when next year's release comes out, some features are fixed but more new bugs also appear. At the time I made the statement I did feel like it was accurate. But recent developments would have me saying that product development is more or less equal between AutoCAD and it's clones at this point.
@sashan1281
@sashan1281 8 ай бұрын
Is it possible if you could show us your process of modelling this amount of detail in rhino? It'd be great to see what more I can add/subtract to my existing workflow.
@randomCADstuff
@randomCADstuff 8 ай бұрын
If there's something specific you're looking for I can just make a video of that. I want to make a full video on modelling an entire house (or building) in Rhino 8 but I haven't used the new version enough to even dare quite yet - so that's on hold for a while. The modelling itself is all quite basic, but there's just lots of it.
@js-lr1tz
@js-lr1tz 8 ай бұрын
Thanks for the video, very clear explanation and easy to follow. Now I don't have to create multiple drawing for different purposes and can do it all in 1 drawing, made my workflow alot easier!
@nowkus
@nowkus 8 ай бұрын
such great tutorial series and and tutor what I have been looking for a longtime. thank you is not enough to say my gratitute.
@TheBigBakwas
@TheBigBakwas 8 ай бұрын
I have a block with two attributes whose TextHeight I wanted changed. I found a solution that scaling the attributes size up / down through Scale action. Unfortunately it meant that I needed two linear parameters to accomplish this while I wanted both attributes to be of same size, hence one parameter. Thanks to your use of Lookup_Table, I managed to resolve my issue!
@zahraahendricks4576
@zahraahendricks4576 8 ай бұрын
Wonderful video!☺
@tomvos5594
@tomvos5594 8 ай бұрын
A really good video! The only one who goes into depth of the Layer States clearly, and also mentions the disadvantages/problems of the tool and when they apply. Thank you! But I've got a question in regards to Layer States (LS); When I create a new LS when I'm in paperspace, the "Space"-colom states "Layout", and in modelspace it states "Model". But what are the limitations and advantages of creating LS with one or the other? I ask this because I noticed that you used the "Grey-out" LS, which is a modelspace LS, to set the viewport LS in paperspace. And with the "Red Title Block" LS, which is a Layout LS, it's not clear to me why I'd bother with the LS being Model or Layout.
@randomCADstuff
@randomCADstuff 8 ай бұрын
I had to play around with that after reading your comment. And unfortunately I can't come up with a cover-all-cases answer. To make things more complicated, I'm seeing some strange behavior when I create the Layer State in PSPACE (I'm using AutoCAD 2024). It's not allowing me to unfreeze layers for some reason... the fix for that is just to delete the delinquent layer state and re-create it. I also wasn't able to peg down the exact behavior of the "Layout" Layer State when used in MSPACE and vice-versa. My recommendation would be to: Only use a layer state in the space which it was created. With the exception to that being using a layer state when you have a viewport activated. For that I just use one I created in model space. I should try and find some time to figure this out in the future.
@tomvos5594
@tomvos5594 8 ай бұрын
@@randomCADstuffI did find out that, depending on the view you're in (model-, paper-space, or viewport), certain "Layer properties to restore " get greyed-out. This doesn't seem to be linked to the "Space" column. I'm using 2022, but will soon switch to 2024. But I'm having trouble with the transparency-property with hatches. Because when I use a LS in any view, the transparency of hatches changes in some views. So change it in one VP, it also changes in another VP, but not all. It seems to be random for me, but I'm assuming that I'm doing something wrong. This seems to be the only property to do this. Maybe you know what could be the problem? Or do you encounter the same problem in some cases?
@randomCADstuff
@randomCADstuff 8 ай бұрын
I think you've found a bug. I have AutoCAD 2024 I can reproduce what you describe. But if I use different properties (color for example) it behaves as expected. I haven't checked everything yet.@@tomvos5594
@randomCADstuff
@randomCADstuff 8 ай бұрын
At first I thought that maybe it changes the "global" transparency instead of the "VP Transparency", unfortunately it doesn't. It seems that vpTransparency is in fact global. $2,000 per year you'd think they have enough revenue to tidy these things up lol ;-).@@tomvos5594