AutoCad :: Explode ALL Block References In Drawing?
Dec 20, 2012
Is there any way at all to explode all block references in a drawing so that basically all block references no longer exist and they're just sat in their relevant layers.
In short... exploded :p
But I mean one way to get ALL of them.
View 4 Replies
ADVERTISEMENT
Nov 25, 2013
We have generic drawings of assemblies we use in layout drawings as standard details. We insert them as blocks with one or two dimensions that vary (geometry remains the same-these are just representative for information).
We could define these as attribute values so that a user types a length that displays in the drawing but if we wish this to be part of a dimension we would have to explode the dimension to manually replace the mtext dim value with an attribute tag.
This seems unsubtle so I edited the dim value to be a field referencing the attribute value and made the tag invisible. This worked in the drawing-the attached shows the attribute tag ALL THREAD and the resultant dimension text (as a field value) replaced with the default value LENGTH.
When the drawing is inserted as a block it duly prompts for a value for ALLTHREAD and any value can be typed-`1200, 3500, 1672 etc. but the dimension does not update from the default value LENGTH, even after using attsync, regenall. So, if the drawing recognizes the attribute then how come it cant recognize the graphic via a field reference and update it? Is it buried too deep in the database hierarchy for LT to make sense of it maybe?
I dont want to explode the dim but it looks like I may have too if this cannot be made to work.
View 2 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
May 30, 2012
I have a block containing several parts blocks. When I explode the main block all of the parts are exploded back to lines. I have used both "explode" and "xplode" and have the same results. How can I explode so I have my components as blocks?
View 6 Replies
View Related
Nov 30, 2012
I have a block that i want to insert several times and revised each one to be different to do this i would have to insert it and rename the blocks that come in and then reinsert i would like to insert and have a lisp explode the main block and rename the other 2 blocks with a suffix at the end depending on how many times its in the drawing... can this even be done? My original block name that will be first inserted is "BENT PULLEY NOTES" it needs to explode after i drop it in and then there are 2 blocks within that called "Bent Pulley" and "Bent Pulley DYN" that i was hoping to keep the names but add a number at the end depending on how many are in the drawing already...
here is a lisp that i have found... it would work if i didn't have nested blocks and only wanted the one block to be insert and not explode...
(defun c:Test (/ e i name Bname )
(setq e nil)
(command "_.-insert" "Drawing1.dwg" pause "" "" "")
(if (setq e (entlast))
[Code] .......
View 9 Replies
View Related
Jul 9, 2008
I'm trying to explode this block in a drawing i'm editing but autocad will not let me do this.
View 9 Replies
View Related
Feb 9, 2012
I was able to take the attributes from block references in independent .dwg files and and bring them across to a new drawing via import. At this point, there are a few attributes that I would like to be able to add to each block reference once it's created. I've designed a GUI where users can input data, and this input (string data) I'd like to add to the block reference as a tag and a corresponding value.
The basics I understand are to create an attribute reference object. Set the properties / parameters for this object (tag and value (originally as a string) and them append the attribute to the block reference. What i don't know how to do is to actually create the new tags and values in the code so that they can later be appended. I'm in C# and so far i've got this:
foreach (ObjectId id in blockBtr)
{
if (id.ObjectClass == RXClass.GetClass(typeof(AttributeDefinition)))
{
[Code]....
View 6 Replies
View Related
Sep 10, 2012
The original drawing was created in Inventor but i've never had such a problem before. I've been revising a drawing and to revise, i need to move a block 50mm from its original position. It's not allowing me to do so though.
As soon as i select move...it goes into "not responding". I can't explode it either....i can explode everything in the model space and once....but this leaves all dimensions as lines arrows etc.
I've even taken the same block into the drawing....and move/exploded it without any problems. In the properties bar....they are exactly the same except for the coordinates!
The really annoying thing is....i can't even delete and replace as it keeps crashing! There aren't any constraints either.
View 9 Replies
View Related
Dec 6, 2012
This is probably very easy using ssget or something, but I don't know exactly how that works. All I need to do is to explode any occurrences of a block with a particular name.
View 7 Replies
View Related
Mar 28, 2013
where I have a drawing with 3D faces creating the Chassis of a desk, and the top and pulls were inserted from other drawings and are blocks. There are numerous drawings with this scenario and I am looking for a way to explode the blocks ONLY in the drawings without exploding the 3D faces as well. Then we'd like to purge the drawing of the nested blocks before saving it.
I'm hoping there is a solution that doesn't require us to open each drawing individually as there are hundreds of them...if not thousands. We didn't catch this 'mistake' until today and have created many, many product lines (started in November) with this issue.
View 5 Replies
View Related
Jun 14, 2011
is ter any way to explode a reference block
View 4 Replies
View Related
Jan 24, 2012
I'm having is that this is happening with a dynamic block. I don't know how it got this way...some 'genius' in my office went into this file and screwed something up, and saved it...so now I'm left with the task of fixing it.
When I go into the block, it opens as a regular drawing, with a dynamic block inside of it...as opposed to opening in the block editor. I just need to know how to get this back to the way it should be, without having to redraw the entire thing from scratch. I made a few scrap-copies of the drawing to fool around with and I can't find a solution. I tried deleting the block and purging it, I tried exploding it, and I tried saving it directly from the block editor...nothing worked.
View 5 Replies
View Related
Apr 15, 2012
I have a C#-WPF-Application. In this application there is a list of blocks in my drawing. When I click one of these blocks in the listbox I have several button-functions.
One of them: Select the in the list selected block in the drawing.
Another: Explode the in the list selected block.
I found several topics with Selection, but none of them worked for me. I'm looking for a selection via ObjectId or blockname of a single block, in the most cases the selectionfilter needs an array(?).
View 9 Replies
View Related
May 16, 2012
I would like explode a block which still maintain all sub blocks' XDatamyBlockRef.ExplodeToOwnerSpace() The above code does the job. However I can not get the exploded collection
Use the following code I can get object collection but there is no XData for each sub block.
Dim colAssemblyEnt As DBObjectCollection = New DBObjectCollection() myBlockRef.Explode(colAssemblyEnt)
My question is how can I get the sub block collection with each block's XData?
View 5 Replies
View Related
Sep 7, 2011
how we can explode block with attributes and keep the text of attributes as is without changing to value
View 3 Replies
View Related
Jan 31, 2012
At my job, we are 15 drawers using acad 2008 and 2006. For some reson, on 1 computer, when the guy explode a block, acad delete that block insted exploding it. It make the just for some block, not all block. It make this with acad 2006 and acad 2008 but just with that computer.
View 4 Replies
View Related
Feb 27, 2011
I've been given a drawing to edit and the creator has long but left the company. I need to explode the block in order to carry out the necessary editing however I cannot explode the block as it is an MInsert Block. I've searched the forums but I haven't found anything relevant. I've gone through the list of blocks present in the drawing to check that the "allow exploding block" tab is checked however there is no block for the whole drawing.
Is there anyway to explode the block and if so how would this be done? These are the blocks properties:
Select objects:
BLOCK REFERENCE Layer: "0"
Space: Model space
Handle = 57a34
Block Name: "*U243"
at point, X=-4237700.3549 Y=-1887128.2335 Z= 0.0000
X scale factor: 1.0000
Y scale factor: 1.0000
rotation angle: 0
Z scale factor: 1.0000
Scale uniformly: No
Allow exploding: Yes
And yes I can realize that allow exploding is set to yes but exploding block to attributes does not work.
View 9 Replies
View Related
Mar 22, 2012
I have a problem with selecting all references to a specific dynamic block. When I use the filter below only block “D2” is selected, which is not a dynamic block, Block "Bulb120227” which is a dyn block is not
Dim values() As TypedValue = { _
New TypedValue(0, "INSERT"), _
New TypedValue(-4, "<OR"), _
New TypedValue(2, "D2"), _
New TypedValue(2, "Bulb120227"), _
New TypedValue(-4, "OR>") _
}
How should the filter be done to filter out the dyn block that I want several block should be filtered out in one selection.If it is possible to achieve with just a filter at all?
View 7 Replies
View Related
Oct 2, 2012
I have a dynamic block with visibility states.When I use the method BlockReference.Explode(entities) I get in 'entities' all entities including all those who are part of the visibility states not selected. But I want only the entities in the selected visibility state.What surprises me more, is that entities from other states of visibility, although they were added to the current space, do not appear.
How to retrieve only entities associated with the selected visibility state?Or how can I identify entities that are not part of the state of visibility?
var entities = new DBObjectCollection();selectedBr.UpgradeOpen();selectedBr.Explode(entities);foreach (Entity entity in entities){ currentSpace. AppendEntity(entity); tr.AddNewlyCreatedDBObject(entity, true);}selectedBr.Erase();
View 1 Replies
View Related
Dec 4, 2013
In my Project I build a static Block by inserting dynamic blocks from a template dwg and then explode them.
Actually I create a new Data Base, insert the blocks from my template, set the according Dynamic Properties, Explode the Block in the temp DB and then wblockclone the resulting Objects in my destination BlockTableRecord.
This works fine, but:
in my source dyn. block there is an associative surface defined by a Polyline(Rectangle) , attached a stretch action to change the size. I can set the Width parameter, after the Explode the polyline itself is updated, but the planar surface is not... so if I explode this block I get a well stretched Polyline and the "base" surface.
Manipulating the dynamic Block works fine... If I have stretched 3D-Meshes, they are ok as well. It seems to be something with the planar surface object.
Dim objs As New DBObjectCollection idsToImport.Clear() If Helpers.Registry.GetValueFromRegistry("ExplodeSubs").ToString = "1" Then ' debug switch bref.Explode(objs) 'the dyn BlockRef in the external (temp) Database bref.Erase(True) For Each [code].......
View 2 Replies
View Related
Jul 23, 2012
I would like to explode a polygone I've created within a block.
But I get the "_amexplode This command is not allowed while the REFEDIT command is active."
Um so, I have to explode the block, explode the ployline/polygone and recreate the block.
Or, I could minus the polygone from the block set, save the block, explode the polygone, reopen the block and add the lines back in.
I don't see an explode option in the "pedit" options.
Am I missing something here, is there more than one explode command now? It worked in a previous version.
View 1 Replies
View Related
Nov 15, 2012
I have created an attribute say 1 and made a circle and moved the attribute text next to the circle and now making a block including both text and circle but when the block is created the text disappears I have made sure to check the annotation on in both attribute and block creation. This is just happening in Autocad Map 3D 2012. Dont know why the text disappears but when i explode the block it is back.
View 9 Replies
View Related
Feb 7, 2012
I wrote this little piece of code (attached) that explode all the blocks in the current drawing.This is magical, compared with what we had to do in VBA.
This works perfectly but now I want to go deeper and managed blockreferences with attributes.Based on my code, I can determine if oBTR.HasAttributeDefinitions is true or false.
If the blockreference has attributes, I suppose I will have to use Explode instead of ExplodeToOwnerSpace.
My first question is, using explode, I need before to know in which space the blockreference is inserted (Model or any layout) so to insert the exploded entities correctly. So, is it possible from a blockreference to get its own SpaceId?
An another idea I had is to edit the blockreference (not the block definition) to replace attributes with text...
View 6 Replies
View Related
Oct 7, 2013
I got a survey that has hundreds of cogo points. I need to bring this into a mapping dwg but not as cogo points. What's already in the map file is block reference (trees, power poles, signs, etc.). When I explode the cogo points (select all) they turn into 1/100th of the size (although the Properties scale hasn't changed). If I explode one by one, they are fine. how I can get these cogo points into the map dwg as block reference at the correctoriginal size?
C3D 2012 sp1
W7Pro 64bit
HP Z400 Workstation
16 GB RAM
Intel Xeon CPU W3565@3.20GHz
NVIDIA Quadro 4000
View 3 Replies
View Related
Jun 18, 2013
I am using AutoCAD 2012 (Electrical). I have a few blocks that I pasted in a drawing with text that is contained in attributes.
I would like to explode these blocks so that I can make some changes to them, but when I do this, I lose the text that is contained in the attributes. After exploding the blocks, I just see the attribute names rather than the text that they originally contained.
I hate to have to re-type all this info. If I could somehow choose to choose to convert the text originally contained in attributes to plain old static text, that would be perfect for me.
View 4 Replies
View Related
Jun 19, 2013
I want to load the external references in the drawing, how to implement this program?
I returned to the drawing path and the way I want to load it using the insertion point.The code error is probably somewhere not understand where.
[CommandMethod("TDMSXREF", CommandFlags.Session)]
publicvoid TDMSXREF()
{
Document doc = Application.DocumentManager.MdiActiveDocument;
Database db = doc.Database;
Editor ed = doc.Editor;
[code].....
View 1 Replies
View Related
May 2, 2013
Is there a way to do this within 2012 or would I need to use a script?
View 6 Replies
View Related
May 28, 2013
when i export (or explode) my plan every window, doors etc... split in more "under-blocks", and that's ok. but i have a problem with the windows: after the explode command, one of the blocks inside (the one that shows the opening side) "jump" in the 0,0,0 coordinates point, but all the others remain in the right position.
PS: i think the problem is not in the window-block, because i tried it in another old file, and it works. and the autocad option are also always the same.
View 2 Replies
View Related
Dec 21, 2012
How can I distinguish a block that can't be explode in my LISP application? DXF group 280 not present in GETENTITY list.
View 1 Replies
View Related
Jan 31, 2012
I've been asked to create several drawings using one external reference which contains doors, bund walls, lighting etc. My question is how do I take this external reference and create several new drawings when I cant even turn layers on or off once I have inserted it onto my new page?
View 4 Replies
View Related
Dec 15, 2013
explode xclip block while keeping the stuff inside the clip boundary as it is
View 9 Replies
View Related