AutoCAD .NET :: Add Block When Other Drawings Are Open

Nov 14, 2011

I'm trying to add a block with an attribute to a drawing. The command works if there is only one drawing open, but when there are other open drawings then the block doesn't appear. Strangely if I select the block in the block editor and then close the block editor the block suddenly appears. Do you know what is causing the block to not appear when other drawings are open?

I included the code below. "s1" works but "s2" has the strange behavior of the block not being visible.

[CommandMethod("s1")]
public void AddBlockWithAttributeToDestination_WithNoOtherDrawingsOpen() {
    var attributeValue = "1234";
    var destination = Application.DocumentManager.MdiActiveDocument;
    using (var transaction = destination.TransactionManager.StartTransaction()) {
        addBlock(transaction, destination.Database, attributeValue);
        transaction.Commit();

[code]....

View 9 Replies


ADVERTISEMENT

AutoCAD 2013 :: Updating Block (19 Drawings)

Jan 9, 2014

I have a block that has to be update in a bunch of drawings -more than 20-. I updated in only one drawing, apply coy paste to the following but the block does not update in the drawing that I am pasting my new block. How is possible to update this block in the following 19 drawings?

View 4 Replies View Related

AutoCAD Inventor :: New Title Block In Old Drawings?

Oct 22, 2013

I have done a new Title Block in our drawing templates.

It only works in New drawings if I open an old drawing I must "Copy/paste" the new Title Block into the browser to the left But I want all our old drawings to use the new Title Block.

Is there a way to have the new Title as default on all old drawings?

View 3 Replies View Related

AutoCAD 2010 :: Update Block In Several Drawings

Jul 15, 2013

I have 20 seperate Acad drawings, which uses multiple blocks across all drawings. Is there a way i can create a block using Wblock and save seveal blocks in a folder. So when i need to make a change to a block, i make the change to the block in the folder and it automatically updates the block in all drawings? Is it possible to set this up without using xrefs, as i have hundreds of blocks.

View 2 Replies View Related

AutoCad 2D :: Amend Block In Multiple Drawings?

Dec 5, 2013

I have amended our drawing frame (a block) in our templates so I now have a set of 82 I need to amend the frame in. So is there a easy way of redefining a block in a number of drawings or do I just do each drawing separate ?

View 3 Replies View Related

AutoCAD 2013 :: How To Create Title Block For Drawings

Jun 5, 2012

I'm having some difficulty in deciding how to go about creating a title block for my drawings. I have attempted to create the title block with Document fields from the drawing properties custom properties tab, and creating the same fields with information from the Sheet / Sheet Set fields. Both title blocks used attributes inside the block to house the fields, and both were .dwt files.

Is there a way to take the properties from the .dwt drawing into a newly created drawing, or is there a way to link custom sheet set properties with a newly created sheet set? The main goal is to not have the user manually input multiple custom fields either in the drawing properties or the sheet set manager of the new drawing.

View 1 Replies View Related

AutoCAD 2010 :: Search A Group Of Drawings For A Block?

Feb 16, 2012

I have been given a set of drawings (300+) and I need to find where and/or if certain blocks (and other objects) are used in these drawings.  Is there a utility program or does AutoCAD have the ability to search a group of drawings for a block (by name) and return a list of all the drawings where the block is found. 

On that same topic, is there a utility program that will export all the CAD data from a list of drawings to a .csv file or even excel so I can filter and search several drawings for layers, blocks, xrefs etc. 

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 Architecture :: Block Editor Close Drawings

May 27, 2011

I was in Block Editor and when I hit the save changes button it closed my drawing.  Now when I open the drawings, the only thing in it is the block, but it is exploded.  I can not find any of the information that was in the drawing.  The file size is still 1.3 MB.  I would have to lose the 3 hours of work I have done and go to a previous version file of the drawings I was in.

View 6 Replies View Related

AutoCad :: How To Delete 5 Block From All Drawings - Located Exactly In Same Xy Coordinates

Dec 22, 2013

I have 800 files where all text fields in the drawing (about 10-20 text/block in every file) copied from the same block.

I need to delete 5 block from the all drawings and these blocks located exactly in the same xy coordinates. I cant delete these blocks by name because all 20 blocks in same drawing have same name.

I need lisp routine - delete block with name _TXT_ from location X_cord1; Y_cord1 and X_cord2; Ycord2 and so on.

View 1 Replies View Related

AutoCAD LT :: Losing Block Editor Setting When Sharing Drawings

Oct 26, 2013

I used to be able to hold the ctrl button down and double click a block attribute to directly change the text (_attipedit) but when I shared this drawing with another AutoCAD user who returned the drawing that double click to edit is missing.

View 2 Replies View Related

AutoCAD Inventor :: Add Sheet Name To Title Block Of Drawings With Variable?

Apr 15, 2009

Is there a way to add the sheet name to the title block of drawings with a variable?

I can add the sheet number, revision and size but not the name. Why not?

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Add A Block To Numerous Drawings?

Nov 6, 2013

(setq plist (vl-directory-files (getvar "dwgprefix") "*.dwg" 1))
 (foreach ins1 plist
 (setvar "lispinit" 0)
 (command "open" ins1)
 (command "insert" "C:UsersasmoleyDesktopBSK100_BD" "0.875,0.28125")
 (command "save" ins1)
 );foreach
 (setq plist nil)

bad variable name in SETQ and malformed string on input errors.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Insert Block Into Several Drawings

Aug 2, 2013

Any way to insert a block onto many different drawings quickly? I have a title block I need to insert into about 100 drawings. It seems very tedious to open each drawing and insert 100 times.

View 3 Replies View Related

AutoCAD 2013 :: Tracking A Block Or Xref In Multiple Drawings?

Jan 29, 2013

I am trying to come up with a way to track a block or xref in multiple drawings. I have multiple drawings that have the same block in them and I was hoping that there was a way I could find out what drawings have the block without having to open up every single drawing.

View 2 Replies View Related

AutoCad :: Batch Plot 50 Drawings - Publish With Block Stamp?

Jun 20, 2012

I'd like to batch plot 50 drawings, all of which have the same title block in the same position. This is easy with the PUBLISH command, but I'd like to be able to add a "stamp" of the customer logo to these drawings, which I have as a block in a separate file. Basically I want to easily be able to plot the same drawings for different customers, the only difference being the customer logo. Is this possible?

View 1 Replies View Related

AutoCAD LT :: Lags When Two Drawings Are Open?

Sep 3, 2013

about 3 days ago for some reason my cad is really slow when i have two drawings open at the same time.  it lags when i am panning or zooming.

it just started randomly and the computer i am using is new and started using it about 6 months ago and it has been fine since i got it except for the past few days.

it doesn't matter what drawing file is open it lags.  RAM is alot (8gigs)  again this just started happening randomly.  everything else is fine

i am working on AUTOCAD LT 2014

View 9 Replies View Related

AutoCAD .NET :: Save All Open Drawings

Aug 9, 2011

I tried the following method to save all drawing currently open. It always fire fill access arror, whereas AutoCAD can save the file wihthout any issue. Here I am checking for drawings that not even saved once and ask the user to take action for those files.

 try
{
DocumentCollection docs = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager;
foreach (Document doc in docs)
{
string dname = doc.Name;
string s = doc.Name.Substring(doc.Name.LastIndexOf('\') + 1);

[code]....

View 2 Replies View Related

AutoCAD Inventor :: Matching Title Block In Part Drawings To Assembly Drawing?

Dec 5, 2013

I do a lot of work where I start with a full assembly drawing, then make more drawings for the individual parts. Is there a way to link the title block parameters in the part drawings to the title block in the full assembly drawing? The only way I found was to link the parts together and then grab the info for the drawings off of the parts, but if I'm implementing this in a template used by others I want them to still be able to just fill in the blank on the assembly drawing to make it work.

I was able to get iProperties to show parameter buttons, but I haven't seen any way to link to other files or anything like that.

View 9 Replies View Related

AutoCAD 2013 :: Wipeout In Block Changes Draw Order When Copy And Paste Between Drawings?

Jan 31, 2013

...still happening in 2013...any answers out there?  I'm getting pretty tired of redefining blocks (sending the wipeout to the back of the draw order) after pasting them into drawings.

View 4 Replies View Related

AutoCad :: Create Dynamic Block (Visibility States) From Folder Of Drawings / Blocks

Aug 11, 2011

I have a ventilation attenuator I would like to compile into a dynamic block.

At the moment I have the files in folder (Folder name is length) I wish to create a dynamic block per length.

Is there and easy way to compile this without having to copy and paste from the other files?

View 9 Replies View Related

AutoCAD Civil 3D :: Drawings Zooms Out On Open

Jun 26, 2012

I'm running 2013 C3D and have a quirk that my drawings zoom out when I first open the file.  I'm not even sure what they are zooming out to as it is not 'Extents'. 

View 9 Replies View Related

AutoCAD 2010 :: Drawings Only Open Read-only?

Jul 17, 2012

For some reason, one of our PC's running MEP 2012 has suddenly started to only open drawings in read-only mode. The same drawings will open just fine on other PC's so they / their folders are not set to read-only in windows. The user also has the exact same access rights on the server as the others.

The strangest thing about this is the following warning box that appears on screen. see attached.

For some reason, the alert message which displays the full path of the dwg in question, has it's path modified with a date and time stamp prefixed with a '@' symbol. Needless to say the folder '@GMT-2012.07.17-11.00.04' does not exist.  In 18 years of playing with AutoCAD I've never seen this one before.

View 6 Replies View Related

AutoCAD LT :: Unable To Open Multiple Drawings

Aug 26, 2013

I usually open several drawing and use"drag and drop".

But something has happened.

Now, I can only open one drawing at the time. When I try to open the second drawing, the program close down the first.

What have I done ? and what shell I do ?

View 6 Replies View Related

AutoCad :: Lost Ability To Open Drawings?

Apr 5, 2013

But, I've lost the ability to open drawings with the traditional "tree" type search.... Something like Windows Explorer. Just before this happened, I had blown up a drawing by, apparently, importing one too many iges files. Got a message that Autocad had an error and was shutting down. Now, when I hit file/open, I get nothing but the command line asking me to enter the drawing path.

View 5 Replies View Related

AutoCAD Civil 3D :: Any Way To Open Drawings With Fatal Errors?

Jan 19, 2010

I can't open a drawing I saved yesterday afternoon. I always get a fatal error after reaching 98%. When i try doing recovery I get a message that is something like a program failure.Is there any way to open that drawing?

View 9 Replies View Related

AutoCAD LT :: Open Multiple Drawings In Separate Windows?

Nov 15, 2011

Currently when I open up multiple drawings (opening them up one at a time) they all appear in the same window (one instance) of AutoCAD.

I want each drawing to open in separate instances so I can view them on separate monitors (and close one without being asked to close them all).

I have tried changing the SDI system variable from 0 and 1 (and vise-versa)

I have tried changing the windows default program from AutoCAD Application to AutoCAD Launcher (and vise-versa)

I have set the TASKBAR system variable at both 0 and 1 (and vise-versa)

Windows 7 

AutoCAD LT 2012

View 9 Replies View Related

AutoCAD LT :: 2012 - Open Drawings - Errors Found

May 24, 2012

Every drawing I created using LT 2009 opens now with "Open Drawings - Errors Found" window telling me the drawing has xxx numbe of errors and asking me whether to continue or close and recover. Why is it doing this?

View 6 Replies View Related

AutoCAD .NET :: 2011 - How To Retrieve List Of Open Drawings

Jan 24, 2012

I was trying to retrieve a list of the currently open drawings before running a batch script in VB .Net 2008 so that the program can check the selected file listto update against whats open already to make sure that the file isnt read only.

View 2 Replies View Related

AutoCAD LT :: 2011 Will Not Open Drawings Opened In 2013

Jun 25, 2013

It seems that once my newly purchased autocad lt. 13 opens up a drawing created by an other co-worker in autocad Lt. 11, it automaticly converts to 13 and now the person using 11 can no longer open the file. what I should do?

View 3 Replies View Related

AutoCAD Architecture :: Dragging And Dropping Between Two Open Drawings

Sep 26, 2012

I cannot get this feature of 2013 to work for me.  When I grab a selected item and drag it to the new drawing window, I get at round circle with a line through it or sometimes I get a command that says invalid. 

View 3 Replies View Related







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