AutoCad :: Delete Objects In Block Reference?

Feb 7, 2013

I have a block that I use as hatch (using superhatch), so the block appears several times. At the border of the hatch I want to fix some of the lines.

If I try to ungroup & explode the hatch, then the block appears outside of the hatch boundry.

So my question is if I can fix the lines so the hatch remains whole.

View 8 Replies


ADVERTISEMENT

AutoCAD .NET :: Error While Changing Block Definition Of An Block Reference

Oct 21, 2013

I'm trying to change block the definition of an block reference.

I did something like this:

blockreference.BlockTableRecord = newBlock.ObjectId;

In most cases this works well. However I found a case that it not work as well. When I try to change the definition from a new block that I have created in my test DWG, it disappears from the model.

View 6 Replies View Related

AutoCAD .NET :: Determine If A Block Reference Of The Block Exist

May 3, 2012

I have a block: “Block_A”. I am trying to determine if a block reference of the block exist.

Currently I would iterate every block Reference in the Block Table, and then dig deep into each block ref . . . . .

I was wondering if I could just take “Block_A” and see if it has reference and where the references are. Perhaps this is just wishful thinking but I was hoping for a faster way to obtain the references then to iterate thousands of blocks in each table record.

View 4 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 Inventor :: Delete Bitmap Reference In IDW

Mar 23, 2009

Currently running INV 11.

Way back when we first started using INV (R5) we used a bitmap in our titleblock for our company logo. Since then, we have moved to using vault last year and this bitmap is causing major headaches since its original location was no in a library file, but stored in our template file area.

Every time we attempted to add a new IDW to the Vault, Vault would kick it back of course saying a file by that name already exists in Vault. To get around this, we have reworked our titleblocks and have used a DXF file for our logo instead of a bitmap. This works on new IDW's just fine, but editing any previous drawing now causes problems with uploading to vault.

The only way I have found to purge this bitmap from the IDW reference is to start a new IDW and copy the views while inserting the new titleblock.

So, is there a way to clear this reference from the current IDW without having to recreate new drawings?

I have tried to edit the (bad) titleblock and deleted the bitmap out of it, but when trying to then save the file to vault, the vault tree still shows a 3rd party reference which is this bitmap! Copying over the new (good) titleblock does not work either as the IDW keeps the this bitmap reference even though the file does not exist anywhere in the drawing or any of the sketched symbols.

How to get rid of this bitmap reference from our titleblocks without recreating entirely new drawings.

View 8 Replies View Related

AutoCAD Civil 3D :: How To Delete The Broken Surface Reference

Jul 19, 2007

I have got the ole Program Errors Dialogue back again. It seemed to stem from a rogue data shortcut that got broken.

I could not delete the broken surface reference, so had to create another data shortcut, create a reference and then I had the opportunity to delete the rogue surface and then the data shortcut.

Anyway, I got this error on Audit. (see image attached)

and this was the audit command line dump...

Command: audit

Fix any errors detected? [Yes/No] : y

Auditing Header

Auditing Tables

Auditing Entities Pass 1

Pass 1 100 objects audited

AcDbDictionary(8AB)
XData String Length 260 > 255
Truncate to 255
AcDbDictionary(8AB)

could not be repaired.

Pass 1 30600 objects audited

Auditing Entities Pass 2

[Code]...

I may have made an error by importing a data shortcut I didn't need in past weeks on this job. When a data shortcut is broken, it is quite hard to remove the reference.

Anyway, perhaps I just need to upgrade but I don't want to do it for this curent project as I am almost finished. (famous last words).

So what is causing this error that cannot be fixed? I didn't ask foran Xdata string to exceed 255 characters...

View 1 Replies View Related

AutoCAD Civil 3D :: How To Delete Unwanted Reference File Data

Apr 5, 2012

i want to delete unwanted reference file (xref) information outside boundary of a current drawing.using civil 3D or autocad.

View 1 Replies View Related

AutoCAD Inventor :: Unable To Delete Sick Sketch Reference

Feb 21, 2012

I have a sketch reference that is giving a cross part failure error.  I am unable to select the reference in the browser so I cant delete it or update it. 

How to get rid of it.  Deleting the sketch and starting again will be a disaster.

Using 2011SP2 XP64.

View 3 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 :: Reference Objects From Different Sheets

Feb 14, 2013

