AutoCAD .NET :: Can't Select Block After Redefining It

Feb 24, 2012

after I redefine a block (I make it bigger), I can't select the block by clicking on the part that's gotten bigger. It is as if AutoCAD still remembers the outlining of the previous smaller block and if I click outside this outlining it doesnt select the block. If I save, close and reopen the drawing everything is fine and I can select the block as normal.
  
// Insert from dwg file.using (dbInsert = new Database(false, true)){ dbInsert.ReadDwgFile(strDwgPath, System.IO.FileShare.Read, true, ""); oidInsert = dbActive.Insert(System.IO.Path.GetFileNameWithoutExtension(strDwgPath), dbInsert, true);}// Regenerate the drawingCADS.Application.DocumentManager.MdiActiveDocument.Editor.Regen(); 

View 1 Replies


ADVERTISEMENT

AutoCad :: Redefining Block Within Drawing?

Nov 30, 2011

I'm using blocks inserted into drawings to provide the background for the drawing which I'm working on. e.g an architects building layout inserted as a block and then used as the background in an electrical layout drawing.

This drawing being used for the background has been edited to remove various details and layers and give a cleaner background to my drawings, and is saved as its own dwg file. It is then insert as a block into numerous drawings for use as the background.

My question is - is there a way the block can be redefined once inserted into a drawing, without having to re-inserting it via the normal insert > block route, which would prompt the 'redefine block' option. I want to do this so that I could make further changes to the dwg file used as the background (such as the architects building layout), and quickly update drawings with this inserted as a block.

I'm currently working in autocad 2011.

View 6 Replies View Related

AutoCad :: Redefining Colors For A Block In 2012?

Jan 6, 2012

I have a title block that when inserted in the drawing 1st time all is well, colours are correct, close the drawing down & re-open & all the colours are redefined to the layer it's inserted on.!

Now, if i press U (undo) 3 times it reverts back to it's orginal state, colours etc. find attached F2 info:

Redefining colors for block: _a0_J .undo Current settings: Auto = On, Control = All, Combine = Yes, Layer = Yes Enter the number of operations to undo or [Auto/Control/BEgin/End/Mark/Back] <1>: end .regen Regenerating layout. Command: Autodesk DWG. This file is a TrustedDWG last saved by an Autodesk application
or Autodesk licensed application.

Now if I do the same thing in MEP2012 all is well! !

View 2 Replies View Related

AutoCAD 2010 :: Redefining Block In Multiple Drawings?

Feb 10, 2010

I had a set of drawings that I needed to redefine a block in and had to go into each drawing and redefine it seperately. Is there a way to redefine it once and then possibly select the drawings this block is redefined in?

View 9 Replies View Related

AutoCAD 2013 :: Block Editing - Redefining Insert Point

May 1, 2013

In previous versions of AutoCad I would just double click on a block do my changes click the save changes button and then a save dialogue would come up with an option to change the insert point.  Did this option go away in 2013 AutoCAD?  I do not get this option anymore after I finish editing a block?  This is very useful.  Why would this go away?

View 6 Replies View Related

AutoCad :: Redefining Block Causing Xref Draw Order To Change

Sep 27, 2011

I have come across a situation whereby when a user redefines a block in a drawing it is changing the draw order of the xrefs.The block in question is the Plan frame, and is located in paperspace. The user redefines the block and the xrefs change their draw order in the viewport. A regen does not unfortunately correct the issue.Drawings were created with Civil 3D 2010. The plan frame block is a dynamic block.

View 0 Replies View Related

AutoCad :: Setup In Dynamic Type Block That Would Allow To Select The Block

Jun 22, 2012

I have a series of logos that we use. I would like to have them setup in a dynamic type block that would allow us to select the block and choose from a pull down that logo to use.

I have see it done before just don't know how to replicate it.

As you scrolled through the choices as each one was highlighted it would display that one on the screen.

View 5 Replies View Related

AutoCAD 2010 :: Redefining Blocks With Attributes

Apr 12, 2012

I have a large amount of P&ID drawings that have blocks with attributes. One of the blocks is missing an attribute field that I need so I recreated the block using the same name and added the missing attribute. When I reinsert the block and say "yes" to updating the block's definition within one of my P&ID drawings everything seems fine except when I try to edit the block to fill in that field. 

The newly added attribute doesn't show up but when I right click one of these blocks and select Block Editor the new attribute field does shows up so the redefine did work I just can't use that attribute. Is this a bug in AutoCAD? How I can use this attribute?

View 2 Replies View Related

AutoCad :: Redefining Path To Referenced Image?

Jan 14, 2013

