AutoCad :: Replace Block Moves Symbol In Block Location?
Apr 12, 2012
I have blocks with several attribute tags and layers. The problem I am having is somehow when I go to replace the block with a different one the attribute tags stay in the right spot but the symbol acts like it looses its coordinates and comes in a different spot. I cant seem to fix it. When I zoom all it block editor it zooms like I have a symbol way off the mark, but I don't.
View 2 Replies
ADVERTISEMENT
Jan 7, 2014
I'm having trouble using the blockreplace' command. Every time I try it tells me the block name has invalid characters. The attached files is an example of the issue. I'm trying to replace the old block with the new block.
View 9 Replies
View Related
Mar 13, 2013
Annotative block moves when annotation scale changed,
The solution for this problem is mentioned in the link below but sounds not to be useful:
[URL]....
I got a block that contains an attribute (attached) and created on layer zero while the current annotation scale is 1:100. As this annotation scale is changed (say to 1:200 or 1:50) this block moves from its original place to another one (as shown in the attached screenshots).
View 2 Replies
View Related
Feb 4, 2011
When using grips to move a multileader source block with the attachment defined as insertion point (the insertion point being the center of the source block) the grip point moves off of the block if the move is to the left of the multileaders end point. When the drawing is reopened the blocks move from where they were placed to the off insertion point grips. A screen shots jpg and a drawing file are attached
View 2 Replies
View Related
Mar 24, 2008
I'm working in ACAD 2008 and have a drawing with multiple blocks (block 'a') that need to be replaced with block 'b'. Is there a command similar to edit/find that I can use to replace the block? I don't want to redefine my block and want to only select certain block 'a' to be replaced, not all block 'a'...
View 9 Replies
View Related
Sep 6, 2012
I remember on a pc i was using once upon a time, AutoCAD had a command called replace block. the shortcut was 'RB' and you could replace a block with another one very easily.
View 2 Replies
View Related
Oct 2, 2013
I am trying to replace the title block of the first sheet of the active drawing via C#. I currently am receiving the following error on the last line of The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)).
Why the code below is throwing this error? I have tried multiple variations of the code below to no avail and I'm sure this is something minor that I am overlooking. The title block definition under Drawing Resources is replaced with no errors, the title block on Sheet 1 is deleted just fine, but I can't seem to add a Title Block back in!
How Documents are defined:
Inventor._DrawingDocument oDoc = getDoc();Inventor.DrawingDocument sourceDoc =(Drawing Document) instance.Documents. OpenWith Options(sPath, options, false); Find, copy, replace: TitleBlockDefinition tBlock = sourceDoc.TitleBlockDefinitions[blockList.SelectedItem.ToString()]; TitleBlockDefinition newBlock = tBlock.CopyTo(oDoc, true); oDoc.Sheets[1].TitleBlock.Delete(); oDoc.Sheets[1].AddTitleBlock(newBlock);
View 1 Replies
View Related
Jul 26, 2012
I am using Express Tools Block Replace how do I keep the blocking being replace from rotating to the orientation of the block using for replacement?
View 2 Replies
View Related
Aug 6, 2012
'How I can replace or redefine block record?'.
I tried the following:
1. Get all the block references
2. Clone it
3. Save to new DateBase
4. Erase old Block REferences and Block Record
5. Copy block references from new DataBase
But it doesn't work.
View 3 Replies
View Related
Dec 15, 2011
I'm using an LSP to replace points in a drawing into a block. I've had this working previously, no problems. However, having spent some time creating new blocks when running the LSP the points are being replaced at a different location in the drawing - rendering the whole process useless.
I get the impression this is caused by the block itself rather than the LSP. What am I doing wrong that would cause this effect?
View 1 Replies
View Related
Aug 27, 2007
I'm working with some "dirty" blocks that contain several attributes. I've cleaned the blocks up by wblocking, cleaning, & purging the newly created block. I also removed any attributes within the file, including those within blocks within the file. I then renamed the file and inserted it into the drawing, and did a replace block with another through express tools. The problem that I have is the blocks are replaced with the clean version, yet the attributes remain. Is there a solution to this. I do not want any attributes to remain and the only way I know how to fix it is to replace them one at a time.
Also, I'm using AutoCAD 2004.
View 9 Replies
View Related
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
Oct 1, 2013
When using the block editor to rename an existing block to clean that instance of the block name out of the file, the block replace command from express tools does not work.
I select a block enter block editor save block as (new Name) save and exit block editor.Insert new block into the drawing.Express tab on the ribbon select Replace Block select block A to be replaced by Block B purge out instance of block A after complete. It reports 0 blocks replaced
attached is a file with 2 blocks called Drain and Drain X each have the same visibility states I want to replace Drain with Drain X to purge out Drain from my file.
View 9 Replies
View Related
Aug 7, 2012
I have a dynamic block that has a nested temporary block inside it. What I am wanting to do is replace the temporary block with the permanent block. I have tried several different variation of coding but I cannot seem to get this bad boy to work. have used:
(vla-put-name (vla-item (vla-get-blocks (vla-get-activedocument (vlax-get-acad-object)))) "tempBlockName") "newBlockName")
this gives me a duplicate names error.
View 1 Replies
View Related
Mar 8, 2012
I am looking for a lisp that can run a block replace on multiple drawings.
Something similar the the express tools block replace I suppose, just able to process many drawings at once.
I'm trying to change attributed approval stamps to attributed inter squad stamps and don't want to have to go through all 150 drawings and do it myself.
View 1 Replies
View Related
Jul 31, 2012
This is what I'm trying to achieve, except with a Civil3D label.I want to add the circle with the typical detail callout to an alignment label. I can format the text just fine, but can't figure out any way to add a symbol to a label. For example, I was thinking I would create a "water meter" style with the correct number for water meters, so there would be a block or something attached to the label.
View 8 Replies
View Related
Feb 13, 2013
I'm trying to create and add a block to our standards. A user wanted to make it annotative. Our company hasn't used them much. I think I'm starting to understand them better. It is just a simple HVAC symbol with two attribute definitions. The block I received was a scaled up block for 1/8" - 1'-0". I shrunk it down to normal 1:1 size to match what is would look like on paperspace with 1/8" text. Now to make it annotative.
- Do I add scales to it or leave it as is? The users may need need most of the scale that are defined.
- How do I save scales on the block for them to use?
View 2 Replies
View Related
Nov 26, 2012
Is there a way to modify this script so you don't have to manually choose the blocks. Instead have it find all block names starting with "Supply Diffuser 24x24" and replace them with a block in the drawing named V01.
(defun C:CHANGEBLOCKS(/ printDebug ssAll ssAllTotal ss ssTotal ssCount ssCount2 ssTotal ssMainBlock ssMainBlock entListMainBlock ssBlocks entListBlock entListBlock2 entElementNewBlock entElementOldBlock entElementOldBlock2 oldBlockName) ;PROGRAM CHANGES MULTIPLE BLOCKS ;WRITTEN BY --- RAUL BENITEZ ;Command reference ;subst - returns a list with a new item substituted for every occurrence of an old item ;quote (or ') - easy way to make the string into a list. ;cdr - returns a list containing all but the first element of
[code].......
View 6 Replies
View Related
Jun 20, 2012
I was able to write a LISP that replaced each node with a block of my choice.However, now I need to find a way now to replace the blocks with different blocks.Each point shares the exact same block called "PILE". Different blocks are on different layers and have 11 different colors. I'd like to replace blocks on layer 1 with a block called "1" and blocks on layer 2 with a block called "2" and so on.I was hoping there would be an easy way to do this in LISP, but I've been unable to get any of my scripts to work.
I've attached a link that visualize what my drawing is currently looking like: [URL] ......
View 2 Replies
View Related
Apr 23, 2012
I have about 10 instrumentation enlarged plans that are drawing in model space and all the equipment text and instrument bubbles and blocks are in paper space.
All of the drawings are at 1/4" but they are getting loaded down with too much info, so we are cutting each of them into twenty drawings instead of ten. While I can change the view port very easily and scale it up accordingly, after I do that I will have to re arrange the text and blocks. I'm looking for a way to scale the blocks and text in a way to where it will change the location of the text and blocks, without actually changing the size. So I bring the drawings up from 1/4" = 1'-0" to 1/2" = 1'-0". If I scale all of the blocks up by 2, it will put them in the right location, but all of the text and blocks will be too large. I could select them all and change their scale down in the property palette, but I would still have to trim down all of the leader lines going from the instruments to their bubbles.
Long story short, is there a way to scale a block or text from a basepoint to where if you scale it, it will change it's location, but not the scale of the block or text?
View 7 Replies
View Related
Apr 3, 2012
I have several blocks spaced evenly apart and I need to copy and paste another block and insert it with the same spacing. I don't want to take the step to find out how far apart they are. I believe there's a way to use the insert command to figure out the distance the next block needs to be placed when I paste it.
I'm not sure if I'm describing it correctly or if I can paste the block using the insert command.
View 4 Replies
View Related
May 23, 2013
Is there a way to enter the greater than or equal symbol into a block attribute value...?
For example...TEMP IS >= 20O F
View 1 Replies
View Related
May 7, 2013
I have some code to replace the current title block with a title block from a template file. I just don't like how it adds a new title block definition named "copy of titleblock". I'd like to delete or replace the current title block definition so only the newly added one is listed.
Sub test() Dim odrawdoc As DrawingDocument Set odrawdoc = ThisApplication.ActiveDocument If (odrawdoc.DocumentType <> kDrawingDocumentObject) Then Exit Sub Dim oTemplate As DrawingDocument Dim oSourceTitleBlockDef As TitleBlockDefinition Dim oNewTitleBlockDef As TitleBlockDefinition Dim oSheet As Sheet Set oTemplate = ThisApplication.Documents.Open(ThisApplication.FileOptions.TemplatesPath & "template.idw", False) Set oSourceTitleBlockDef = oTemplate.ActiveSheet.TitleBlock.Definition Set oNewTitleBlockDef = oSourceTitleBlockDef.CopyTo(odrawdoc) ' Iterate through the sheets. For Each oSheet In odrawdoc.Sheets oSheet.Activate oSheet.TitleBlock.Delete Call oSheet.AddTitleBlock(oNewTitleBlockDef) Next oTemplate.CloseEnd Sub
I'm just being picky at this point, but I don't want a buildup of title block definitions. We reuse drawings all the time which is why a simple method of updating a title block would be nice. I can just imagine in some years time after a title block update or two there are 20 "copy of copy of copy of .................. titleblock" listed in a drawing file.
View 8 Replies
View Related
Mar 23, 2012
I need to lay one of our existing blocks ontop of every power outlet on a floorplan (the power outlets are currently shown as a simple shape (eg. either a rectangle, triangle or circle) with text next to it.
There are hundreds of power outlets, so if there is a lisp routine for replacing any part of the power outlet with the block, eg. replacing text/mtext with a block or replacing a pline with a block.
I have found a very successful lisp routine for replacing circles with blocks, but this obviously only works on the power outlets that are shown as circles. So a simpler way of looking at it could be a lisp for drawing a circle around mtext/text then I could simply use the circle to block lisp to place the blocks.
View 5 Replies
View Related
Jul 18, 2011
It's the part of project: I need read some named Blocks from a sample DWG and copy (clone) them (one at a time) to a new drawing.
There are 2 possible way to do it:
1. Database.Insert - it does allow you pass in location point but it takes whole DWG file not blocks inside the whole DWG;
2. Database.WblockCloneObjects - it takes blocks as parameter but it doesn't pass in with location information you want them there.
View 2 Replies
View Related
Aug 15, 2012
I’m trying to save myself a bit of time and was wondering if it is possible to have part of the file location displayed in the title block?
The current title block we are using shows the full file location of the drawing but I was wondering if it is possible to show only part of this?
The reason I am asking is that when a project progresses to the next stage we have to go through each drawing and change the status to warrant, tender, construction etc. so I am looking for a way that this can be done automatically and I was thinking if only part of the file location could be used this process could be done by simply moving the drawings to the next folder? Our projects folders are split down in to subfolders for planning, warrant, tender etc. which corresponds with the status field on your layout. So instead of having to update this status manually every time the project progresses this would update to the folder that the drawings are in.
Example:
I:Projects## - Project TitleDrawingsConstructionGround Floor Plan.dwg
Am trying to get the "Construction" folder to display in the status field on the layout.
View 2 Replies
View Related
Jul 30, 2012
I check online that AutoCad should have a 'grips' function, but I cannot use it because 1) I cannot find the grips and 2) I want to move the hole into an accurate position. I want to do the following simple task. Please first read the attached picture. Assume now I want to edit 3D model by changing the hole center to another location and double the radius. How I can do those? (I could not find any properties to edit)
Capture.jpg
View 2 Replies
View Related
Dec 23, 2011
Let's say I want to insert block and if cursor is in negative coordinates block should be 2 times bigger,
other wise the same scale. At the same time when I drag the block Jig it should become bigger as well, in negative coordination.
how to drag and change the scale at the same time based on cursor location. Right now I am using point monitor to check the location.
View 4 Replies
View Related
Mar 26, 2012
Does any Lisp routine available to batch replace all the closed polylines with an existing block?
View 9 Replies
View Related
Jun 26, 2012
We want to use our AutoCAD company standard templates within Inventor. I’ve followed the procedures to accomplish this under the heading:
Create a .dwg template in Autodesk Inventor from an AutoCAD .dwg template
This works without any problems. Inventor is able to recognize the size of our template border (20.75” x 33”) and correctly selects a sheet format of 24” x 36”. The template border is centered on the 24” x 36” sheet just as we would like it (see attached).
The template is used to create a new Inventor .dwg, and base views are placed and annotated. No problems, everything looks good. The new drawing is saved and Vaulted. However, at some point Inventor "shifts" the location of the template on the 24” x 36” sheet format (see attached). This action is unpredictable. The drawing might be checked-out and checked-in several times before the “shift” happens. When it does we have to re-locate the views and other text annotation to suit the new title block & border location.
How can we lock the position of the template border & title block? (Should be noted that we need to keep our template positioned such that the bottom left corner is at 0,0,0 when it is opened in AutoCAD.)
Inventor RS 2011
AutoCAD Mechanical 2011
ASD 2013
Vault Collaboration 2011
Windows 7 Pro
View 4 Replies
View Related
Sep 4, 2012
We use a number of blocks with block tables for data extraction here, and whenever one of the blocks is modified and updated, all of the block tables reset to the default value. This happens for any block reference change, not just changes to the block table (which makes sense that it would reset).
How can we update these blocks without having to manually change all of the block tables afterwards?
View 2 Replies
View Related