Jump to content

Search the Community

Showing results for tags 'block'.

  • 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. Hey guys, I have been looking everywhere for simple script to edit the attributes in my title block but im not having much luck. What I want to do is edit the revision information in a title block for a number of drawings. I have looked into doing this with a lisp and I have a lisp that works but I have to run this for each individual drawing. The reason I am looking do do this with a script is so I can select multiple drawings using ScriptPro and run the script that way. Does anyone have an example of a script I can use to do this? Thanks!!
  2. I was very intrigued by a customer/clients DWG. It had all these, 'equipment envelopes'. They were blocks that were locked from editing/exploding. There were many of them. I could REFEDIT and save/discard changes, but that changed all the blocks. I noticed that the block had two 'parts', in the REFEDIT it appeard to have two files, a block within a block. I finally realized wblock (save block as) would allow me to actually 'get into' the block. So, that problem is solved (thanks in part to this website and its tutorials/forums). I'm still very curious, however. How did they do that?
  3. The reason that I am posting subject-mentioned question, is that I see there is a lot of questions regarding "block" command on a daily base in this forum. I know what is block and I am aware of its importance and how it makes life much easier and pleasant in CAD wold. But I don't know for what reason, I was unable to make it a drawing habit for myself to use it as a routine. I am unfamiliar with this command and seldom use it. I thought by raising this question and hearing your experiences, it might encourage me to make a hanit to use this usefull command. Looking forward to hearing your valuable daily block-related experiences.
  4. I use autocad 2000 at my job to create drawings for CAM. The machining paths are numbered between 521-850 (this is the block name) each time with numbers being used throughout this range, not nessecarily in order. What I want to do is get only these numbered blocks to insert all at once with one command at 0,0. Question one: Can I get a list of just the block names with autolisp? Question 2: Can I filter the block names with some sort of cond? or will I have to go about that another way?
  5. I need to use detail callouts on a regular basis. They all have to look the same, even though some appear in paper space and some in model space. I've gone to a user block. The attribute style has a width factor of 1.25. I overrode it in the block and changed it to 1.00. When I draw a multileader with this style, the block has text with width of 1.25. AutoCAD has overridden my override. On a similar note, when I change the multileader definition from the default _DetCallout to the user-defined DetCallout (note the underline), the existing multileaders don't update, and I can't figure out how to make them update. Is it a bug, a quirk, or something else? Does it really matter what you call it if they never fix it?
  6. I have a routine that replaces one block with another block based on the block name. I need help making it run only if a specific string of text is found in one of the attributes within the found block. Can someone help? Thanks. (defun c:name () (setvar "attreq" 0) (setq ssblocks (ssget "x" '((0 . "INSERT")))) (if ssblocks (progn (setq lstblockmap (txtfile2lst "C:\\path\\filename.txt" ) ) (setq lstblocks (sel2lst ssblocks)) (foreach enblock lstblocks (setq strblockname (car (getval (setq stroldname (strcase (getval 2 enblock))) lstblockmap ) ) ) (if strblockname (progn (prompt (strcat "****** " strblockname " found.******")) (progn ;;;;;Do more code ) ) (progn (prompt "No block definition, Skipping...") ) ) ) ) ) )
  7. hello, i need some help on how to check a selection set if it contain "wipeout" entity? if it does (draworder "back") and proceed to the next string of command. if not then just proceed likewise with some alert msg. please have a look at my simple routine ;this routine will let the user select multiple object ;& PASTEBLOCK the selection - 112011 ;- (defun c:pblk (/ bp opt selx) ;- (princ "Select basepoint: ") (setq bp (getpoint)) (setq opt "_b") ;- (setq selx (ssget)) ;- [color="blue"];check the selection set "selx" if there is any "WIPEOUT" entity selected ;if "wipeout" is/ are PRESENT (command:"_.draworder" "wipeout" opt) ;(alert "wipeout found -> sent to back") ;proceed to next ;if wipeout is/ are NOT found ;(alert "wipeout NOT found") ;proceed to next[/color] ;- (command "_.copybase" bp selx "") (command "_.pasteblock" bp) (command "_.erase" "previous" "") (princ) );end defun ;;; (the BLUE is where i hope i can put in the necessary codes) im using autocad 2009 thanks in advance
  8. I'm a college Architecture student using CAD 2011 for MAC. I have multiple copies of a block, and when I move one copy to a layer, it doesn't seem to actually move. For example, if I have 2 copies of block A, and move one copy from layer "Inside" to layer "Outside", then hide layer "Outside", the block I just moved doesn't hide, but everything else on layer "Outside" does hide. When I inspect the moved block, the properties say it's on layer "Outside". What is going on? Thanks!
  9. Hi there! I've got a drawing in Acad 2010 which consist of about 6000 lines. The image is a ship, and I need the drawing to insert in a HMI screen. Now my problem: The accomedation of the ship is white, as is the background of the sheet. I need the drawing with a black background, but want to keep the white color of the accomedation of the ship. When I change the backgroundcolor of the sheet to black, the white areas inside the drawing will also change into black. If I trie to hatch the white areas inside the drawing the program gives a messages that there are to many open bounderies. I tried to make a blok of the drawing and move it on a black square, but then again the white areas will turn black. So for short: How can I make the white areas non-transparent without using the hatch-command????? Thanks in advance!!
  10. I have created a generic title block for all my drawings and I have some attributes for the block. Is it possible to have a drop down list for an attribute so I do not have to type in the value/text each time? If so, how? I want to be able click on 'customer 1' or customer 2' ect. and not have to type it in the attribute. I'm using Autocad 2011.
  11. Hello! Long time lurker, first time asking a question... I am trying to select all of the text objects that reside beneath a block (I need to include the block too). The block can only be identified by having the attribute tag, "ADREM." My initial plan of attack is to locate the block based on the attribute tag and extract the coordinates (I'm having an issue with this), then select all the objects using the coordinates as an anchor. Thanks for all the help you guys have provided (unknowingly) thus far on other issues as well, this site is quite the resource. Take care, Seth
  12. I need a plan view of a gate crane as a block to insert into my drawing. It is not necessary to be detailed and a simple one is acceptable. Is there any place to find it. Attached photo shows what I am looking for.
  13. Grover121

    4" Tee pipe problem

    Hello, I'm currently taking a Basic AutoCad class at school. I just got assigned a group project where everyone draws an assigned 2D wblock and when the class is finished we're going to piece the wblocks together to make one large drawing. I know how to make the wblock but my problem is I don't understand these dimensions or how to use them to make my drawing in AutoCad and was hoping I could get some help here. I am assigned to draw a 4" Tee pipe (2D) and I have a sheet of poorly scanned paper with a table giving me the Nominal Pipe Size, Outside Diameter, Center to End of Run, Center to End of (I think it says Branch? it's very poorly scanned so it has a smudge over the letter next to the "B" so it looks like B?anch). I really have no idea on how to go about this and it is due tomorrow night at the end of class. Under the Nominal Pipe Size category the dimensions that pertain to 4 are: Outside Diameter: 4.500 Center to End of Run: 4 1/8 Center to End of B?anch: 4 1/8 If I recall correctly our teacher told us to round off the numbers to 4 which doesn't make any sense at all to me. Any help at all is appreciated.
  14. I have a site plan from another .dwg that I copied with base point and inserted into my .dwg as a block. To edit this block in my .dwg I Rt. Click-Edit Block in Place, then use the Refedit Toolbar to save my changes. It seems each time I edit the block the linework, circles, etc. are duplicated; resulting in several duplicate objects stacked on top of each other within my block. I exploded the block, used the drawing cleanup tool and it found 37,000+ duplicate objects to delete! This happened before in another .dwg. I am running AutoCAD Civil3D Land Desktop Companion 2009, I also have an EaglePoint plug-in that we use to download our data if that helps. Any suggestions to remedy this problem would be greatly appreciated.
  15. Hello friends, how is it possible to get all blocks in a drawing and use them entirely in current session, without opening it. I mean something like ADCenter via VisualLISP.
  16. Hi everyone. I'm escentially an absolute newbie on AutoCAD, and I've been assigned to edit a cad file about some buildings (changing all the lines, blocks, and stuff to color 8!) The issue is that the model itself is all about blocks. The first block is, well, everything; inside it are like 15+ more blocks, and so on and on. So the question is... how can I change de color of all the objects, like real quick, without having to edit every object on the Block Editor!! Thanks in advance, and sorry any mistake (being this my first post in this forum, and also, not being english my native tongue) Oh... btw, I'm working on AutoCAD 2011 LT
  17. how do i do this?

    Text Attributes dissapear after blocked

    Hey its me yet again, i have a dynamic block that took me a while to make cause it was very fiddly and time consuming. BUT i want to add some attributes to this block without having to redraw it all over again. I have been able to edit the block, put in the attributes, and dynamically stretch them. But the problem is, because i have a few visibiliy layers, it will only show up on the most recently worked-on layer, after i exit the block editor. I have used "attsync" command but doesnt do much.. please help? All I want is to add attributes to already made blocks (with visibility states) without the drama
  18. how do i do this?

    Text Attributes - Deletes drawing

    okay, so i have a dynamic block. I am able to stretch it how i want BUT, the moment i add a text attribute to it, my block dissapears. this does not always happen, although i do the exact smae thing every time. what can i do to avoid the lock being deleted/hidden when i add a text attribute to it? by the way, i am trying to stretch the text attributes with the block (or move, which ever choice of words you use)
  19. Back ground: My blocks are comming in at the wrong size. I read a post some time back that had the setvar as a side note tidbit that talked about it. I wrote it on a stick note but the dang thing fell behind my 300 lb desk. I have done a search for it but, can't remember what I was looking for when I found it. I'd ask facilities to move my desk to get it but frankly, those guys scare the bejesus out of me:unsure: They have no disernable necks. . . .that's just not natural! The real question: Does anyone know the setvar that effects a blocks ability to be inserted at the dimscale? my dimscale is 20 and my blocks are coming in at 1.67. Dainty arn't they?
  20. Currently I have a large list of individual AutoCAD 2004 part drawings, and I would like to compile them all into one giant AutoCAD file where I can see them all at once. I am wondering if, after this big drawing is made, I can edit the individual files and have those changes show up on the compilation drawing without too much work. I have been trying to make each individual drawing its own block using wblock, but this has not been working as easily as I would like. Thanks for the help!
  21. So new to LISP it's ridiculous, and I need help. I'm doing some designs for lighting and sound, and I have sets of blocks at various points around a floorplan. I plan on making these blocks (dynamic blocks if necessary) and giving them similar nomenclature according to what they are (speakers, monitors, motors, trusses, etc.). Now, rather than going through and measuring the distance by hand, so to speak, for every single item, I'd love to find a LISP routine where I can insert a custom (like 200, 0) insertion point to measure from, and measure each (or batch) block's distance from that point. If the results could be posted in a table, that would be even more awesome. Presumably I would use the names of the similar blocks, as in, any block with the word "motor" in its tag or name. I sense I am asking for something rather big here...
  22. how do i do this?

    Text Atributes

    How would i insert a text atribute to a block that i have already made? AND, does it give me the option to make the text vertical & horizontal before blocking it for use?
  23. MrCrossCountry

    Columns

    I'm looking for a site that will let me download a ionic column entablature.
  24. Ok, so i have created a dymanic block with tags named "ID_EL" and saved it in a dwg named "ID_EL_DWG.dwg". I open a new drawing and with vba in want to: import the "ID_EL" reference form the "ID_EL_DWG.dwg" file, and the insert the block 3 times in the modelspace with different tag values. I figured out almost everything except the first part. How can i load a block reference form another dwg into the current one? I don't want to insert the dwg as block because then i must explode it to get acces to my dynamic block with tags to modify it. Hope it's not a lot to ask, but i searched the web many times for this and found nothing. (except inserting dwg as block) Alternative solutions are also welcome. Thanks in advance!
  25. Hi I think this is a simple question for you guys but how do you find the rotation of a block within a drawing that I know the name. I want to create a new USC that is at the same rotation. I have tried Associated List 50 but there does not seem to be a rotation angle in that list is there some way to look into the properties and draw a rotation angle for there Here is a the code I tried [font=Tahoma][font=Tahoma](setq vfrt (assoc 50 (entsel "a3m_MS_viewframe_01000")))[/font] [/font]
×
×
  • Create New...