AutoCad :: How To Use Blocks In Drawings / Daily Works
Dec 18, 2011
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 open a blank 2012 session with drawing1.dwg, then I open a new dwg "drawing2.dwg.So one session, two blank drawings.
I netload an assy into drawing2, and can run a lispfunction from it.
I netload the the assy into drawing 1, and cannot run the lispfunction.
it says "error: no function definition:..."How should the checking process normally be done, to see if a .net dll is loaded?I normally do this with lisp:
(if (not mylispfunctionname) (progn (COMMAND "NETLOAD" DLLNAME) (vl-arx-import 'AcXt-GetColorNoBylayer) ;since I compile to separate namespace vlx's ) )
The separate namespace thing is secondary, and I am just talking about loading dll's by hand, and running functions from them on command line. Once I get that ironed out, I can tackle how to detect from inside a vlx.I saw Kean's post on making a dll to detect what dll's are loaded, but its not even working for me once I have that info. URL....
I have a customer who uses Solid Works and I of course have Inventor 2013. Before I get into discussion with them about software compatability I wanted to ask the experts! Can I open Solid Works drawings with Inventor?
I have been looking for dynamic blocks (simulation-types) for a number of months in vain. Where I can find any information regarding dynamic blocks combined with geometrical and dimensional constraints such as the ability to draw dynamic roller shutters, revolving circle (rotate and move together) and sliding doors and windows.
Are there cad applications devoted to 2d-simulation for example a shop-drawing application.
I have this view label block I have been using for some time know and it worked fine up until today. I asked a user to add a visibility state to show a triangle around the ViewNumber. In doing so the user wanted to cleanup the viibilty state names. In the block editor all the states and names look good, but in the drawing it shows the old vis state names and the added state for the triangle is not available.
Civil 3D 2012 & 2013 HP Z210 Workstation Intel Xeon CPU E31240 @ 3.30 Hz 12 GB Ram
I need to insert a table in paperspace tab that will continually count up blocks within a set area of model space ( i need to have 3 counts, 1 for each floor of a house i.e one table per tab for that floors blocks). I have used BCOUNT and DATAEXTRACTION but they only count it once and if i add more of a certain block it does not update the table.
I'm trying to streamline a daily activity processing photos with Gimp by using incrontab (which makes it when you add files to a directory, it will automatically run a program to deal with the event). I have a python-fu script that I need to run after selecting four corners of what will be new photos.
It will run itself on all images open in gimp which reduces my keystrokes or mouse clicks. The problem I'm having is that when I put four photos into the processing directory, incron opens four instances of gimp instead of opening gimp once and adding each photo to its open images. I'm using Ubuntu Linux. I'd really like to make the same instance of gimp open the photos, but I'm not sure how to do that.
I am doing electrical drawings with the architect giving me an exported DWG from Vectorworks. I have XREF the background drawing that when opened is about 6 blocks of the building background and 2 blocks of the electrical devices.
Here is the problem: The architect sent me an updated DWG that only has the electrical updates without any backgrounds. My thought was to purge all and then select all the items and then copy with basepoint. Then open the original architects XREF drawing. Select those two electrical block, erase them (or move them to the size a fixed distance). Then paste as block from the other file. Then move the block to the correct location, explode, done.
Big problem: I just tons of this error in the command line referencing different block group numbers being ignored:
Duplicate definition of block Group-1265-1 ignored.
Then the block that was pasted added a background that wasn't in the old drawing and many of the items in that block was either missing or still had the old symbols. Can't figure out how to update the background with confidence that it is really updated with new information and not keeping old.
If I open a new drawing and paste that block in, everything comes in perfectly
I am a land surveyor and am looking for a routine that will look at my txt files exported from the field data collector, and upon exporting into C3D, will look at the descriptor and place an appropriate block on the node. For example, if the collector code was for an IP (iron pin), when the points are imported into the drawing, a solid round block would be placed on each node with the IP description. Same if for trees, concrete monuments, fire hydrants, etc.
why pasting details between drawings and blocks, the software or hardware, hangs for what seems to be an age, but is probably more like 10-15 seconds but over a day this is costly.
In M'Space I have created a layout (i.e. buildings) which in P'Space is my Dwg 1. I want to reference part of that layout in what is to be my Dwg 2. On Dwg 2 I want to insert a block (paths), because my dwgs are referenced when I insert that block it appears on both P'Space layouts. I've even tried inserting the block on its own layer but of course if I turn it off it turns off on both dwgs..... Is there a way I can print both the dwgs so they individually look the way I want without having to remember to select "do not print" that layer everytime I need to print Dwg 2?
I need to insert two different (separate) title blocks into my idw drawings so both show on the drawing. One is the real Title block, and one is a Revision History block. I have listed them as Title blocks under Drawing Resources, but Inventor won't allow me to insert both. Is there any way round this?
I do not want the Revision History block as a Symbol.
Inventor 2011; MS Windows 7-64; i5-2500; 8Gb; GF550Ti.
I have recently been forced more to use customer supplied drawings in inventor that contain attributed AutoCAD blocks, I have been looking for a way to automate filling out these and add some consistency since they sometime ask for the same thing to be updated in several places. I have been using the "dwgblk.GetPromptTextValues(sTags, sAttr)" to get the values of these attributes but I don't know how to update the value from a property back into the attribute.
I have even thought about doing this in iLogic so that it would be easy to change from customer to customer.
I recently started working at an Electrical Engineering firm and one of my many tasks is to sort out their AutoCad system and bring it up to date! An issue that has only recently started happening is that our blocks don't insert at the correct scale. Some of our drawings are metric and some are imperial, and currently all our blocks are in one Imperial file (reference file for our palettes). Is this our issue, my understanding is that when you create a block you should create it as a wblock and each block should have its own file.
The problem is that some of our blocks we want to come in at scale ex/ a 2'x4' light fixture, however an electrical socket or light switch symbol we want to come in at a slightly enlarged scale so that you can easily read the drawing and see where they are located.
I was wondering if it is possible to make adjustments to tittle blocks across multiple drawings.
Such as changing a Rev A to a Rev B
I have to update about a hundred drawings and was wondering if there is some sort of Macro that I can use to do this without manually going into each one.
Basically we have a number of different procedures that need to be written in each drawing. Each drawing uses one of 5 or so procedures. Usually we type it out every time which is a pain or copy paste. We also tried making word documents and inserting them that way but it got a little buggy. Is there any way to have 5 or so pre made text blocks to pick which to insert onto different types of drawings but that can be global used across a few systems?
We have a small group of workers all on the vault server. Basically I just want to be able to have a finished drawing. Click something that will open a list of my pre made text blocks, and insert one into the drawing that I can scale etc. We use Inventor 2011.
What I'm interested in is finding a method of connecting several properties from several Autocad drawings to a single table. I would create several custom properties in each drawing and use some of them to fill the boxes in the drawing itself (already implemented) and some of them to fill the table which could later be printed or used in some other manner (maybe even combined with an ERP software interface). Some of the properties would be used both in the drawing and in the table. What I would really like to achieve is to be able to change the property values in the drawings by changing the values in the table and vice versa.
I know how to do it for one of the drawings but I don't know if it's possible to connect several? It doesn't have to be custom properties, it can also be a table in each of the drawing if it's easier to connect with a central table that way. I suppose the best way to gather all the drawings in one place would be to use Sheet Set Manager. A bit of a problem with the sheet set manager is that we have 5 layers set up for each of the drawings and I would like to import only one of them into the sheet set. The thing is picking them by hand would take time and that's the thing I wanted to avoid in the first place. Is there maybe an option to use only import the last active layer into the sheet set?
I have 200+ page drawings and need to open each dwg to erase same block and text strings. Any way to batch erase same blocks and strings in multi-pages?
The 2D drawings I am working with were exported from 3D REVIT files to 2D AutoCAD files. There are several XREFed drawings that are both mechanical and architectural from the original REVIT files that for whatever reason, the block's line weights came over with line weights of 70 in those blocks.
When I plot, the objects are a blur with the line weight so high. I tried using the command "setbylayer" but that didn't work since nested blocks still had lineweights of 70. Is there a VBA or LISP routine to run through all the blocks (including nested) that can change the line weights to a given number?
When i try to copy paste some drawing entities from a heavy drawing file to any other file, the program blocks and says 'not responding', endlessly. So i always have to shutdown the program. I experience the same problem using the designcenter: when I try to copy a layout into another drawing, my computer gets stuck.
Another annoying problem with these files is that they are so heavy, while in fact they shouldn't be. I tried the aectoacad file command. In result the file id half as big, but after I open it and save it, again is the original size.
Every now and then I go back and try to use publish to speed up printing but I always go back to plotting one by one.
I work in a housing construction office and I have 10 separate drawings side by side in model space for house plans that I need plot separate to give to certain people. My problem isn't that I can't publish them separately its that I can't save them over existing pdf's individually predetermined.
Q1. do i just have to go through and change every layout name before or after i publish?
Q2. how do i change the output publish location?
Q3. can each layout be saved to a different existing pdf and remember it?
Q3. can i save these setting across to a new drawing?
(defun CELBLKS ( / e blk ss blkl) (setq blkl "" ss (ssadd)) (while (setq e (entsel "
[Code]....
i have this lsp, it works great but how can modify it if i want select with a window.? exemple: if i have 3 differentes blocks, i want to select them with windows and the lisp select all blocks that are identical of those 3.?
We have a new title block which now contains various fields to automatically populate the drawing number, number of sheets, issue etc. The problem we have is when we go to zoom all or extents on a layout tab it moves the layout to the right each time. If we only have one layout or we use a plain title block i.e. with no fields, the zoom works fine (layout stays put in the center). This is also true if we directly insert a field onto the layout - again no problems.
The cause of the problem only happens when a block containing a field is inserted onto the paper space of a layout and,there are multiple layouts containing blocks with fields.
How do I manipulate a height parameter all of the dynamic blocks in the drawing from one single field? Say a field located in the drawing properties or on the drawing itself.
For example: Multiple blocks of different walls of same height with other blocks of things on located on those walls, dependant on the wall height, all linked to and changed by a single field. Possibly a Wall Height field located in the custom tab of the drawing properties.
I can pickout each of the blocks and change them at the same time in properites menu because they all share the same parameter name. I would just like to have that height parameter of every block in the drawing, that has that specific parameter controled by a single field. Which I could enter a new height at anytime that would change every block in the drawing to that height.