AutoCAD 2010 :: Cuix Not Mapping Reference Block Correctly
Oct 17, 2013
i start in a new position for a new company noticed they have several cuix menu files for blocks such as structural shapes and weld symbols. so i loaded the menus with menuload and map to the directory of the blocks reference in the options files tab, but when i select the menu if has the block mapped to a different drive that does not exist. how can i change it to when i select, for say a w6x9 to map to the correct block on the correct drive instead of mapping it to some s: drive the directory structure is correct but the drive letter is not.
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
I have loaded in some cuix files in LT 2010. They have appeared in the customisation area and in the current Workspace and I have turned on the menus I require and no error is returnned, however when I go to the drawing screen none of the customised menus or ribbon tabs have appeared. I have performed an Autocad LT repair and also a reinstall from the add/remove programs and I have also tried a different .CUIX file but still no luck.
We have a custom cuix file that loads some pulldown menus nd ribbon tabs that we have located on the server so that it can be modified and automaticaly updates on all computers once autocad is closed and reopened. My problem is now when I make a change to my setup and save the file, it no longer updates on the other computers.
I have added a few custom autocad commands that are specific to my scenario. I created Ribbon (and Menu for classic mode) for these commands and they are working fine. The only issue is that these Buttons (Ribbon and Menu for classic mode) are not loading the images(icons). All I get is a cloud image for both commands.
I have used 16X16 for small image and 32X32 for large image. Both are bmp files. These are attached to the custom Autocad command that I am using. The commands themselves are working fine, except for the image which is not displayed. In short, what can be the possible reason for images not showing up?
In most cases this works well. However I found a case that it not work as well. When I try to change the definition from a new block that I have created in my test DWG, it disappears from the model.
I have a block: “Block_A”. I am trying to determine if a block reference of the block exist.
Currently I would iterate every block Reference in the Block Table, and then dig deep into each block ref . . . . .
I was wondering if I could just take “Block_A” and see if it has reference and where the references are. Perhaps this is just wishful thinking but I was hoping for a faster way to obtain the references then to iterate thousands of blocks in each table record.
Drawing contains a block with "BlkName". I want to insert blockreferences of this existing block using .Net. All shows how to insert a new block and then use the BlockID returned by the insert function. In my case I only have the block name and there is no Block id. How to get it or how to create a block reference of an existing block?
From X3 to X4, Corel added a "Block Size" control to the Local Tone Mapping adjustment. Is it the number of pixels over which the contrast adjustment is being applied? It seems that the smaller block sizes reduce the effect's harshness (when it could be harsh, e.g., with faces).
Using ACAD 2013 64 bits. I am trying to insert a block created in inches (by another company), in a drawing created in meters, but it is not working. This is the initial setup: Block-drawing's units are set to inches, type Architectural. My drawing's units are set to meters, type decimal. So far so good, I guess. Then, I proceed to open my drawing, execute the insert block command and select the Block-drawing. Once selected, I can see in the dialog box . Block unit clearly reading inches and the correct scale factor of 0.0254. However, when click OK, the drawing is huge. I check it's properties and the block's geometry is correctly set at an insertion scale of 1, 1, 1; but, in Misc, the block unit is now "meters" and the unit factor is "1"! This means that one inch equals one meter. This does not happen when I create the blocks; in those cases it works as it should.
I have a weird problem with exploding block reference with vb.net as follows.
When I use BR.explode(DBObjectCollection), and append the entities in the object collection to model space,
the 3d Polylines inside the block reference do not get appended and I do not get any kind of error. The reason for this eludes me as of yet. (remember, simple polylines and lines and other objects do get appended to model space)
When I use BR.explodetoOwnerSpace(), the block reference explodes as it normally is expected to, but then I have no way to collect the objects from the exploded BR.
I'm working with two different drawings to import Layers for Lot Grading and when I'm importing the Block Reference from the origin file, it's setup as Linescale 0.5, but when I import into my regular basemap, which is setup for Linescale 1, the text size is double what it should be.
I'm trying to write a vb script to extract information from the CAD drawing. While testing, i found that for some drawing blocks, the corresponding AcadBlockReference Rotation returns 1.57, but when i look at the actual drawing, block properties, the rotation is 0.
i need to use something with similar effect to Editor's method SelectCrossingWindow, but i need it to select object in Block Reference. How can i do that?
I have a block reference in a dwg that is a like a form, for example:
Written By: Diogo Author: Diogo
Date: 13-07-2012 State: Check-in
In autocad this is a block, and on the attributes of the block reference I only can edit State and Author, and i would like to get all values. Because i want to fill those values of Written By, Author, Date and State by code. I can reach the attribute collection of the block but i only can see the State and Author.
I'm trying to create a dynamic block for a schedule to satisfy an engineer's request. The intent is to insert this block with the text for the schedule, then array the rows for as many fixture type as we may need. Then copy the text down and edit as needed.
I've got the array set up, but when I drag the array, the first array increment shows up, but the row of the schedule does not. It is not until partway through the second increment that the row shows up, but it appears with a gap between the first and second row, so something is wrong with the offset or origin... I'm not sure.
On another post, distance needing to be set in the Array Action Properties and not just under the parameter. I don't understand where this is.
I have a drawing with many block references on it and they have some attributes.
I know how to find the block reference witch the attribute value, and even change it but I don't know how to select it once I have the object ID of the block.
How can I do the selection without asking the user to select it?
I wonder if this can be done. i have a number of blocks which have labels to them i.e. JW1, JW2, JW3 etc. which corresponds to the block name. Is it possible to have the label automatically referenced to the block name so if i change the block name to JW10 the label within the block changes to JW10 as well.
I get a block reference (has attribute) from other drawing as code follow:
Public Sub GetBlock_Info() Dim blockName As String = "test" Try Dim doc As Document = Application.DocumentManager.MdiActiveDocument Dim doclock As DocumentLock = doc.LockDocument() Dim ed As Editor = doc.Editor Dim ofd As New OpenFileDialog("Select Drawing", Nothing, "dwg; dwt", "ATS detai drawing", Autodesk.AutoCAD.Windows.OpenFileDialog.OpenFileDialogFlags.DoNotTransferRemoteFiles) Dim dr As [code]..........
I have a nested entity block reference. In this entity I have three blocks. if I change any of the block reference attribute definition in the nested block reference then it is changing the original block itself.
Actually I am getting the handle of the selected block reference in the nested Entity. and change the attribute reference later. but it is making change in the block itself and other block reference too.
Here is my
static public void CONTACTS() { Document doc = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument; Editor ed = doc.Editor; string contactName = string.Empty;//to hold contact name, from xdata [code].......
I have tried to use intersectwith to locate text (MText or DBText) near a block reference. Some times it works and some times it does not. The hard part for me is understanding why it occasionally works when most examples are just duplicates with modified text and attributes.
My block reference has 4 attributes to the left (Right Justified) of a circle and 2 attributes inside the circle. The text objects are used by some CAD operators instead of the upper 2 lines of attributtes. (Guess they dont know how to modify attributes) I want to locate these texts and insert text into the corresponding attribute.
Block Reference:
Att 1 |'''''''| <-- CAD User will insert a txt over Att 1 and Att 2, Att 2 | | <-- both attributes are usally left blank or contain a space Att 3 | | Att 4 |.....|
I have text in my title block that references part properties. If I have several different part and assembly base views on a sheet, how do I control which one the title block references? It defaults to the first one that was placed. I am using 2011 Pro.
Is is possible to get the block handle from an attribute reference? I get the attribute reference from a previously stored attribute collection. I did try attref.BlockId.Handle.Value.ToString(), but it gives a different value, not the block's id.