I am creating a new set of drawings but using information from an existing set. On the existing set there is a reference of an image of our company logo in the format. The path for the image is to the my pictures folder for the previous drafts person. Is there a way to redefine this path or do i have to reinsert the image. The format is not a block.

View 3 Replies View Related

AutoCAD Inventor :: Redefining Main Coordinate System

Aug 7, 2012

I am creating a model for CFD analysis, but I accidentally oriented the entire model and assembly the wrong way--Is there any way to reverse the direction of the +z axis?

View 2 Replies View Related

AutoCad 2D :: How To Select A Block By Name

Nov 21, 2013

I know that you can select all instances of a block reference by using QSELECT and specifying Block Reference and then where "Name" equals your given block name.

Is there a way to quickly select a block by name (exactly like the above), and then 'afterwards' reduce that selection down to just those blocks where attribute X is equal to a given string?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Redefining Multiple Blocks Within Drawing

Mar 23, 2003

I have a lisp routine that uploads all the blocks contained within a specific folder and inserts or redefines all blocks of the same name within the current drawing.

My problem is that when I run the routine I prompts me that it can't fine the folder? I created a folder called "blocks" and is located straight onto my C:..........but it still doesn't work.

;FUNCTION TO UPDATE ALL BLOCKS WITHIN A DRAWING
;FROM A SPECIFIC DIRECTORY

(defun c:bup()
(SETVAR "cmdecho" 0)
(setq sst (ssget "X" (list (cons 0 "INSERT"))))
(setq c1 0)
[code].......

View 3 Replies View Related

AutoCAD .NET :: Select Block Reference By Attribute Value

Nov 29, 2012

I have a drawing with many block references on it and they have some attributes.

I know how to find the block reference witch the attribute value, and even change it but I don't know how to select it once I have the object ID of the block.

How can I do the selection without asking the user to select it?

View 6 Replies View Related

AutoCAD VB :: How To Select All Block Attributes Using VBA Coding

Sep 23, 2012

How Can I Select All Blocks Attributes Using VBA Coding

all blocks with any name with any layer with any property

View 7 Replies View Related

AutoCAD .NET :: Block Functions (Select / Explode)

Apr 15, 2012

I have a C#-WPF-Application. In this application there is a list of blocks in my drawing. When I click one of these blocks in the listbox I have several button-functions. 

One of them: Select the in the list selected block in the drawing.

Another: Explode the in the list selected block.

I found several topics with Selection, but none of them worked for me. I'm looking for a selection via ObjectId or blockname of a single block, in the most cases the selectionfilter needs an array(?). 

View 9 Replies View Related

AutoCAD .NET :: Select All Block Only On No Frozen And Active Layer

Jul 12, 2012

Dim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor
Dim db As Database = HostApplicationServices.WorkingDatabase
Dim tr As Transaction = db.TransactionManager.StartTransaction()

[Code].....

the only prob is : I want selec all block but not the block on layer frozen, off or not visible...

I can check all layer stat on each block.. (i do that already for check each block (name) but i want a solution more easy.)

View 5 Replies View Related

AutoCAD VB :: Cannot Select Block Reference Using SelectAtPoint Method

Apr 24, 2011

I try to get a blockreference name and objectID by selectatpoint method in VBA, but i fail to do that.

    dim obj as object
    dim blkRef as acadblockreference
    sset.selectatpoint(point)
   for each obj in sset
   set blkRef=obj
   msgbox blkRef.name
   next obj

just like that above, but noting returned. I do not want to use selectbypolygen method.

View 1 Replies View Related

AutoCAD .NET :: Select Attributes From Block - Point Selection

Jun 18, 2011

Is there a way to select attributes from a block if I pick a point inside the block?

View 6 Replies View Related

AutoCad 2D :: How To Select Attributes To Include Them In A Block Definition

Dec 15, 2013

What order of operations do you use to include multiple attributes in a WBlock definition? I can't figure out to include all of attributes and have them in a specific order.

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Unable To Select A Block

Feb 6, 2012

what I'm trying to do is have the program select the block and then I want to get out of it what the Block Name is, so I can then compare it to the list of block names that I want the program to move. Here is what I was trying to use:
 
(setq enlist2 (ssget "_X" (list '(0 . "INSERT") (cons 10 (trans '(0 0 0) 1 0)))))(setq en (entget enlist2))

 However, when I do this, I get this error message: Error: bad argument type: lentityp <Selection set: 1e02>

If needed: AutoCAD 2013 User using Visual LISP for editing LISP and DCL files

Also I have AutoCAD 2011 currently still available for us, but we are using AutoCAD 2013 for 99.9% of AutoCAD use

