Thank you for visiting my blog. My name is Greg Battin and I live in the southern Denver Metro area. I truly enjoy working with AutoCAD as a user (drafter) and also as a CAD administrator working behind the scenes.
I am happy that many people find this site helpful in their everyday use of AutoCAD. If you have any requests, please leave a comment/question and I will see what I can do for you. I enjoy being an AutoCAD detective/repair shop so don’t hesitate to get me involved.
Please feel free to suggest a topic or submit any tips & tricks that you find useful as well.
If you would like to know how to copy the AutoLISP/Visual LISP code from the blog postings click here & here
Another great resource is Lee MacDonnell’s website to learn how to load and run LISP programs: http://www.lee-mac.com/tutorials.html#lisptutorials
~Thanks
Greg Battin
greg.battin@gmail.com
Hi Greg,
Now that I have officially graduated from ACC, I was just organizing some of my AutoCAD papers and came across your blog. What memories! Thanks to you, my kithen and bath and capstone were a success and I lived through them. When I think about those tutoring sessions, I sometimes don’t know how you did it, but you did and I can’t thank you enough.
It sounds like you are still with your job. How is the family, the girls and your wife? I have been doing a few design jobs and enjoying them – it was definitely worth the brain drain to get the degree.
Regards,
Jeanette
Dear Greg, Thanks for this incredibly useful website and your efforts for improving our knowledge :)
Thank you so much for your kind words. I am very happy to share what I know about AutoCAD so that others might find it easier or more enjoyable to use as well.
~Greg
hello,
i have a question. Before I had an icon in the right top of my screen to select a standard view and to rotate my screen.
It disapeared and now I can’t find it anymore.
Can you help me find it.
It had Nort, East, south… on it and in the middle there ws top, bottom,…
Thank you very much.
Kris,
Great idea for a post. I created a new post that shows just how to do this.
https://autocadtips.wordpress.com/2012/11/09/control-the-display-of-the-view-cube-and-navigation-bar/
Thanks
~Greg
Dear Greg,
I’d like to request you to have a lisp routine for the given below description:
I have a polyline/rectangle/polygon. I’d like to divide and dimension the each segment (not whole line) of polyline/rectangle/polygon to 1220 mm (dynamic measurement as input) and apart from the 1220 mm, the remaining length should be dimensioned.
I hope u understand my prob. I tried to attach my prob but no such facility here.
thanks alot and best wishes
Thanks for dropping by
~Greg
Hi Greg
I know you have a Lisp routine to create a Hatch, on your website but I wish to create a hatch pattern using Excel. The Pattern I have started to create is to produce circles (I know only straight lines can be used).
The numbers below work as expected by drawing 5 lines.
The problem that I am stuck and confused by is the last entry (-1365)
This works but the true value should be (-1365.2)
If I enter this value then the hatch doesn’t work. Why??
Hatch Pattern Code below
*Circle
0,475.4957149,251.2038183,0,1000,49.00857016,-950.9914298
0,475.4957149,748.7961817,0,1000,49.00857016,-950.9914298
90,251.2038183,475.4957149,0,1000,49.00857016,-950.9914298
90,748.7961817,475.4957149,0,1000,49.00857016,-950.9914298
45,305.8961586,659.4495491,707.1067812,707.1067812,49.00857016,-1365
Many thanks
Tony
It appears that the size/scale of the pattern is gigantic. My suggestion would be to use the hatch creation lisp routine to get the definition that can be transferred to Excel. But create circles and then use the following lisp routine to turn them into lines. Then create the hatch pattern.
https://autocadtips.wordpress.com/2011/07/23/autolisp-curves-to-polyline/
The error I got when trying the above hatch definition was that it was too dense. Which was weird because I couldn’t even see anything. I was able to scale it down to its limit.
One other thing i didn’t try was using this on a metric drawing. maybe the scale is appropriate for metric…
I will try again later
~Greg
Many thanks for looking Greg.
I use a metric drawing with mm units.
The .pat file works using the -1365 (the last entry) but not if I use -1365.2
I really don’t understand why.
I may try and create a hexagon pattern instead to try and work out the pitfalls I am having.
Many thanks
I have now found the solution so will post to help other people.
The problem was the way I was creating the .pat file. If you paste the values directly from Excel to a Notepad file then Tabs are inserted inbetween the Cells.
Delete the Tabs and all works okay.
Tony
Hi Greg! here is something intressting for you. Maybe you find new suggestions. Enjoy movies! /Dirk
Dirk,
Thanks for the link!!
That is a useful blog. I will be checking that out often
~Greg
Just started working as a draughtsman. this blog might just help me!
Hi, how can Attach mutiple Xrefs to alot drawings? Is there any program or script?
You can try a script with a batch processing program like ScriptPro. The thing is that you will need to define the XREFs to each drawing with its network location (path), insertion point, scale… this can be done in a script.
I saw an option while in The “Design Center” (DC ) where you can drag and drop content from one drawing to another. At the bottom of the list is XREFs. I have not tried it yet but will look into it further.
This blog is Awesome! So many cool lisp routines; some that i will for sure use being in the piping design field. Can’t wait to see more posts!
Thanks. i am stoked about finding your site too
Thanks for stopping by my blog. I too work in the “energy & checmicals” (oil & gas) industry.
~Greg
Hi Greg,
I just found your web site. I’m having a problem I can’t solve.
I’m still using Auto Cadd 2004, and when I get a drawing from a certain client, the mtext looks like, and plots like, a solid block. I’ve tried many things to fix it, including….Fill, Qtext, Imageframe, Textfill, Shademode, Textmask…..The only thing that works is exploding the mtext, but not the best fix. Any suggestions?
Thanks
Rich M
Greetings Greg,
I am a new user to AutoCAD and am using 2013. Even after reading about it I don’t understand why in model space paper space, I have trouble with dimensioning. I create a one to one model and then from a layout tab I load a customized boarder (one to one) with some attributes in the title block. Next I create a viewport and select model space. Then I zoom to the object or part I want to detail and set the viewport scale using say 0.25xp for three-inches to the foot. After this I set the viewport back to paper space to make the viewport smaller, usually and move the whole shebang to where I want it in my boarder. Then, based on the viewport scale I am using I set the DIMSTYLE and/or DIMLFAC say for 3”=1’-0”. Eager to lay down a barrage of dimensions and shop notes I select horizontal or vertical from the ANNOTATE menu. And boom – the dimension appears as the model space scale one to one. At this point I run DIM and do an UPDATE which then puts the dimension into the proper scale based on my DIMSTLYE or DIMLFAC setting. But why do I have to then re-touch every dimension? It should automatically dimension to scale-right? Where’d I go wrong?
Richard
Hi Greg,
actually i have a very big project using the same floor design . in some cases i have to mirror the xref BUT the problem is that the text mirrored also. i try mirrtext command to solve the problem but nothing happened.
is there is a way or Lisp to mirror Xref’s without mirroring text with it ?
Thanks in advance,,
Habash
Habash,
Thanks for the question. Unfortunately, this a common issue that there isn’t a solution to. I have checked many forums and can’t find a proper work-a-round or custom program that fixes mirrored text in an XREF. Below is an official response from Autodesk.
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=8843918&linkID=9240817
~Greg
Many thanks Greg.. i’ll try to fix it in some way. :)
Hi, Greg.
I’m not sure I am writing my comment in the correct spot. If not, my apologies.
I am looking for a tip on how to solve an annoying problem that just mysteriously popped up.
I am using AC 2013 and, out of nowhere, my keyboard aliases don’t work. Ex: When I type m for MOVE, I get MADD. When I type co for COPY, I get COLOR. If I turn off ‘Auto Append’, and try it, I get ‘UNKNOWN COMMAND’.
I’m at a loss as to what to do.
(I checked to see if I lost the acad.pgp file, but it’s still there.)
Thank you
Try the command ALIASEDIT as shown in the folowing post: https://autocadtips.wordpress.com/2010/11/07/command-alias-select-similar/
In this post I show how to use this command and create a new alias. I would be interested to see if creating a new alias using this metthod would make the pgp file kick in.
~Greg
Thank you, Greg. I tried it but it didn’t work. It seems I am missing the pgp file in the ‘Users’ path. The one is Program files is there, but I need the other one and it’s gone. I’m tempted to copy the file from another computer to a shared drive and then copy to my computer.
(Leaving for the weekend now. I’ll check back on monday.)
Thanks, Greg.
Hi,
if your real acad.pgp exist in the right place and all command aliases are ok. and still your AutoCAD reading wrong your commands. from my near experience i found that there is another pgp file exist in AutoCAD support files. when i delete it every thing become in the wright way.
Best regards,
Imad Habash
Hi Greg, I like your blog. I read, you like routines that ease works with layers… so do I… Try this, you might find it useful, because i love it.
I must work with drawing that has hundred of layers and many layouts where are those layers filtered by vpfreeze. Autocad has many functions that makes the work with layers easier. I tried all of that, but eventually I end up with layer isolation by Kent Cooper, layerunhide, layon atc. Work with Layer States is not comfortable… Whatever. For long time I have been thinking of finding/creating routine that applies layer state based of viewport vpfreeze state to model space as on/off layers.
Lately I found the ease one of Jeff Mishler witch copies layer vpfreeze state between layouts. This is also very nice, thatks Jeff, but after some editing I have what I really want… :)
http://uloz.to/hledej?q=copyvplayers
This is awesome. I just tested it on a small test drawing. I will test it tomorrow at work on a large drawing. It works great.
Do you have a link to the Jeff Mishler routine?
I agree that working with layer states and filters can get confusing especially when multiple people are working on a drawing and there are hundreds of layers.
Thanks for sharing.
~Greg
http://www.theswamp.org/index.php?topic=1533.0
I made little change in it, thats include to previous link.
Johny
How can I load the Autocad Mechanical command AMCENIBET in Autocad 2013?
Hello Greg!
Thanks for your useful comments comming in time…
My question ist, which software you use to view film or picture of your trials?
Regards
Dirk
Dirk,
I use “Snagit” for pictures for my blog.
A while back I used to post animated gifs, but when WordPress switch to have the ability to continuously scroll down in a blog, some animated gifs would not show any longer. I miss doing those because it was a great way to display what I was trying to teach in my post.
The method I used to create the animated gifs was to also use Snagit to create a short .avi file. Then to convert the .avi file into a .gif, i used the free software called Virtualdub and simply open the .avi file that was created from Snagit and “Export” it as a .gif
Thanks for stopping by Dirk
~Greg
Thank you Greg, very nice tools – it was that I was looking for…
AutoLISP Guest Post
Dear,
I have a guest post for you. Do you like it? Are you
thinking of posting it on your blog? Let me know what
you will do.
If you post my guest post on your blog. I could post a
guest post from you on my blog. Or I could mention your
blog in my blog.
I have more guest blogs for you. Let me know if you are
interested in them. And if you want me to send them to
you.
Jos van Doorn
makeautocadfast@ymail.com
Hello,
I have a question. We have a lisp routine that changes mtxt to mutileader txt, which works just as you defined on your blogs. However, we would like to add another command or step to the lisp. Instead of having lisp change the objects being converted to the current layer is there a way to keep the objects on the particular layer they are on? Thanks for any help.
Hi Greg,
I want to know, How I can Project (copy perpendicularly) any selected cogo points onto a polyline from both sides of the polyline.
Cheers,
Reza
HI GREG,
I WANT TO KNOW, HOW TO CHANGE THE ISOMETRIC DWG TO DIMETRIC DWG.
JUST LIKE….. ISOMETRIC SNAP.
Regards
RASHEED
This is interesting, but it appears that AutoCAD doesn’t allow for changing the isometric angles to define your own “Dimetric” angles.
What version of AutoCAd are you using? I will look into some of the features of 2015 this weekend to see if this has been improved in 2015…
I did find the following link which you may have already found as well. All it does is set the view of 3D objects to be dimatric.
http://www.cadforum.cz/cadforum_en/qaID.asp?tip=4793
~Greg
Hi Greg
I like to commend you for a great AutoCAD site.
I also have a AutoCAD site with tips. It has both 2D and 3D tips.
There is also a section with 3D tutorials.
Can we exchange links?
My URL: http://www.autocadadvice.com
I am on page 1 in Google search index.
Greetings
Lars Nielsen
Sure – I don’t know what you mean to “exchange links” but that’s fine with me.
~Greg
I mean that I will put a link on my site, pointing to you site.
Hello Webmaster,
I visited your web site earlier today and firstly wanted to congratulate you on the appearance, excellent content and accessibility I discovered there. It is not often I come across a web site that offers such a positive user experience and great information too.
At this present moment, I am seeking meaningful links from quality websites just like yours, for a current project on behalf of http://www.cad-architect.net. As you will see, this is based upon a similar theme to yours and does in my view, offer added value content for web site visitors.
Now as a part of this promotional activity, I would very much like to have a link featured on your website. Should you be agreeable, please use the following details to add the project site to your links page.
Title: AutoCAD details & drawings
URL: http://www.cad-architect.net
Description: CAD resource library of over 6500 AutoCAD symbols, details & drawings for Architects, Engineers & draughtsman.
OR HTML Code:-
AutoCAD details & drawings :-CAD resource library of over 6500 AutoCAD symbols, details & drawings for Architects, Engineers & draughtsman.If you have any questions or concerns, please don’t hesitate in contacting me by replying to this email. I will then get back to you as soon as possible
Regards,
Linking Manager.
———————————
Greg-
You seem to get asked this a lot, but I just wanted to know if it was ok with you if I linked back to a few articles on your site that my readers might find helpful for AutoCAD for Mac (some of the tips and routines translate to AutoCAD for Mac, some don’t)
I make no money from the site itself, but I do link to Lynda.com for which I am an author and a link to my book on the iBook Store (just to be transparent)
You can look at an example here:
http://macncad.com/2014/12/super-speedy-layer-control-autocad-lynn-allen-cadalyst/
Thanks!
That’s totally fine with me. I too make no money from my blog. “I’m just one beggar showing another where to find bread”
I think that you blog is greatly needed since I am asked about ACAD for MAC quite a lot and I don’t know how to answer the questions – so your blog will be a great place to direct people.
Thanks Jim,
~Greg
Thanks, I appreciate it. I may steal that beggar line as well; quite clever.
Yeah, I was trying to fill a bit of a need for Mac users who use CAD products. There are a few but they don’t focus on using a Mac on a daily basis for CAD work. There are other tools / apps we have to use as well in our daily workflow so I try to find articles I think will be relevant and collect them. Fun for a hobby, anyway, lol.
Love your site and thanks again.
-Jim
Good afternoon Greg,
Congratulations for your blog, it´s very interesting.
I have a trouble. I donwload an Autocad 2013 student license of Autodesk page. I donwload in English version inadvertently, I thinking that the comands are similar than spanish
version, but no. I need the spanish version to practise with this
program. What can I do? my license is in english, Can I change my
English license per spanish license?Can you help me? what steps should
I take? I hope your reply. Thanks for all.
Hello
Found this site very useful.
in what app do you use to make this animated gif, in my software i get low quality gifs , especially when recording from autocad .
i would like to make some demos this way too.
your advice will be well appreciated
Thanks
Alex
I use Snagit 10 to record the .AVI file and then I use the free software called “VirtualDub” to export it out to the animated GIF
Hi,
I just have a question and i think you the man for it.
I’ll try to explain it with an example;
I have created in Layout 1 a huge map. (so general)
In Layout 2 I have the same as Layout 1 but there i divided the map.
Now i want to make Layout from the divided map. I divided in paperspace.
So is it possible to create a viewport from a layout?
I hope you understand what I mean.
Thanks
Frederik
So i can see in layout 3 -4-5-… only one piece of the map.
Are the divisions that you made in Layout 2 made of lines/polylines in Paper Space or Model Space?
I would suggest that the divisions are made in Model space so that after you make your view port, you can activate the viewport and use the zoom tool and then pick the 2 corners to define the zoom of the area that you need.
I hope that makes sense. I will check back in to see if you respond with a solution or another follow up.
~Greg
Hi Greg , your lisps are very useful to me , if you can add my free lisp page to your “website links” i will be very thankful , im sure you will find great lisp there too.
http://www.kimprojects.com/free-lisp-programs/
Noam
I have AutoCAD 2009 all of the sudden I have an error message that says the ribbon does not have any tabs or panels currently loaded how do I fix that?
Switch your workspace to another one like “3D Modeling” and then switch back to your normal workspace.
Sometimes the CUI file needs to be reloaded and this method forces it to load.
~Greg
I have issues with my dimensions changing to decimals and recently, it has been changing them to japanese or Chinese symbols. (Crazy, right?) They change when I print for some reason. When I close the file and reopen it, I double click on them and then they change back to the original numbers. What can I do to stop this from happening? It is a huge waste of time and paper to keep searching for these errors.
Thanks “Greg” for sharing useful suggestions about AutoCAD. DO you have any idea about the latest CAD software that is ALCAD Software? Waiting for your reply :)