Jump to content

Search the Community

Showing results for tags 'blocks'.

  • 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

Categories

  • Programs and Scripts
  • 2D AutoCAD Blocks
  • 3D AutoCAD Blocks
  • Images
    • Backgrounds

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hi, I'm having some trouble in AutoCAD LT 2009 with block files. I need the blocks I create to be available to every drawing I create, but somehow, I'm doing something wrong because I can only access them from the drawing I created them in. What am I doing wrong?
  2. Hi, I'm wondering if there is a way, when i have exported my lighting calculation from dialux to an autocad drawing, to replace the light fitting blocks in the drawing with my own blocks. Basically, the blocks from dialux are anonymous in autocad, and each one, even though they are the same light type, have a different name (usaully *U127 etc). So i could have 120 lights that i want to replace, but cannot do it in one easy step. Can anyone help please? Apologies if this has been mentioned before, but i have searched and searched and cannot find a resolution. It would save a lot of time if i did. Ochiara
  3. Hi there We need to change +/- 100 symbol drawings we use in P&ID because wa adapt them to new European standard. Changes of all tehse drawings (symbols) has been done and now I want to open an existing P&ID drawing and change all the existing block definitions to the new symbols. can anyone tell me how to do this without doing it for each separate symbol ? thx in advance
  4. I'm looking for a way to extract the X, Y and Z values from a set of selected blocks (there may be several types of blocks) and then have it export to a txt file. I'm not sure if it's possible but I'd like to have it export in the order that the blocks were placed. The format I'm looking for would be like this: x,y,z x,y,z and so on... I can do it in Microstation but would prefer an Autcad Lisp. Any help is really appreciated!!!!!
  5. Hello; I am having trouble with blocks that I am not using anymore in my file. I have inserted blocks from other files using design center, dragging it to my new file. In my new file I exploded the blocks. It doesn´t let me purge it, and it still appears in the design center of my new file, eventhough it is not in the file any more, since I exploded it. I have tons of blocks that I can not purge, and the size of my file is huge. I have been using design center because copy and pasting was giving me trouble because of some ".dot block duplicated" alert, and was taking a lot of time for pasting. thanks for any help..
  6. PeterPan9720

    Blocks Replace

    Hi to everybody, Is there a way to modify the tools blocks replace available in Autocad Express Tools ?. I try to explain better : - The express tools blocks replaces "all" blocks inside the dwg comparing the name. - I would like to change only selected ones ? Is there a way to have access to express tools blocks replace "macro" and starting from that create another only for replace the selected one ?. Somebody think that could be easier create complete new tools for my issue ? Many thanks for all your support
  7. hello to every one, I was looking for a way to make a block that would trim any line that would go thru it. For example if i have a block of a circle and it has many lines connecting to it at various angles, Is there a way to have the lines automatically trim? I found this Article but I am confused of how it would work with a circle. http://www.afralisp.net/archive/lispa/lisp52.htm
  8. Hi guys, I found a new website of a free autocad block library. It looks promising. You can drag and drop the blocks with idrop directly from the internet in the drawing. Check it out: http://www.acad-blocks.com I hope you will like it like me. Greetings, Rob
  9. I have a whole lot of U-Bolts that I need to make in to Dynamic Blocks - I need to just add a stretch parameter so the nuts can be moved up and down according to plate thickness. I've done about 15 so far, quite a few left - then I wondered if it was possible to match properties of one completed dynamic block, to one non-dynamic block? Thanks.
  10. I know there's a bunch of posts on this but I could never find a lisp that could incorporate all, or multiple. lisps that can..auto run w/ ea. .dwg opened, redefine & replace multiple referenced blocks (about 10) keeping original location, & retaining attributes..w/o any prompts..I could be asking too much but any insight is greatly appreciated..I'm on hr 7 on this one..if it's easier..only one block has attributes and can make a separate lisp for that..or again if easier make a separate lisp for ea block..anything put together really that auto runs w/o prompts.. If u think I missed a post like this please let me know..again I really appreciate it
  11. Y'all, I'm coming back to AutoCAD2010 after a 4 years of using Vectorworks and am trying to make sense of Blocks, which I am assuming have the same(ish) properties as Vectorworks symbols. Specifically I would like to know how to have a single block that lives in a "root" file that is referenced and "live" in multiple files. i.e, 1 site boundary block that can be referenced into multiple files and then updated accross all the files it is referenced into by editing the original site boundary block in the "root" file. Is this possible? Is it called some other kind of block? Cheers, Z
  12. I am pretty keen to know if it is possible to change attribute tag names using lisp (or some other strategy). I have lots of different blocks, and they all have two attributes. The tag for attribute 1 is "X", with a value of "100" The tag for attribute 2 is "Y", with a value of "200" Is is possible to change all the blocks in the drawing, such that the attribute 1 tag is renamed from "X" to "A", and the attribute 2 tag is renamed from "Y" to "B". I would like, if possible, to preserve and leave unchanged the values associated with the respective attributes, and change only the tag. So basically, once the script is done, I will still have blocks with two attributes, one with the tag "A" and a value of "100", and another attribute with the tag "B" and the value of "200". To clarify; I'm not interested in replacing attribute values, but rather changing attribute tag names. Hope this is comprehensible to someone, and maybe even achievable.
  13. I created an action macro to do the following: 1) Select all objects 2) Change the colour to "140" I saved it as "ActMacro001" I needed to apply this macro to heaps of files, and used the following batch process lisp (It applies ActMacro001 to files A.DWG, B.DWG, C.DWG etc): [color=#ff0000]([/color][color=#0000ff]defun[/color] C:BATCH[color=#ff0000]([/color][color=#0000ff]/[/color] dwgs scr-name lsp-name[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]setq[/color] dwgs '[color=#ff0000]([/color][color=#ff00ff]"C:/A.DWG" "C:/B.DWG" "C:/C.DWG" "C:/D.DWG"[/color][color=#ff0000])[/color] scr-name [color=#ff00ff]"c:/tmp.scr"[/color] lsp-name [color=#ff00ff]"c:/batch.lsp"[/color] [color=#ff0000])[/color] (create-script scr-name dwgs lsp-name [color=#ff00ff]"(ChangeColour)"[/color] [color=#0000ff]T[/color][color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]command[/color] [color=#ff00ff]"_.SCRIPT"[/color] scr-name[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]vl-file-delete[/color] scr-name[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]princ[/color][color=#ff0000])[/color] [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]defun[/color] ChangeColour[color=#ff0000]([/color][color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]command[/color] [color=#ff00ff]"ActMacro001"[/color][color=#ff0000])[/color] [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]defun[/color] create-script[color=#ff0000]([/color]scr dwgs lsp cmd save [color=#0000ff]/[/color] f dwg[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]setq[/color] f [color=#ff0000]([/color][color=#0000ff]open[/color] scr [color=#ff00ff]"w"[/color][color=#ff0000])[/color][color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]foreach[/color] dwg dwgs [color=#ff0000]([/color][color=#0000ff]progn[/color] [color=#ff0000]([/color][color=#0000ff]write-line[/color] [color=#ff0000]([/color][color=#0000ff]strcat[/color] [color=#ff00ff]"_.OPEN \""[/color] dwg [color=#ff00ff]"\""[/color][color=#ff0000])[/color] f [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]write-line[/color] [color=#ff0000]([/color][color=#0000ff]strcat[/color] [color=#ff00ff]"(load \""[/color] lsp [color=#ff00ff]"\")"[/color][color=#ff0000])[/color] f [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]write-line[/color] cmd f[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]if[/color] save [color=#ff0000]([/color][color=#0000ff]write-line[/color] [color=#ff00ff]"_.QSAVE"[/color] f[color=#ff0000])[/color] [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]write-line[/color] [color=#ff00ff]"_.CLOSE"[/color] f[color=#ff0000])[/color] [color=#ff0000])[/color] [color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]close[/color] f[color=#ff0000])[/color] [color=#ff0000]([/color][color=#0000ff]princ[/color][color=#ff0000])[/color] [color=#ff0000])[/color] I have discovered now that some of the drawings which had the macro applied had blocks. All elements aside from the blocks were changed to colour 140. Now I want to improve my macro, or lisp routine, such that all elements within blocks are changed to colour 140, along with non block elements. Is there a way to automate the changing of block definitions with repect to nested object colour?? Would greatly appreciate some insight on this problem.
  14. Does anyone know of a way to do an ANNORESET on annotative attributes within a non-annotative block? The command doesn't recognize the annotative objects in the block... Thanks
  15. I'm currently working on a script to (semi) automise drawing rail constructions. This is going fine, except for one very odd issue. I'm quite a beginner, so please bear with me. I have to insert a block with an attribute. Since I want to avoid using ent* commands, I wrote the script using (command "INSERT" blockname coordinates "" "" "" attributevalue). At home this worked, yet at work the lisp engine treats the 'attributevalue' as a new command. Is there an AutoCAD variable or something else that determines the definition of attributes in the insert command? Both AutoCAD versions are 2010 vanilla, except for some heavy third party scripts and programs for work, which I can't and don't want to disable.
×
×
  • Create New...