View 4 Replies View Related

AutoCAD 2013 :: Select Block And Have Only Insertion Point Showing

Oct 18, 2013

When I select a block, all points contained in the block are shown.  How do I turn this off?  I want to select the block and have only the insertion point showing.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Using SSGET To Select A Block To Move It

Feb 3, 2012

I'm having an issue with using the SSGET to select a block so I can move it. I'm changing the UCS to be at the center of the top view in the program(user selects center) and the block is at 0,0,0 after changing the UCS. However when I use SSGET it doesn't select it. So I used:

(setq en(car (entsel "
Select a block :")))(setq enlist(entget en))
 
and it lists the DXF Code of 10 as

(10 15.0893 13.5165 0.0)
 
How can I then select it if I don't necessarily know where the block is going to be?

If needed: AutoCAD 2013 User using Visual LISP for editing LISP and DCL files Also I have AutoCAD 2011 currently still available for us, but we are using AutoCAD 2013 for 99.9% of AutoCAD use

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Dynamic Block By Its Name But It Does Not Work?

Sep 23, 2011

i am trying to select a dynamic block by its name but it does not work

(setq WW (ssget "x" (list (cons 2 "WET WELL"))))

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Top Block Of Column And Get Bottom Left Bounding Box Corner

Jul 10, 2013

I have blocks forming a column, and I need to allow the user to select the top block of the column but return the bottom left corner of bounding box of the bottom block in the column. 

(DEFUN NXT-INSPNT (/ BLKLST CURENT CUROBJ IDX IPNT MCMD NENT SEL SS VENT) (PROMPT "
>> Pick the Category HEADER to add note:") (SETQss nilss (SSGET ":E:S" (LIST (CONS 0 "INSERT"))) )
(IF ss (PROGN (SETQ sel (ENTGET (SSNAME ss 0)) iPnt (CDR (ASSOC 10 sel)) )
(princ iPNT) (setvar "attreq" 0) (VL-CMDF "-INSERT" "LEG-NOTE" "S" 1 iPnt 0 PAUSE)

[Code] ....

 I'm not exactly sure where my code is failing but I get the following error.

error: AutoCAD.Application: Null extents

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Dynamic Block Based On Previous Selected Point

Apr 9, 2012

For a program i am working for i have to extract the base point of a dynamic block.

This can be done perfectly by this function:

(cdr (assoc 10 (entget (car (entsel)))))

But i want the entity selected based on a previous slected point. So for example when i selected pt1 (which is a point at the border of the dynamic block) i want to be able to extract the base point on the block whit this point.

View 8 Replies View Related

GIMP :: How To Select A Block And Drag It To New Spot

Feb 6, 2014

I want to select a block, and drag it to a new spot. Then, I want to select another block in the same image and drag it to another spot, and repeat over and over. 3 years using the gimp and I cannot do this yet.

What I do is drag one area, save and close the image, then open the image again. Is this the way the gimp works?

View 2 Replies View Related

AutoCad :: Quick Select Command Value To Select One Type Text Or Other Object

Oct 26, 2011

In Quick Select command function, I want to use more properties value to select one type text or other object.

View 9 Replies View Related

AutoCAD 2013 :: Select Other Window When Select At Intersection Of Several Objects

Sep 5, 2013

I accidentally turned something on in Autocad, and I want it to go away, I have no idea what it's called or how to get it gone.  It's akin to the "select other" window in Inventor when you select at the intersection of several objects.

How do I make this go away?

View 2 Replies View Related

AutoCad :: Shift Select To Select Multiple Objects?

May 15, 2008

Right now, when i click one object and then another, the first object becomes deselected. Holding shift is the only way for me to select multiple lines right now (other than dragging of course) but that's not what I'm used to and it annoys me a lot. At first everything is fine but then after a while it does this without me changing any options at all.

View 9 Replies View Related

AutoCad :: How To Select All Object Or Line With Single Select

Oct 4, 2013

master im new in autocad 2014....i have a problem now when i select line or object it highlight or make a broken line....but when i select the other object or line my previous selected back to normal..i mean i can select only one line if i use single selecting....how to select all object or line with single select continuously, except using hold left click...

View 1 Replies View Related

Illustrator :: AI 5.5 / What Is Brown Select Rectangle Appearing When Click Select Tool

Oct 9, 2012

When I click the select tool, a brown selection type of rectangle appears in a particular area of the illustration, even though I have not clicked on the illustration yet. I assume it is some type of warning indication, but don't know what. P.S. It is draggable and scaleable - I can move it off the artboard. An example:

View 5 Replies View Related







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