AutoCAD LT :: Inserting A Drawing To Xref
May 29, 2012Is there any advantage when inserting someone else drawing into yours to xref it rather than copy and pasting into your drawing?
View 1 RepliesIs there any advantage when inserting someone else drawing into yours to xref it rather than copy and pasting into your drawing?
View 1 RepliesWhen inserting an xref, which I have prepared with a file name etc in a drawing, Autocad prompt me this message" The file you have chosen cannot be used as a block name or is greater than 8 characters. Autocad has assigned a shortened block name. Enter an Altenate name "
why so? This happen not with all file!
I would like to know if there is a way to insert drawing no.1 into drawing no.2 (not copy sheets!) so that if I change the drawing no.1, the drawing no.2 (the one that contains no.1) also updates.
That is because I would like to have one part of the drawing that is ''standard'' and multiple drawings that contain this part (so that this part is defined in all drawings but is always the same). Because I don't want to have a separate drawing for the ''standard'' part, but only drawings that contain it.
I am trying to insert a block from another drawing, the only way I have been to acheive this has been to open the drawing
Set ObjDocument = ThisDrawing.Application.Documents.Open("D:ACADBlocksGENERAL.dwg")
For Each ObjBlock In ObjDocument.Blocks
If InStr(ObjBlock.Name, "LOGO") <> 0 Then
CopyObjects
End If
Next
ObjDocument.Close
I would prefer not to open the drawing to access the block, is this possible in VBA.
I have an exercise where I created a title block. phase 2 of the exercise asks me to insert the title block into another existing dwg. I went to the insert tab then went to attach the file I had created for the title block.
View 9 Replies View RelatedI am using AutoCAD LT 2009, and am having some problems.
I want to have some jpeg images on my cad drawing, so i just insert the image, which is fine. I can print this fine, and allis good. however,when i go to PDF the drawings, using a standard downloadable DWG - PDF convertor, the jpegs dissapear. everything else is fine, but the jpegs are no longer on the PDF'ed drawing.
Under Toolspace/Survey/Survey Point I have a series of points shown. These are not shown under points in the prospector tab. How to insert these into my actual drawing?
View 2 Replies View RelatedAny good way to insert pre-made layers into a drawing as needed?
I am using AUTO CAD LT and have made up some layers, but chances are not all of them will be used on every project. I have all the layers assembled in a drawing I call "Layers" and rather than go in and manually select the layers I need I am wondering if there is an easier way to do this?
When I insert and image to my Autocad drawing for some reason I can only see the image from a top view. I change the view from top to left so I can try and rotate the image so I can see it from the front view. I am not sure what to do.
View 2 Replies View RelatedI'm having trouble inserting my title block in a 3D drawing. I'm kind of new to 3D modelling but it's probably a small mistake i'm making.
I started with my view in SE Isometric, drawed something and then I copy/pasted my title block from another drawing, all in modelspace.
My drawing is 3D and my title block is 2D but in the wrong position.
Inserting text into Autocad drawing file (like inserting image )using c#.
View 2 Replies View RelatedI inserted .gif picture to my drawing file. Is it possible to insert the picture into the file that when I open the dwg file on other pc, it doesn't need gif picture from my hard drive? I want to copy dwg ( Do I have to copy all the pictures too?)to the CD and print it in a copy store.
View 9 Replies View RelatedI need to insert Blocks with Attributes and its values from another drawing into the active drawing. I am not sure if the way I am doing it is correct. I am having problems with the transactions, one for the source drawing and the other for the active drawing. I had a few eviolations problems. It seems that I have to close the transaction of the source drawing before I can access the active drawing and the other way around.
Since it is a BlockReference with AttributeReferences and its values I firstt opened the source drawing on a side database withing its own transaction and went through the ModelSpace TableRecord until finding the BlockReference with the correct AttributeReference value. Then, I had to store all the Tags and TextStrings on an array because I could not access the active drawing without closing the source drawing transaction.
If the BlockDefinition exists on the active drawing then I only have to create a new BlockReference with the AttributeReferences and update its TextStrings with the values stored on the array. All of this withing the active drawing transaction.
If the BlockDefinition does not exist on the active drawing I could insert it from the source drawing side database ONLY within the active drawing transaction. I have to close the source drawing transaction first.
Now, is there any way of doing this that won't require switching transactions? Is it possible to find the BlockRefence on the source drawing from the active drawing transaction?
I want to insert a stored block into a drawing (model space). Below is the code I'm using and I get
Runtime Error '5': Invalid procedure call or argument.
Sub Dummy()
Dim COESTD_obj As AcadBlockReference, InsPtStd(0 To 2) As Long, COESTD As String
COESTD = "C:JimHYDROCAD_DwgsBlocksZ_COE_STDS.dwg"
InsPtStd(0) = 0#: InsPtStd(1) = 0#: InsPtStd(2) = 0# 'Set insertion point as 0,0,0
Set COESTD_obj = ThisDrawing.ModelSpace.InsertBlock(InsPtStd, COESTD, 1#, 1#, 1#, 0#)
End Sub
I am running inventor 2010 suite with service pack 2 and when I try to insert a JPEG or BMP into a Drawing Sheet (not a sketch on a part file), the image does not appear. I have done this on previous versions numerous times and it worked perfectly fine.
The message which appears on the screen says "TEMPEMBED.BMP" and it has a photoshop CS4 logo. When I do a print preview, nothing appears on the page. I have opened up a previous drawing sheet, which has a JPEG & BMP inserted and the image is shown, but when I try to insert another image on the same drawing sheet, the same thing happens.
I am running a pretty fast machine, with an intel i7 processor and a pretty hardcore graphic card.
i am trying to attach a live map to the c3d2014.
first i set the projection and then it asks me insertion point.
1)why the map do not come in at the correct location and c3d needs me to specify the incertion point?
2)then it asks the rotation. i thought that all maps are pointing at north. but if i set it at 90 degrees pointing straight to the north a get a litle rotation that becomes very noticeable as i move far from the incertion point.
if the 90degrees is wrong, how can i find the correct rotation to give the c3d?
3) ok. that map is incerted. can i pan , move it ?rotate it ? how ?
I created a dynamic block table and I try to insert into a drawing, however, it doesn't work, all block data are gone.
View 4 Replies View RelatedI'm trying to build a routine for my job to insert a block which consists of 3 single line variable attributes in a specific order. I need to be able to do this on many different drawings, and I would like to share this ability with my coworkers. Using the DesignCenter is not an option. In order to do this, I saved a drawing which consisted of the three attributes in the layout in which I need them to appear, however the order in which it prompts me to enter them is reversed. I already know how to set the order of attributes in an EXISTING block definition using the BATTMAN command, as every time I run the routine again, I'm redefining the block definition.
I'm not sure if it's important to know this, but the routine consists of a button with the following macro:
(command "-insert" "c:/folder/drawing.dwg" (getpoint "
Choose Insertion Point: ") (* (getvar "ltscale") 2) (* (getvar "ltscale") 2) "0");
EDIT: It works perfectly fine on my home computer, though my home computer runs an older version of acad.
I am using AutoCAD 2012. When I use Paste Special to insert and object as an Image Entity AutoCAD shuts down. I used it for years on older versions of AutoCAD with no problems. It is good to use when inserting a PDF into a drawing to trace over the objects for CAD use.
View 4 Replies View RelatedI am trying to write a function to insert a block reference of a block definition which is already stored in the same drawing.
All threads are leads me to the way of inserting another drawing to current drawing with use of database.readdwgfile & database.insert.
How to use those methods for a block definition stored in the same drawing.
I have autocad lt 2204
I'm having trouble inserting a jpeg to a drawing in paper space.
I have a drawing with some annotative blocks. ie Block name "BAR'.
If I insert another drawing (mostly old v2000 files) as a block which also contains blocks named "BAR" (which of course are non-annotative) the Blocks do not show up.
Is there any way to get arround this? Idealy I would like the old file inserted and have the annotion scale of the blocks in the inserted dbg set to the current scale.
was wondering if it's possible to bring in the value of a single Excel cell into a predefined window area in AutoCAD LT 2012? Some of our tool and die calculations are done in Excel, but we only want one cell (equation summary or description) brought into to AutoCAD 2007. If not AutoCAD LT 2007, then what about a more recent version of LT or even full blown AutoCAD?
View 1 Replies View RelatedI am trying to insert a goggle earth surface into my drawing. It hits 50% and then I get a fatal error. Had tried several times.
View 3 Replies View RelatedI have created a dynamic block of our companies Stage section. The block is set up as a rectangular array using XY parameters.
The block itself works fine however I created block attributes in the block dwg to display its measurements using the Distance x and Distance y totals.
When inserting the block into a new drawing I need to explode the block in order for the array to work, however this also means that the text is no longer locked to the block.
A question about ex referencing. Can it be done within a drawing. In other words, can I can Xref the plan to another part of model space to then create the elevations in UCS, and then Exref the elevations from USC to a horizontal line.
This would be very useful in the sketch plan stage.
I had been trying to insert a title block (block) in to a drawing as part of changing the title block But in some drawings the block gets scaled off. Is there any system variable or any solution to maintain the drawing without getting scaled while inserting block.
I had used -dwg units and this appears to single drawings only. Any other way to do this to all the files in a folder.
I inserted a dwg created with Autocad LT 2004 into a MS Word 2010 document using: Insert | Object | Create from file. The result is the desired drawing is inserted but, in addition, the template used to create the dwg is also included and visible as if it is an additional layer. How to keep this from happening?
View 4 Replies View RelatedHaving problems when copy/cut and paste. When pasting or inserting a block into a drawing the subject disappears.
View 4 Replies View RelatedI have an existing drawing that was created in AutoCad 2012. I now have AutoCad mechanical 2013 and when I try to insert a steel member into the drawing (metric) the member inserts very small. How do I solve this problem and get the shapes to insert at the proper scale to the drawing?
View 3 Replies View RelatedSuppose I have a Drawing Structure like:
MasterRoot
Root1
MasterChild1
Child
MasterChild2
Child
Root2
MasterChild1
Child
MasterChild2
Child
When I use XrefGraph xg = mainDb.GetHostDwgXrefGraph(true); in Code then I get all the Files as a node including MasterRoot (say count=6).
If I want to get Only direct Children (here, Root1 and Root2)(means count=2 only), then what i have to do?