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.
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.
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.
I would like to be able to collect information from a drawing via a sub-form and then insert a block with attributes (populated with collected info) into another open drawing. The insert operation would be launched from a button on my sub form.
Is this possible?
From the code below I attempted a test to simply select a point from another open drawing but was not successful. However, once I closed both forms the target drawing file is activated.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Me.Hide() Dim docMgr As DocumentCollection = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager Dim i As Integer = 0 For Each doc As Document In docMgr
I am trying to create a block which consists of my company logo and some text to use on my drawing sheets or templates
I have created a block by making a autocad drawing and creating /saving it as a block .. When I insert the block into my drawing the text style changes into a different style... why is this happening and what can be done to prevent this change from occuring. I am using autocad lt 2009 and 2005 the problem is consistant with both versions...
I am trying to insert a block (using .Net) that does not already exist on the drawing. It is on a network share, which is in the search path. If I, from the command line insert the block, it finds it ok and inserts it. But when I do this from .Net code it does not search for the block. So how do you get it to search for the block and insert it?
Here is a code snippet I'm using to insert the block:
Dim myDwg AsDocument = Application.DocumentManager.MdiActiveDocument Using myDocLock AsDocumentLock= myDwg.LockDocument() Using myTrans AsTransaction= myDwg.TransactionManager.StartTransaction 'Open the database for WriteDim myBT AsBlockTable = CType(myDwg.Database.BlockTableId.GetObject(OpenMode.ForRead), BlockTable)
I am trying to insert a block into a drawing that uses dynamic blocks. I want the block to be associated to the dynamic block, so that when I alter a linear stretch parameter on the dynamic block it moves the other block.
I am probably missing something obvious, but have now googled my mind into a numb state and can't make any more progress.
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
I need simple code to do just one thing, inserting a dynamic block that is stored in a separate file on my computer (like C:/base/b-22) in the drawing that I'm currently using. For example, I have a windows form with a list box with names of many dynamic blocks that are stored on my c drive, I would like to pick a block with a name and upon a click event of a button or other will go get this block from a separate file and insert it in the drawing I'm currently using, and would need to be able to pick the point of where I want the block to go. I'm using autocad 2010 with visual studio 2008- using the new autocad .net language.
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.
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:
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.
I'm trying to edit an architectural Title Block. I've went into block editor and did attribute definitions. However, when I save it I can't insert it into a drawing. Is there anything I can do to prevent this from happening?
I'm using C3D 2013. I received a survey drawing (unknown version) from a third party. I tried both xref'ing and inserting as block into my drawing and it was over 7,100' SW from my site. BUT when I copy from 0,0,0 in his drawing and paste 0,0,0 in my drawing, it lands on my site. If I xref my drawing into his drawing, it lands on his survey information. Why doesn't his drawing land on my site when I xref or insert as block?
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?
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.
how do I attach or insert a drawing from one dwg file into another dwg file? I'm drawing some and i want a site plan off of a different file i just want to take it and but it in my new drawing without have to draw the site plan over
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?
I have data in an Excel spreadsheet that I want to insert into the drawing in a table format that replicates my spreadsheet formatting and creates AutoCAD entities as opposed to a bitmap image or the mess the TABLE command generates - I'm looking to keep my text consistent within the drawing and I still use the old SIMPLEX font.
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.
I'm using Architecture 2011, but the problem is pretty generic.
I am working with a very complex vendor drawing and using it as an xref to my working drawing. I need to be able to freeze parts of the xref and change colors (for plotting purposes) of other parts. Under ideal circumstance this would require simple layer manipulation.
My problem is that a large percentage of the vendor drawing is made up of blocks. There are nearly 1000 different blocks. Most of these blocks were created using layers other than 0 - quite often more than one layer is used. Sometimes the block is inserted on a layer that was used in it's creation, sometimes not. The only way I can omit one of these blocks from my drawing is to figure out what layer was used in it's creation and freeze that layer. You can see how this could be a pretty tedious process.
My limited CAD knowledge only gives me: edit all 1000 blocks, changing them to layer 0
When pasting a block from a drawing to a second drawing using the clipboard method the block pasted in with components of block in different area of drawing but still linked together. This even happened in the same drawing.