AutoCAD 2010 :: Invalid Block Name On Insert

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


ADVERTISEMENT

AutoCAD 2010 :: Dynamic Block Grips - Block Does Not Change When Insert In Another File

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

AutoCAD 2010 :: Insert Multiple Block Definitions

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

AutoCAD 2010 :: 2011 Crashes Upon Trying To Insert 3D Block

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

AutoCAD 2010 :: Insert Lighting Block Into A Drawing

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

AutoCAD 2010 :: Insert Block To Inherit Current Layer?

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

AutoCAD 2010 :: Block Insert Point Is Different On Drawing Than On Xref

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

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 View Related

AutoCAD 2010 :: Insert Title Block And Annotations With Pictures In Design Using Paperspace Option

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

AutoCAD .NET :: Insert Block From External DWG File / Specify Insert Point By Click Mouse

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

AutoCAD Visual LISP / AutoLISP :: Insert Point At List Block And Dynamic Block

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

AutoCAD Visual LISP / AutoLISP :: Insert A Block / Explode And Rename Nested Block With Suffix

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

AutoCAD .NET :: Insert Block And Drag Jig Hiding Inserted Block At 0,0

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

AutoCAD .NET :: Insert Dynamic Block And Position And Stretch The Block?

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

AutoCad :: How To Delete Block From Insert Block List

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

AutoCad :: Create Block To Insert On Title Block

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

AutoCAD 2010 :: Drawing File Invalid

Sep 1, 2009

Size of Drawing file is 4.33 mb. But Can not Open. A message appears " Drawing File Invalid"

Can I Retrieve the data.? No backup file is available in my system. I have tried with recovery tool but unable to get original data
for Any other option .

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Insert Point At Block Insert Point

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

AutoCAD .NET :: Insert Block Reference Using Block Name

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

AutoCAD 2010 :: Creating Linetype - Invalid Number Or Bad Continuation

Mar 13, 2013

I am trying to create a linetype from the following: 

FENCELINE3,Fence line  ----X----X----X----X----X----X—

 A,.5,-.2, ["X",STANDARD,S=.1,R=0.0,X=-.05,Y=-.05],-.2

I am getting a bad definition of FENCELINE3 at line 118 of C:Program FilesAutoCAD 2010UserDataCacheSupportacad.lin

Invalid number or bad continuation.

View 1 Replies View Related

AutoCAD 2010 :: Invalid Or Incomplete DXF Input - Drawing Discarded?

Jun 9, 2011

I get the above error message when i try to open a DXF file which was exported from LSS. The survey data from TPS seems to export fine, but the GPS data won't open.

I've read the previous posts on this error messages, but most seem to be relevant to autocad 2007. However tried the remedy suggested (through MS word) but that didn't work.

View 9 Replies View Related

AutoCAD 2010 :: How To Identify Invalid Solids Without Having To Select Each Solid Individually

Nov 1, 2012

how I can Identify invalid solids without having to select each solid individually.I would think that a lisp routine would be the way to go, but I cannot find what makes a solid invalid as opposed to being valid.

View 3 Replies View Related

AutoCAD Express Tools :: Hydraflow Invalid Installation Message 2010

Jun 15, 2009

When I try to open any of the Hydraflow extensions, I get the following message: "Installation error Invalid installation. Program ending." I ran a repair from Windows, but get the same result. How to successfully open/use any of these Hydraflow components in 2010?

View 6 Replies View Related

AutoCAD 2010 :: 1324 Error / The Folder Path (My Documents) Contains Invalid Character

Sep 26, 2012

I'm currently getting the "1324 Error. The folder path 'My Documents' contains an invalid character."

when trying to run AutoCad 2010. It had been working fine previously, but now it gives this error and won't allow me to use it. I am also unable to uninstall or reinstall the program without getting the same error.

I have confirmed that the profile is not set to roaming. I have also tried deleting the registry entries as recomended here:

[URL]

The user account is local administrator. The OS is Windows 7 64bit.

View 1 Replies View Related

AutoCAD LT :: Insert Using Block Name

Oct 12, 2012

Using the command -insert -blockname = filename successfully? What I have tried is:

^C^C_-insert;"Insulation - 25-50mm"="K:/All Staff Personal Folders/Personal_Charles Edwards/Autocad/Blocks/Detail Blocks/Insulation - 25-50mm.dwg";

Trying to run this I get:

Command: _-insert
Enter block name or [?]: Blockname="K:/All
""K:/All.dwg": Invalid file name.
*Invalid*

View 4 Replies View Related

AutoCAD .NET :: Insert Block From Other DWG

Nov 12, 2012

I have to write a procedure for insert a block with attributes from an external file and set the annotative scale block to current scale. where I cand find an examples?

View 2 Replies View Related

AutoCAD .NET :: Insert Block With Different Name

May 3, 2011

is there a way to insert a block in the drawing, but with a different name, so it can be edited separately?

I have block A in the drawing and i want to insert it again, but then edit it while the ones already inserted stay unchanged. So i would need it to be inserted as A_1.

View 1 Replies View Related

AutoCAD .NET :: Insert 3D Block Into UCS

Aug 24, 2013

I defined a 3d block..It is defined along X axis...I want to insert it into a ucs by picking 2 points( insertion, and direction) and that Block Z axis to be parallel with UCS z axis

I insert the block first then I rotated it..I have got this

P1 is insertion poit

P2 is the point for direction

P1 world is p1.transformby(current ucs)

Dim Xax_block As Vector3d = Block1.BlockTransform.CoordinateSystem3d.Xaxis.TransformBy(Block1.BlockTransform)
 Dim VectorP12 As Vector3d = P1_world.GetVectorTo(P2_world)
    Dim RotAX As Vector3d = Xax_block.CrossProduct(VectorP12) ' here is calculating the perpendicular vector between x axis of the block and the vector from point1 and point2
      Dim Rotation1 As Double = Xax_block.GetAngleTo(VectorP12)
      Block1.TransformBy(Matrix3d.Rotation(Rotation1, RotAX, P1_world))

By picking 2 points is inserting the block along the line between 2 points...But is not having as normal the z axis of the ucs..

View 2 Replies View Related

AutoCad :: How To Insert 3D Block

Feb 29, 2012

I have a problem with inserting 3d blocks in autocad 2011. While inserting a block, i specify insertion point on-screen and blocks seems to be inserted to right place but block itself is far away from the drawing (eg. if i type zoom --> extens = drawing and inserted block are totally different locations on model screen.)

View 1 Replies View Related

AutoCAD .NET :: Insert Block - Workflow?

Apr 27, 2012

Am I along the correct workflow path here? I want to insert a drawing as a block into my current drawing. Before I start writing code I want to make sure I understand the steps.

Open Transaction
Wblock Drawing to Temp Database
Now have my New BlockTableRecord Object 
Copy BlockTableRecord to ActiveDwg.Database
Create New BlockReference
Add attributes 
Set Scale Properties
Set Insertion Point
Set Rotation 
Append BlockReference to Database
Commit Transaction

Am I missing any of the steps? 

Is this how I would imidate the old VBA modelspace.insertblock(myPoint, "C:pathpathpathlock.dwg",1,1,1,0)

View 6 Replies View Related

AutoCAD .NET :: Insert Block From Another File?

Jul 5, 2012

I am inserting a block from another file to the current drawing file.

I am using C#.Net.

My block gets added into the blocktable record of the current file, but while inserting the block using the "Block" command in AutoCAD its shows an error "The Existing Block has not been modified" I have attached a screenshot of the message i am getting.

I want to insert the block automatically to a user specified location.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved