AutoCAD 2010 :: Insert Large Amount Of Coordinates As Block In DWG
Aug 21, 2012
I have an excel spreadsheet with a lot of coordinates. I know how to insert a large amount of coordinates as an block in my dwg. But what I want is to connect my Excel to my dwg, so if I change my Excel automatically the blocks in my dwg change.
View 3 Replies
ADVERTISEMENT
Oct 28, 2013
I have created a dynamic block with a stretch, flip and rotate. Everything works great in its file. When I insert it in another file, the grips move but the block does not change.
AutoCAD 2014
View 2 Replies
View Related
Aug 8, 2012
Trying to export points to a csv with the object data that is attached to the point. I can use this and it works great for smaller projects, but crashes every time when I try to export a larg amount of points. The most it has successfully exported was 9000 points but on average it usually will get to 3000 points before i get a fatal error and everything crashes.
Dim CSV_FileName As String = Nothing
' navigate to the point text csv file using a file dialog
Dim dlg As New System.Windows.Forms.SaveFileDialog()
dlg.InitialDirectory = "C:"
[Code] .......
View 9 Replies
View Related
Oct 11, 2012
I have a small LiSP routine I wrote about 14 years ago that no longer works. It is supposed to update a logo on a title block using the -insert command with a redefine option and a cancel
(command "-insert" "K:\FORMATS\LAYOUTS\GSILOGO.dwg" "y" ^c)
When I run the routine I get an error message "Invalide block name" and it cancels the command without updating.
Yet, if I insert the same block through the insert dialog box it allows the file to be inserted.
View 9 Replies
View Related
Oct 12, 2012
I'm currently working on building up a library of 3D models of crane rigging for a new job. Specifically, I'm creating wire rope slings (like this 3/8" wire rope sling) but with less of an emphasis on visual detail and more on precise measurements.
In order to simplify the process a bit, I created an excel file to enter the basic four measurements of a sling (length, rope thickness, eye width, and eye length) which then calculates and displays for me the coordinates and measurements of all the objects needed to make the sling (arcs, lines, circles to sweep along those lines, etc.)
I realize now that I'm really just creating a task of endless copy/paste, and I'm looking for a better way to get through the process. How to make this work as efficiently as possible.
Is there some way that I could point AutoCAD to the Excel file and have it read all the coordinates and measurements to draw everything automatically? I also considered creating a line in Excel that would give output that I could copy and paste into a .scr, but I have never used any scripting in CAD before, so it would be new territory for me.
View 5 Replies
View Related
Jul 9, 2012
I have a drawing with all my block definitions and the blocks inserted and annotated. Seems that in a previous version of Autocad, I could insert the drawing and cancel the insertion at some point of the insertion command sequence, such that the drawing was not inserted, but all the block definitions remained. I could then use the insert command and all of these blocks were available. Yes, sometimes this made my drawing memory size rather large and I would have to purge the unused blocks later to reduce the memory size of my drawing.
View 1 Replies
View Related
Feb 3, 2012
I created a number of 3D blocks to be inserted into a 3D model of a building. I created the blocks in a separate drawing first; i defined them locally, then, when i had them the way i wanted them, I used "wblock" to save all of these blocks to a folder.
I then opened the 3D building model and tried to insert one of my new blocks. I repeatedly get the following:
"AutoCAD Application has stopped working"
with the following info from microsoft:
"Description:
Stopped working
Problem signature:
Problem Event Name: APPCRASH
Application Name: acad.exe
Application Version: 24.1.208.0
Application Timestamp: 4dbf9c16
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.17651
Fault Module Timestamp: 4e21213c
Exception e053534f
Exception Offset: 000000000000cacd
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033"
I have tried repairing my installation of autocad with no improvement.
i tried opening the drawing of the block itself, copying it, and pasting it via the "copybase" command into the other drawing with the same result.
Occasionally, autocad will ask me if i'd like to debug the program (and visual studio opens) -- it mentions a "StackOverflowException" within acad.exe, and also mentioned "windowsbase.dll".
I am using windows 7 pro x64 and autocad 2011.
CPU: intel i7
Graphics: NVidia GeForce GTS 250
8GB DDR3 ram
The autocad error-reporting dialog never gets launched as it is forced to close before this point.
View 3 Replies
View Related
Feb 12, 2012
I have a lighting block I need to insert into a drawing. Who ever drew the block did so upside down (so the top is really the bottom). I can't, for the life of me, figure out how to "rotate" it so that the top is correct. When I rotate the block, it simply keeps the top the top. When I copy and paste it, it stays the same as well. I tried inserting it into a new drawing.
View 4 Replies
View Related
Jan 12, 2010
There are certain occasions where I would like to insert a block to inherit the current layer in an active AutoCAD drawing. This happens frequently when a client requires a certain layering standard and I have a block from another drawing with different layering standards. To correct this it usually involves several steps - Explode and change the layer, setbylayer, bedit, etc,
Is there a command to where I can directly insert a block and its layers change to the current layer of the active AutoCAD drawing?
View 9 Replies
View Related
May 4, 2012
I have a drawing where I have placed all of my natural gas piping. I have all of the annotative blocks set to 3/32"=1'-0" and 1/32"=1'-0" scales. They are both correctly displayed in this drawing.
When I xref this drawing into another about half of the 1/32" blocks show up correctly. The other half are shifted to the right off of the plan. All of the 3/32" blocks show up correctly.
View 9 Replies
View Related
Jan 3, 2007
is there a fast way to resize a large amount of images?
View 2 Replies
View Related
May 21, 2013
I have a large amount of photos to send to a customer and i need to edit them to send by e-mail.
My question is does GIMP have a way to resize a large amount of images in one go instead of doing them one at a time.
View 5 Replies
View Related
May 4, 2012
when I am working on a large drawing and/or pasting as a block, all the grey lines (colour 8) turn to white. When I select a grey line, it flicks back to grey, but de-select, and it's white again.
If I toggle on hardware acceleration, the problem is fixed for a short while, and also if I turn it off, it is fixed for a short while, and also if I save, close and re-open it's good untill I paste a block....
I suspect it may be because of my setup and an un tested graphics card:
Windows 7 64 bit Ultimate - running through bootcamp on a macbook pro
Autocad 2012 Lt
Machine Configuration
---------------------
Processor Speed : 2.2 GHz
RAM : 8103 MB
3D Device
---------
Name : AMD Radeon HD 6750M
Manufacturer : AMD
Chip set : Radeon HD 6750M
Memory : 707 MB
Driver : 8.17.0010.1063
Your machine contains a 3D Device that is not certified.
View 1 Replies
View Related
Mar 19, 2012
I have just finished my design and I wanted to insert a title block and annotations with pictures using the paperspace option. I want to print the design out onto A1 Paper (80000mm x 56000mm) to a 1:100 scale.
What I want to know is what is the dashed line, how do I make the paperspace A1 size and a 1:100 scale, as well as wanting to know how to make the title block and add annotations to the design.
One problem I am facing is that any line I do create comes out bold as well as when I zoom into the drawing itself every line is bold. Why is this?
View 3 Replies
View Related
Apr 13, 2012
After fairly smooth sailing for using X6 I ran into a problem that's caused me to switch back to X5 for the time being :(
I work in files that have thousands of individual characters in them. In X5 if I wanted to change the color of about 10,000 individual characters it would take about 3 seconds to do so. If I do the same thing in X6 I takes at least 30 minutes (or longer, I just killed it by that time).
Working with large amount of texts is incredibly slow X6, not just 5 or 10% or slower, doing somethings takes up to 10x times as long.....
I know there is a lot of features for text in X6 but this decrease in speed puts a complete block in my workflow. Maybe Corel could have a feature that individual text characters have minimal properties associated with them or something?
Here are my specs:
windows 7 64bit with office 2010 installed
Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
NVIDIA Quadro 4000
16.0 GB ram
View 6 Replies
View Related
Apr 2, 2013
I write a program, this program needs to insert some standard illustrations. I made these standard illustrations into different blocks. And I store these blocks in a dwg file. Everytime I need to insert some illustrations, I just click the mouse on the current drawing, I want the illustration inserted. These means the following points:
(1) Import the blocks to the current drawing, if the blocks have already been imported, then do nothing.
(2) Specify the insert point by clicking the mouse, and I want the block's insert point to coincide with the mouse clicking point.
View 1 Replies
View Related
Apr 3, 2013
I am running AutoCAD Mechanical 2010, and am curious if there is a way to decrease all the hole sizes on a given part by a set number, say .015.
I work for a sheet metal fab shop, we cut our parts with a waterjet and this requires us to undersize all the holes on the flat patterns by about .015 so they can be drilled out afterwards leaving a nicer edge finish in the holes. Some parts have hundreds of holes with multiple sizes and it can be very time consuming to undersize all the holes. My current method is to undersize one hole and then use the equal constraint to set the rest of the holes of that size to that same size.
View 5 Replies
View Related
Dec 6, 2011
My application inserts 4 DBText lines and 2 PolyLines into a drawing from another drawing(or Source Database). I created a special layer ("warning") into which these entities are inserted. Then I combined these entities into a group so the user can move it out of the way while they are working.
When the title block data is refreshed, I want to redraw my 4 lines of text and 2 lines at the location last set by the user. I have successfully implemented redrawing the object at the X and Y coordinates last placed by the user by using ent.TransformBy(Matrix3d.Displacement(acVec3d) on each entity at the source and then doing a DBSource.WblockCloneOjbects to put them in the destination drawing at the correct position.
However, if the user rotates the group, I need to make the rotation also. This is where I'm having problems. What is the best way to grab the rotation value(s?) from the existing, user placed group, and then redraw onto the drawing at that rotated value? Is there an easier implementation that the way I am doing it?
View 1 Replies
View Related
Jan 2, 2013
I seem to remember a command that you could input which would show you detail info about when a drawing was originally open and how much time it the drawing had been open. But of course I do not recall what the command was.
View 6 Replies
View Related
Apr 18, 2013
I am learning autolips and i found a problem that i can´t solved.
(vl-load-com)(defun c:pmb ( / ss ent pt )(prompt "
selec block : ")(setq ss (ssget '((0 . "INSERT")))) (setq ent (ssname ss 0)), (setq pt (cdr (assoc 10 (entget ent)))) (command "point" pt))
wich this code you select one block and insert one point at insert point´s block.
which this other code yo select all block and insert all point.... but in one block
(vl-load-com) (defun c:pmb11 ( / sele cod bloque nbloque lista pt ) (prompt "
block: ") (setq sele (ssget ( List'(0 . "INSERT"))) Cod 0 )cod (1+ cod) (repeat (sslength sele) (setq bloque (ssname sele cod)) (setq pt (cdr (assoc 10 ( entget bloque)))) (command "punto" pt) );repeat )
View 4 Replies
View Related
Jul 10, 2012
I am testing using script files to automate inserting blocks for As-Built drawings. My script files run fine, but AutoCAD is placing the blocks at a location that is different than what the input on the command line shows. For instance, I am placing a block at (6,6), which is reflected in the command line, but the block is actually placed at (6,5.898). The 5.898 does not appear anywhere in my script file, and the command line even shows that (6,6) was entered for the insertion point.
View 4 Replies
View Related
Nov 30, 2012
I have a block that i want to insert several times and revised each one to be different to do this i would have to insert it and rename the blocks that come in and then reinsert i would like to insert and have a lisp explode the main block and rename the other 2 blocks with a suffix at the end depending on how many times its in the drawing... can this even be done? My original block name that will be first inserted is "BENT PULLEY NOTES" it needs to explode after i drop it in and then there are 2 blocks within that called "Bent Pulley" and "Bent Pulley DYN" that i was hoping to keep the names but add a number at the end depending on how many are in the drawing already...
here is a lisp that i have found... it would work if i didn't have nested blocks and only wanted the one block to be insert and not explode...
(defun c:Test (/ e i name Bname )
(setq e nil)
(command "_.-insert" "Drawing1.dwg" pause "" "" "")
(if (setq e (entlast))
[Code] .......
View 9 Replies
View Related
Apr 11, 2013
I have a pallete button that inserts a block then a drag jig to position it. The block is first inserted at 0,0 and dragged.
The block at 0,0 remains visible while a "duplicate" block is dragged. Is there a way to hide the original?
Insert block then calling the drag jig..
AddViewBlock(New Point3d(0, 0, 0), 0, ColorIndex, trans) psr = ed.SelectLast() DragView(psr.Value, "Bar Insertion Point")
In the DragView procedure I have:
Public Sub DragView(ByVal SS As SelectionSet, ByVal sPrompt As String)
'....
Dim ppr As PromptPointResult = ed.Drag(SS, vbLf & sPrompt, New DragCallback(AddressOf MyDragCallback))
View 4 Replies
View Related
Apr 6, 2013
I am trying to insert a dynamic block and position and stretch the block, using the linear parameters, depending on values entered into a form.
I managed to create a form that would draw a series of boxes. And i managed to create a routine that would insert a block and size it depending on fixed values but i can't link the 2 together.
Win 7 Pro 64bit, Dell Precision M6500
View 8 Replies
View Related
Oct 20, 2007
I am using Autocad 2007 I made several blocks with att. And I use this drawing and copy it to the samples/design center folder so that I can see the blocks that I created on the Design center window for use on different other drawings.
My problem is that if I make a cange on the ORIGINAL block drawing how can I update the inserted blocks on the other drawings? I try to delete the block from the local drawing insert block list (is this possible?) to paste the block again with the new changes, but somehow even when I grab the new modified block to inserted again when I do it, it takes the shape of the old version!
View 6 Replies
View Related
Oct 26, 2012
Is it possible to create a block to insert on our title block that will populate itself with a list of drawings and names?
I know this is possible through the use of LISP and the Sheet Set Manager, but could this be done through a combination of attributes and fields (we want the same functionality in LT).
View 1 Replies
View Related
Oct 28, 2013
I want to insert or import an image that automatically recognizes my drawing coordinates.If I need to, I can use AUD (as Map 3D).However, my computer has difficulty processing too much data.
View 7 Replies
View Related
Sep 14, 2013
I found this LISP code that can insert a block at coordinates from an ASCII.
(defun c:universal( / file f a osmode);PointsToBlocks(while (not file)(setq file (getfiled "Input file" "coords" "txt" 4)))(setq f (open file "r")osmode (getvar "OSMODE"))(setvar "OSMODE" 0)(while (setq a (read-line f))(command "._insert" "block1" a 1 1 0))(setvar "OSMODE" osmode)(princ)
What I want to be able to do is insert blocks from an ASCII and also set the x-, y-, and z-scales.
For example, I have these lines in ASCII, the data points refer to X position, Y position, Z position, X scale, Y scale, and Z scale.
30.593589,21.274607,26.235255,0.172826,0.766324,0.066442
30.710182,21.379792,27.054248,0.130816,0.700035,0.043114
View 1 Replies
View Related
Nov 29, 2012
I thought there is command that will crop a window area in model space to minimize the amount of objects.
View 4 Replies
View Related
Sep 26, 2012
trying to insert point instead of block.
(setq blok (entget (car (entsel))))
(setq point (cdr (assoc 10 blok)))
(setq XX (rtos (car point) 2 20)) ;; x koordinata bloka
(setq YY (rtos (cadr point) 2 20)) ;; y koordinata bloka
(setq ZZ (rtos (caddr point) 2 20)) ;; z koordinata bloka
(command "point" xx,yy,zz) is not working
!xx="5582453.414999999" but when i (atoi xx) i get 5582453 no dedimals...
how to create valid insertation point from xx, yy and zz?
View 6 Replies
View Related
Nov 17, 2012
Drawing contains a block with "BlkName". I want to insert blockreferences of this existing block using .Net. All shows how to insert a new block and then use the BlockID returned by the insert function. In my case I only have the block name and there is no Block id. How to get it or how to create a block reference of an existing block?
View 3 Replies
View Related