Jump to content

Search the Community

Showing results for tags 'dimensions'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CADTutor
    • News, Announcements & FAQ
    • Feedback
  • AutoCAD
    • AutoCAD Beginners' Area
    • AutoCAD 2D Drafting, Object Properties & Interface
    • AutoCAD Drawing Management & Output
    • AutoCAD 3D Modelling & Rendering
    • AutoCAD Vertical Products
    • AutoCAD LT
    • CAD Management
    • AutoCAD Bugs, Error Messages & Quirks
    • AutoCAD General
    • AutoCAD Blogs
  • AutoCAD Customization
    • The CUI, Hatches, Linetypes, Scripts & Macros
    • AutoLISP, Visual LISP & DCL
    • .NET, ObjectARX & VBA
    • Application Beta Testing
    • Application Archive
  • Other Autodesk Products
    • Autodesk 3ds Max
    • Autodesk Revit
    • Autodesk Inventor
    • Autodesk Software General
  • Other CAD Products
    • BricsCAD
    • SketchUp
    • Rhino
    • SolidWorks
    • MicroStation
    • Design Software
    • Catch All
  • Resources
    • Tutorials & Tips'n'Tricks
    • AutoCAD Museum
    • Blocks, Images, Models & Materials
    • Useful Links
  • Community
    • Introduce Yourself
    • Showcase
    • Work In Progress
    • Jobs & Training
    • Chat
    • Competitions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 31 results

  1. Good Afternoon, I am working on an issue at my company and I hope I can get some help. I work at a metal panel company and I was hoping that I could insert a table that will update due to panel dimensions. What I would really like to see is a table that can give me Length and Width as well as the bends associated with the panel for fastening. What would be amazing is if I could get that table to give me the aforementioned information as well as being able to account for "corner panels", etc. since that is counted as one panel in this instance. Can this all be connected to a panel number? Please let me know if this is unclear. Thank you so much!
  2. Hi all, I need some help with a lisp routine that I'm attempting to write. What I need to do is extract a panel label by selecting the text and then select the dimensions that I need extract, I've managed to extract the dimensions correctly but when the information is extracted I get is "nil" in the first cell where the panel label should be and the dimensions in the next to cells. I don't Have Excel on my workstation so I have to use CSV file, I've already wrote an extraction code to run in Excel to retrieve the information in the CVS file. Also is there a way to save the CVS file in the same location that I have the drawing open? If someone could help me I would appreciate it. (defun c:test( / s tx fn i d dl m file) (setq ss (ssget '((0 . "*text,*DIMENSION"))) fn "f:\\BrianD\\Dims.csv") (repeat (setq i (sslength ss)) (setq d (ssname ss (setq i (1- i))) dl (entget d) m (cdr (assoc 42 dl))) (setq tx (cons m tx))) (if tx (progn (setq file (open fn "a")) (write-line "" file) (foreach ss tx (princ ss file) (princ "," file) ) (if file (close file)) ) ) ) (princ) Thanks Brian
  3. Hi Is there a way to choose a piping class based on ASME B16.5, then a component and its size, and let AutoCad automatically show their dimensions in the isometric drawing and create a bill of materials? Thanks a lot
  4. Hello, I have created a new .dwg file. Within the drawing I have created a block that updates when I change the parameters. Currently when I change parameter lengths the dimensions do not update to match the length of the block. Is there anyway to add dimensions that will update within the original .dwg file which contain the block. (AutoCAD 2011) Thanks,
  5. Hi all! I am trying to accomplish a specific task, one that requires exporting information from CAD to excel. Fixo's DX (dimension export) LISP is a pretty good start, but I am trying to add some features to the command. Currently, the command writes the exported information vertically in columns. I am hoping to have the information run across the page in a long row. I also would like to be able to select a dimension, then select a block and have the information written to the sheet. If I don't select a dimension immediately after a dimension, I want to skip a cell in excel. See attached diagrams for the result I am after. Basically I want to select the dims and blocks down the line ... And have the output to show something like this (not requiring the headings, just the data in row 2 is enough) I would also like the command to write the information to a particular excel file, one named "Dimensions and blocks.xlsx" that sits in the folder above the current dwg file if possible. Fixo's currently writes to a new blank workbook each time the command is run. Thanks all for the help!
  6. Hello, when I draw this sketch in AutoCAD, I can't get the exactly same vertical dimensions. The original shows whole numbers for dimensions and I am getting numbers with decimals. Am I doing something wrong or are just dimensions on the original written with whole numbers? Tnx for help. Original drawing: https://drive.google.com/file/d/0B1A8tnujmj3BNDVQMUQtM0lZTUk/view My drawing in AutoCAD: https://drive.google.com/file/d/0B1A8tnujmj3BeWZ0NXpVVHBaUFU/view
  7. Hi, my new company are using autocad LT and dim everything in paper space. I have no choice in the matter so am trying to follow procedure. I can see the benefits of it but have had a few errors which is causing me problems. basicially the dimension are not reading the vaule they should. for example I have a drawing with a view port of 1:16 (don't ask) and dimensioned from two points a value of 2400mm. I then continued drawing and at some point have went back and noticed the dim now reads 38,400mm. this is happening often and I can see the relation of the sizes, 2400 x 16 = 38,400mm. this has had me stumped and I started deleting dims and then redoing them and then noticed if I match properties it would go back to 2400mm. I then noticed today that if I select the dim and go to the properties window and "Primary Units" the "dim linear scale" value is "-255.9999" I then changed the value to "1" and then dim corrects itself. I did notice that the value in the properties changed from "1" to "-16" as soon as I type "1" and enter. Now I know that before I print I do a select all, filter rotated dims and change value to "1" this should solve the problem but this feels like a work around and I must be missing something. many thanks for any help. I have search online and have found an answer altho quite a few mentions.
  8. Dschechter

    annotative dimensions

    Trying to practice annotative scaling in viewports, but dimensions in the lower right viewport are larger text than they should be. Is something compounded to make it larger? All are using same annotative dimension style. I feel like it's something obvious thank you! [ATTACH]54698[/ATTACH] 2010 v. annotative practice.dwg annotative practice 2010.dwg
  9. Hello all, I would like to change the dimensions measured by 1/2" on panels measured within our acad drawings as we order materials 1/2" shorter. To date, we manually dimension each item drawn several hundred times and decrease the dimension by 1/2" again and again. Obviously, this is not efficient and prone to human error. Can anyone tell me the lisp code or alternate method to do this? I've researched this and it generally becomes an argument as to why anyone would want to show an inaccurate measurement without an answer. As a side note, I don't really have any practical knowledge of lisp files as I'm just learning about them.
  10. Hi, was wondering if there was any routine which would automate dimensions in an architectural plan. This is present in refit, and we could have it in Autocad where we could draw a line through a floor plan and "stretch" the dimensions of all the intersecting lines to a convenient point. Thanks
  11. Hi all, How do you get the inch or foot or labels to show. I have the numerical value, but I'd like the " symbol to show up to indicate inches. Thanks,
  12. Is there a shortcut for setting a certain dimstyle as default similar to right clicking 'set current as default' (which is available for some features) without going into the dialogue box? It would be fine to do that if the author of the drawings didn't have 50 with similar names. Thanks
  13. I am working on a site plan and most of the dimensions are large, so I want to be able to type in "30" and it makes a line that is 30 FEET long rather than 30 INCHES long as it currently is. If I want itin feet, I have to put the tick mark in which is time consuming and annoying when I could just have it be feet not inches. I tried going into 'units' and changing them to feet but that didn't work. - see attached Thank you
  14. WindowsIHateYou

    Dimensions explode by default???

    I got a new base file from a client, and every time I draw a dimension, it 1) asks me for text input (default to measurement), and 2) is exploded when drawn. I have never had the dimension commands do either of these before. I'm assuming this is a setting somewhere I can undo? Again, using the same dimension commands I have always used with no problem until today.
  15. This is my first post so first of all I would like to welcome everyone. I hope that I could learn a lot from you guys. I would like to write a simple (I hope so ) lisp which will help me a lot during my work at the office. Drawings that we receive are in 2d but are created from a 3d model made on bentley software. Because of that all the dimensions are overriden even if they are not changed. We are asked to overline every single dimension which was shortened. What I would like to achive is to - by single command - select all the dimension in the drawing, check if they are matching with actual measurement (this is the place where I get really confused) and if not than overline them (put %%o before the overriden text). Later on I would like to develop it a little, maybe by adding option to select all or only chosen dimensions, but it is not a "must have" My lisp level is really basic. By far I rather do more of a script than lisp, but I would like to learn much more, that is why I appreciate all the help with this and as many comments as possible to help me understand how it all works. Thank You for all responses
  16. Hello all I am developing a parametric model of a precast stair using Inventor 2013. I have set a parameter call "rake" to define the rake distance of the stair (the distance the nosing of each tread protrudes over the tread below - usually about 25 mm) This is initially set to 25 mm in the sketch. If there is no rake, I set this to 0 mm, and this gives a perfectly horizontal & vertical stair profile. If I then set this back to 25 mm, Inventor flips (reverses) the direction and the profile produced is incorrect (it is like a negative rake angle). I guess it is because when I set the rake to 0, the two points are directly in line vertically, and when I set it to 25 mm again it pushes them 25 mm apart horizontally, but in the wrong direction. Is there any way to constrain these parameters or points such the distance is measured only in the desired direction, or to stop one point from going beyond the vertical position of another point. Any help on this matter would be very much appreciated. Many thanks in advance.
  17. So I'm trying to adjust the "text y pos" among other things for several dimensions, but that option is grayed out. I tried to work around this by c/p the dimension from another drawing where that option isn't grayed out. When I paste it in my drawing that option becomes grayed out. Also, that dimension's text height is 0.125 and yet looks the same as the text in my drawing of 0.3125. Its arrow size is the same as the ones in my drawing and yet they look bigger. Anyone know what's going on here?
  18. Hi, I'm very new to lisp and I'm currently writing some to create steel sections with the main dimensions and the name of the section below. I'm having trouble adding dimensions (in a new dimension layer) to my lisp file and the text file below my section (also in a new text layer). Ive attached my lisp file and a picture of what I'm trying to achieve. Any help would be appreciated! PFC.pdf pfc.lsp
  19. My client sent me an as-built prepared by someone else, of a building plan that I am going to remodel. I wanted to set the corner of the building at 0,0. When I moved it, using ctrl-a to select all, and making sure that all layers were on and thawed, the dimensions became wildly disassociated from the lines on the plan, and in many cases flung themselves far out into space around the building. Not all of the dimensions do this, but about 2/3 of them do. The rest of them just move with the building and stay in place. When I first open the file (I copied it out of the zip folder again to check this) it says it "is a trusted DWG created by an AutoDesk application" and it is a 2004 AutoCAD file. I am using AutoCAD LT 2013. Also, I discovered that if I copy the whole thing, it will behave properly, but if I rotate it, the dimensions go haywire just like with the move command. If I ROTATE and select the COPY option, the rotated copy has all the dims in place. I have copied it into place for now but would like to understand what's going on and correct the behavior. I have tried DIMREGEN and DIMREASSOCIATE but they are no help. Here is a screenshot with the plan as it is supposed to look, and with the messed up dimensions also.
  20. I'm currently using AutoCAD Electrical 2013, but I think that this may fall under a general AutoCAD question. The company I'm working for does panel layout drawing that require upwards of several hundred holes to be punched into it. Right now, we use ordinate dimensions to show center points of all the holes for our hole punch machine. Recently, we decided to start putting the X,Y dimensions on an Excel spreadsheet for easier reading for our punch operator. What I'm looking for is a way to either A) extract the ordinate dimensions from AutoCAD and into an excel file or B) Extract the hole center locations from a specified base point to an Excel spreadsheet. Is there an easy way to do this or do I have to go one by one and type it out? Thanks in advance for your help.
  21. Hello all, I'm trying to create dimensions that only reference the layout tab. Example- When I dimension from two end points within the same viewport, the dimension reads out 50' because that's the length of the line regardless of the scale the viewport displays. Now I add another viewport and try to dimension between viewports and the dimension references the layout. Regardless if it's the same viewport or not I need the dimension to reference the layout/paper space. Thank you in advance, Mik
  22. Hi, I have a little AutoCad experience but not a lot so I am spending time over my summer break learning more about autocad. I have been given a project in which the dimension are in feet and in My question is that how can I make lines and circles in feet and inches in autocad? For example, if I have a line that is 40' 8'' (40 ft and 8 in) how can I make a line on autocad like that? I am using autocad 2012. I would appreciate anyones help. Thank you
  23. Hi I have a block which contains dimensions and am wondering if it's possible for the dimensions to be hidden if the block is not selected? They are on a separate layer so I can hide them in the layer manager but it would be slick for them to autohide unless I select the block. Anybody have a suggestion? Thanks John
  24. This used to work, then my computer dies and AutoCad was reinstalled. I am trying to dimension some cut-outs in a 19" rack panel. I can dimension them, it shows the correct dimensions but then when I hit enter it wont save the dimensions. I've gone into DIMSTYLE and everything looks fine but I cant get this simple task to work. Any help would be much appreciated.
  25. I've looked around and have found Suffix/Prefix routines for Text, Mtext and Attributes. I thought it would be easy to modify one of those to work with dimensions but easier said than done. I cannot figure it out. I was hoping one of these two routines would be easy to rework to work with dimensions. For this first one, I thought adding DIMENSION to the associative list would work but my understanding is limited evidently... My desire is to add a prefix/suffix to multiple dimensions. As far as dimensions are concerned does (0 . "DIMENSION") cover them all? (defun c:ftxt(/ cMod cStr tSet) (vl-load-com) (initget 1 "Prefix Suffix") (setq cMod(getkword "\nAdd [Prefix/Suffix]: ")) (if(and (setq cStr(getstring T "\nSpecify string: ")) (setq tSet(ssget '((0 . "TEXT,MTEXT")))) ;Adding DIMENSION didn't work for me ); and (foreach tx(mapcar 'vlax-ename->vla-object (vl-remove-if 'listp (mapcar 'cadr(ssnamex tSet)))) (if(= "Prefix" cMod) (vla-put-TextString tx (strcat cStr(vla-get-TextString Tx))) (vla-put-TextString tx (strcat(vla-get-TextString Tx)cStr)) ); end if ); end foreach ); end if (princ) ); end of c:ftxt The other routine I thought would be easy was this one... (defun c:test ( / as el en i ss str typ ) (initget "Prefix Suffix") (setq typ (cond ((getkword "\nAdd Prefix or Suffix? [Prefix/Suffix] <Prefix>: ")) ("Prefix"))) (setq str (getstring t (strcat typ " to Add: "))) (if (setq ss (ssget '((0 . "INSERT") (66 . 1)))) (repeat (setq i (sslength ss)) (setq en (ssname ss (setq i (1- i)))) (while (eq "ATTRIB" (cdr (assoc 0 (setq el (entget (setq en (entnext en))))))) (setq as (cdr (assoc 1 el))) (if (eq "Prefix" typ) (if (not (wcmatch as (strcat str "*"))) (entmod (subst (cons 1 (strcat str as)) (assoc 1 el) el)) ) (if (not (wcmatch as (strcat "*" str))) (entmod (subst (cons 1 (strcat as str)) (assoc 1 el) el)) ) ) ) ) ) (princ) ) Help please!! Big thanks to the original code writers!
×