Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/27/2020 in all areas

  1. The Rectangle command is just a command that creates a 4 sided polygon using the length and width dimensions that you provide. Once the command is finished, you're left with a closed polyline. That's why, when you select the rectangle and look at its properties, it lists the object as a polyline, not a rectangle. So there are no length or width values.
    2 points
  2. Concrete hatch has for a long time been a disappointment for some. The reason being that people are hatching some concrete in Svalbard in a drawing that has its origin on the equator and using mm as units! When one looks at the hatch definition, the distances and angles are not defined to enough decimal places. So I thought I would try and see if I could do better using trigonometry to calculate the amounts. Non-rational numbers need to be defined to as many decimal places as possible if they are to be used a long way from the origin. But the hatch definition file has a line limit of 80 characters. Any longer than that, and one gets a warning in AutoCAD. Here is the file definition and a picture of the hatch a long way from the origin. Those able enough can copy the file and overwrite the supplied Concrete Hatch. *aaconc, updated concrete hatch (random dot and stone pattern) 50, 0,0, 4.1297503417,-5.8978947189, 0.75,-8.25 355, 0,0, -2.0378120728,7.3723683986, 0.60,-6.6 100.4514447435,.598,-.0523,5.73058713914,-6.93976736215,0.63740192,-7.0114211171 46.1842,0,2,6.19462551259,-8.84684207832,1.125,-12.375 96.6356447435,.889,1.862,8.5958807087,-10.4096510432,0.9561028796,-10.5171316757 351.1842,0,2,7.7432818907,11.0585525979,.9,-9.9 21,1,1.5,4.1297503417,-5.8978947189,0.75,-8.25 326,1,1.5,-2.0378120728,7.3723683986,0.6,-6.6 71.4514447435,1.497,1.164,5.73058713914,-6.93976736215,0.6374019197,-7.011421117 37.5, 0,0, 2.123,2.567, 0,-6.52,0,-6.7,0,-6.625 7.5, 0,0, 3.123,3.567, 0,-3.82,0,-6.37,0,-2.525 -32.5, -2.23,0, 4.6234,2.678, 0,-2.5,0,-7.8,0,-10.35 -42.5, -3.23,0, 3.6234,4.678, 0,-3.25,0,-5.18,0,-7.35 *eldon
    1 point
  3. Type chx as name implies "change in X direction" it would ask for a distance then pick objects, -ve is ok its old code 1990 needs to be redone made a bit smarter that is why I did not post its loaded on startup. It does not do multiple selections rather pick pick. (defun C:CHX ( / oldsnap k x newx) (SETVAR "CMDECHO" 0) (setq oldsnap (getvar "osmode")) (setvar 'osmode 512) (princ "\nMoves object in X direction") (setq x (getstring "\n What is amount of change: ")) (setq newx (strcat x ",0")) (while (setq newobj (entsel "\nPoint to object: Enter to exit ")) (command "move" newobj "" "0,0" newx) ) (setvar 'osmode oldsnap) (princ) )
    1 point
  4. Like cyberangle do UCS in Model then save it giving it a name, do mview then UCS R nameucs plan and so on, no idea if fixes but a different way.
    1 point
  5. 1 suggestion Radius length and chord rtos 2 x where x is number of decimal places.
    1 point
  6. Spot on Cad64. Welcome to CADTutor CADare. I am glad to see that I am not the only one who uses Quick Properties, I am lost without them. As you likely already know, by clicking on the right edge of the Quick Properties palette, one can access the Customize menu. On that menu one can customize the information which you wish to be displayed for each of the numerous Object types in AutoCad. If you favor using Quick Properties I highly recommend taking advantage of a little downtime, whenever convenient and setting the Quick Properties so that it works how you want it to. An easy way to get the length and width, on the fly, as shown in the following screenshots is using the Distance command. You don't need to generate any new linework, and it is done with a single command. This is why I always keep my commandline history expanded to reveal all of the information accessed by this functionality. This is even MORE helpful when working in 3D, since the Distance reported will be the true 3D distance, as if you had drawn a 3D Polyline or line, in a non orthogonal perspective. If, like myself you ever find that you have left your QuickProperties Palette outboard (on your second monitor at home?) . Just go into your QuickProperties Settings, and reset your Palette Location to cursor dependent, and that will call it home. I favor using Static because on some Objects, like Dimensions, the Palette is GIGANTIC and I would rather have it out of the way a bit more. I was really happy the day I figured that out, as I use them constantly, really am LOST without them. I hate the regular Properties, because it is data overload, and while comprehensive, it slows me down, having to find what I want buried in so much that I never care about. Customization is the best way to hit the ground running.
    1 point
  7. Here you are nearly 2000 to choose from. You will have to find the free ones and then in a format you can use. Yeggi is a collection of 3D models from all over the web
    1 point
  8. It's all good. You can use my function as you please. That what this forum is for. P.S. The reason you're waiting 4 minutes is because: - Any function that involves modifying cell content of the table will do so by opening the cell, modifying it, closing the cell, and finally regenerating the table. So in your case, the table is being regenerated 254 times, hence why you're waiting so long. That's what the vla-put-RegenerateTableSuppressed function is for. - So you first disable the regeneration by setting this on the table to :vlax-true, do your iterations and put the texts into the table, and finally once done, you set it back to :vlax-false to fully display every cell. Key point being, you only need to regenerate the table once as opposed to 254 times... after you put all the texts in. So it goes like: (vla-put-RegenerateTableSuppressed tab :vlax-true) (foreach x lst ;;; your codes to put all the texts ) (vla-put-RegenerateTableSuppressed tab :vlax-false)
    1 point
  9. Please provide a link to these invaluable 'defuns'. Not sure what 'Makes it easy to remember what to do' means? I'm sorry If I'm coming off brash but this post confuses the hell out of me.
    1 point
  10. 1 point
  11. From my research, I'd guess that part of the issue is the UCS. Once you change the viewport, start the UCS command and give the View option. Also look at your SNAPANG setting. Another possibility (which may or may not work) is to create a view in model space, where you intend to create your viewport. Then, once you create the viewport, set it to the view.
    1 point
×
×
  • Create New...