I was wondering if there was a more efficient way to reference objects from different sheets.

Currently, I am using a method where I have a column on the left hand side of my sheet: with sheet number on top and "line" number on the bottom, as as sheet map. So when I have to reference something externally to the current sheet, I place one of those hexagons in the sheet with the corresponding location.

Is there a better, automated way to do this, as this can be frustrating to change when there is a slight shift and the line numbers have to be changed.

View 3 Replies View Related

AutoCAD .NET :: How To Get All Block Reference In A Drawing

Mar 29, 2013

I need to get list of all block reference in  a drawing without iterating through all entities in the drawing.

View 7 Replies View Related

AutoCAD .NET :: Polyline 3Ds In Block Reference

Jan 11, 2013

I have a weird problem with exploding block reference with vb.net as follows.

When I use BR.explode(DBObjectCollection), and append the entities in the object collection to model space, 

the 3d Polylines inside the block reference do not get appended and I do not get any kind of error. The reason for this eludes me as of yet. (remember, simple polylines and lines and other objects do get appended to model space)

When I use BR.explodetoOwnerSpace(), the block reference explodes as it normally is expected to, but then I have no way to collect the objects from the exploded BR.

View 9 Replies View Related

AutoCAD Map 3D :: Block Reference Scale

Sep 27, 2012

I'm working with two different drawings to import Layers for Lot Grading and when I'm importing the Block Reference from the origin file, it's setup as Linescale 0.5, but when I import into my regular basemap, which is setup for Linescale 1, the text size is double what it should be. 

View 1 Replies View Related

AutoCAD VB :: Block Reference Rotation

Oct 22, 2013

I'm trying to write a vb script to extract information from the CAD drawing. While testing, i found that for some drawing blocks, the corresponding AcadBlockReference Rotation returns 1.57, but when i look at the actual drawing, block properties, the rotation is 0.

View 3 Replies View Related

AutoCAD .NET :: Selecting In Block Reference?

May 11, 2010

i need to use something with similar effect to Editor's method SelectCrossingWindow, but i need it to select object in Block Reference. How can i do that?

View 5 Replies View Related

AutoCAD .NET :: Block Reference Attributes

Jul 13, 2012

I have a block reference in a dwg that is a like a form, for example:

Written By: Diogo
Author: Diogo

Date: 13-07-2012
State: Check-in

In autocad this is a block, and on the attributes of the block reference I only can edit State and Author, and i would like to get all values. Because i want to fill those values of Written By, Author, Date and State by code. I can reach the attribute collection of the block but i only can see the State and Author.

View 7 Replies View Related

AutoCad :: Explode A Reference Block?

Jun 14, 2011

is ter any way to explode a reference block

View 4 Replies View Related

AutoCad 3D :: Copy Portion Of 3D Objects For Reference

Feb 14, 2012

If it was possible to copy a portion of a 3d objects so I can show a blow-up of how the pieces come together (better view). I know i've seen them in drawings where a portion is larger in a circle and with an arrow pointing to where the actual reference is. Or is that all done in modeling or drawing also?

View 4 Replies View Related

AutoCad :: Objects Not Part Of Block When Moved While Editing Block In-place?

Feb 3, 2012

When editing block in-place, not onely objects in the block, but also other objects (just drawn normal in modelspace), is affected by the commands.

View 6 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 2013 :: Label Block Reference

Aug 2, 2013

I wonder if this can be done.  i have a number of blocks which have labels to them i.e. JW1, JW2, JW3 etc. which corresponds to the block name.  Is it possible to have the label automatically referenced to the block name so if i change the block name to JW10 the label within the block changes to JW10 as well.

View 4 Replies View Related

AutoCAD .NET :: Get Block Reference Information Error

Mar 21, 2013

I get a block reference (has attribute) from other drawing as code follow:
 
Public Sub GetBlock_Info() Dim blockName As String = "test" Try Dim doc As Document = Application.DocumentManager.MdiActiveDocument Dim doclock As DocumentLock = doc.LockDocument() Dim ed As Editor = doc.Editor Dim ofd As New OpenFileDialog("Select Drawing", Nothing, "dwg; dwt", "ATS detai drawing", Autodesk.AutoCAD.Windows.OpenFileDialog.OpenFileDialogFlags.DoNotTransferRemoteFiles) Dim dr As
[code]..........

View 9 Replies View Related

AutoCAD .NET :: How To Fill Color For Block Reference

Sep 9, 2013

 i have a .dwg fille with some block reference.
 
I want to fill color for block reference, but when I debug to hatch.appendloop function, I get message eInvalidInput, and block don’t fill color.
 
This is my
 
[CommandMethod("FillColor")]
public void FillColor()
{
Document doc =
Application.DocumentManager.MdiActiveDocument;
Editor ed =
doc.Editor;
Database db =
HostApplicationServices.WorkingDatabase;
Transaction tr =
db.TransactionManager.StartTransaction();
 
[Code]....

View 1 Replies View Related

AutoCAD .NET :: Change Block Reference Attribute

Mar 7, 2010

I have an issue regarding nested entity.

I have a nested entity block reference. In this entity I have three blocks. if I change any of the block reference attribute definition in the nested block reference then it is changing the original block itself.

Actually I am getting the handle of the selected block reference in the nested Entity. and change the attribute reference later. but it is making change in the block itself and other block reference too.

Here is my

static public void CONTACTS()
{
Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument;
Editor ed = doc.Editor;
string contactName = string.Empty;//to hold contact name, from xdata
[code].......

View 3 Replies View Related

AutoCAD .NET :: How To Locate Text Near Block Reference

May 24, 2012

I have tried to use intersectwith to locate text (MText or DBText) near a block reference. Some times it works and some times it does not. The hard part for me is understanding why it occasionally works when most examples are just duplicates with modified text and attributes.

My block reference has 4 attributes  to the left (Right Justified) of a circle and 2 attributes inside the circle. The text objects are used by some CAD operators instead of the upper 2 lines of attributtes. (Guess they dont know how to modify attributes) I want to locate these texts and insert text into the corresponding attribute.

Block Reference:

Att 1   |'''''''|  <-- CAD User will insert a txt over Att 1 and Att 2, 
Att 2  |       | <--  both attributes are usally left blank or contain a space
Att 3  |       |
Att 4   |.....|

View 8 Replies View Related

AutoCAD Inventor :: Title Block Reference?

Apr 5, 2012

I have text in my title block that references part properties. If I have several different part and assembly base views on a sheet, how do I control which one the title block references? It defaults to the first one that was placed. I am using 2011 Pro.

View 1 Replies View Related

AutoCAD .NET :: Get Block Handle From Attribute Reference?

Sep 21, 2011

Is is possible to get the block handle from an attribute reference? I get the attribute reference from a previously stored attribute collection. I did try attref.BlockId.Handle.Value.ToString(), but it gives a different value, not the block's id.

View 2 Replies View Related

AutoCAD .NET :: Move Block Reference Up Or Down Vertically

Apr 23, 2013

I need to select a block in AutoCAD, and move it up or down vertically. I can get to the point where I have the user select a particular block, but after that, how do I get a reference to the block selected so I can move it up or down?

View 1 Replies View Related

AutoCad :: Using Dynamic Block As External Reference

Dec 2, 2013

Is there a possibility to use "Dynamic Blocks" as an "External Reference" having the ability to use their features at the same time?

The thing is I have dwg1 and dwg2 files and in them I use "Dynamic Block1". Whenever I update "Dynamic Block1" in one of the dwg files I have to go to "design center" and update the "Dynamic Block1" in other dwg file.

View 9 Replies View Related

AutoCad 3D :: Subtracting A Reference Block From A Solid?

Jul 26, 2013

AutoDesk 2014 . I am currently trying to design in iphone case. So I downloaded a replica iPhone from grab cad:

[URL]

I imported it and formed a solid around it, now I am trying to subtract the phone from the solid so it perfectly fits within the case. It will not let me subtract it though because the phone is a reference block and the square around it is a solid.

View 1 Replies View Related

AutoCAD .NET :: Using Block Reference As Point Symbol?

Jun 6, 2011

I create a set of points in a drawing and create each point as a block reference containing the point, text and probably something else. Also I would like to use different symbols for points and each of the symbols is defined as a block definition, and for each point I create a block reference according to the symbol type. The question is if is there any way to "combine" block definitions/references? I mean, I have common block definition for all points, whis defines somethin common for all of them. Also I have different symbols for each type of points and each symbol is defined separately as a block. But when a final point is created (containing common definitions and type-dependent symbol) I want to have it as a single block.

View 5 Replies View Related







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