I found this block online. I'm trying to do something similiar. I want the attribute to be dynamic (in context). The author of this block set a visibility and then 92) lookup actions, but only (1) lookup parameter.
I made dynamic block with hatch and strech action and I have a poblem, when I press lookup action 0.5m it strech and i need to text value the same 0.5m. I attached dwg file where i do that.
This is my first dynamic block, and I am trying to make a pipe elbow that is selectable for pipe diameter, arc angle of elbow, AND radius of elbow. I got the diameter and the arc angle just fine, but I can't figure out how to do the radius of the elbow. I used a lookup table for the diameter constraints and I used my visibility state for the angle, seeing as I couldn't find a way to accomodate arc angles with a lookup table. What I'm stuck on is the radius bit.
I need to be able to select the radius or the elbow as either 1.5x, 2x, or 2.5x the diameter of the pipe. So for example, if I have a twenty inch pipe diameter, I need to be able to set the centerline radius of the elbow as either 40, 50, or 30 and then have the outside and inside radii fit proportionally. So in the case of a 20 in diameter, I would need one block with one variation that has radii of 30, 40, and 50, another variation with radii 20, 30 and 40, and yet another variation with radii 40, 50, and 60. I could easily make a reverse lookup table to do this for a single size pipe, but in order to do it for each pipe diameter I would need to be able to cross reference the other lookup table to pull the diameter value, and then have the radii respond to that value.
If this is even possible? And if it is not possible, how I could edit the arc angles with a lookup table instead of a visibility state? Because if I could do that I could use my visibility state to do the radii instead. My other options are to create a second and third dynamic block for each variation, or to add each individual radii variation to my lookup table. The latter of which I won't do because that is far too many options for a lookup table that already spans beyond the extents of my monitor. How I could accomplish all three of these tasks with a dynamic block.
Ok over the past few weeks I've got pretty much most of the Dynamic Block stuff down except this feature.
I've attached a drawing. In the middle I used VISIBILITY to have all the different weld types. I need something at the end to where Weld Tails can be added if they're needed but you can only use one Visibility per block. I'm also going to need something at the front of the block for different symbols like "Field Weld" and "All Available". If I can figure the Tails out then I can do the other one.
I have created a dynamic block and have applied some lookup tables to it but its not working just the way I want it. I think its to do with the custom entry on the lookup tables. If I delete the custom entry when i select the block in model space the drop down select box to allow me choose a selection is no longer available. How can I remove the custom entry and still have the block working normally. I've attached the block.
Is there a way to have one of the items in your visibility selection be an attribute that only brings up the attribute editor box when you select it? Right now I have a block with several different angle iron sizes that can be selected and I want one of them to be "Special" so a size that isn't in the list can be typed in if needed.
With ATTDIA set to 1 the editor box pops up every time it's inserted but nothing can be edited. Can I get that to go away yet still keep ATTDIA set to 1?
When I use visibility of dynamic block, I found it's a great feature. But when I have more objects involved in it there will be too many states.
If we have 'visibility action' beside 'visibility set' maybe it will make thing better, when use it with lookup table. Each visibility action can has it's own set of objects. Put actions in lookup table to hide and show the set combined with them.
1-i converted bi into a block as b 40 5''x 7'' and b2 as b40 7''x10''. In to a drawing called ex:bl t40 2-with b1 i opened the block editor.-insert b2 4-added parameter visibility. Completed the form to have my 2 sises available. 5- saved block as bd t40. + sabe block definition
when i open BD40 every thing is there but i cant insert in other drawing? ...what are the best way to do this simple.I WHEN INTO AUTOCAD INFO. I DONT UNDERSTAND THE SAVE PART. THERE IS NO VIDEO FOR WHAT I WHANT TO DO...
I'm having issues trying to use attribute definitions inside of a dynamic block. .I'm trying to create notes that are attached to differnet visibilty states of a dynamic block. I have multiple visibilty states that are have different attribute definitions placed on top of other definitons. The wanted attributes definitions apear to be visible in block editor but then when I test the block the wrong definitions appear. Is it because the defintions are on top of each other. Also all the definitions are in the same layer.
Imagine you have 2 objects that you always use them as a combination(like bolt and nut) and each of them has different types. I made dynamic block for each one with a visibility list and put the variation of each in that visibility list and select the one that I need from the visibility list for each and then put them together.Because they always line-up in a specific point so if you can have a 1 dynamic block with 2 visibility list you can work easier.
I am using AutoCAD 2012 LT but also have a AutoCAD 2013 (network) license available to use.
I am having a problem with my dynamic blocks. I created a set for access control and used them in several other details such as door layout and panel wiring ect. but if I try to combine a drawing with multiple tabs to show a Door detail and the panel wirirng the Dynamic block goes back to the default or original visibility state.
I have attached Sample1 and sample2 if you try to copy from one of the drawigns to the other you will notice that the dynamic blocks will change.
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();
I have created a Dynamic Block with various visibility states.The block has attributes in that are not displayed depending on which visibility state that is selected.
Is there a way for VBA to look at attributes in my dynamic block and tell which attributes are visible?
I'm trying to create a dynamic block with several different visibility states and for each visibility state I have created an attribute. Each attribute has a different text style because I need the size of the text to change when I change the visibility state. But on the model space I can only see and edit te attribute in one of the visibility states. How to create a block that allows me to see different attributes in different visibility states or that alows me to change the text stryle of the attribute acording to the visibility state?
I'm trying to create a dynamic block with visibility states for different wireframe sections, with objects (simple lines) in x,y & z planes.
The block represents a bay of scaffolding, which dynamically arrays in length in set bay sizes, but i want to add visibility for different height section arrangements (i.e number of scaffold lifts in 2m lift heights)
I have this working with the maximum section (16m high), and I hoped to be able set visibility states from for the sections 16m down to 6m by "make invisble" the upper scaffold lifts in reducing heights.
The block editor will only give me the plan (x,y) view to modify the dynamic elements. Is there a way to view left, right or even isometric in the block editor?
I am using autocad 2011 and have been using a dynamic block for calling out sections in floor plans. I can see the blocks in model space but not in paper space, and the layer is on in paper space. Is there any property, attribute or else that I need to change in order to make it visible in paper space?
I can't seem to get my visibility sets to work out. I just use the parameter set - visibility set. I create a few new visibility states such as rectangle and circle. When I switch between sets and make changes (such as deleting my circle and creating my rectangle) then switching back between visibility states, I am simply left with the rectangle on all my sets.
I seem to be missing something that "locks in" my visibility sets and leave the others unmodified. I played with the architectural-imperial block template that autocad has built in it, and their visibility sets work. But I can't recreate them inside that template.
In the past I have not managed to get attributes to constantly behave themselves if I applied a visibility state to them. Following posts by steven-g where he has a method to get them working together I thought I would give it another try. His method was used to link the attributes to a further reference attribute to reveal a field but mine is far simpler, just requiring one of two numbers to appear depending on the project state.
I had two attributes which toggled their visibility but only the primary attribute would display UNTIL AFTER I locked and prest the attributes, wherein it all looks to be working as wanted.
So my question is, why does it now work (and will it continue to do so)?
I don't know if I could get away with only one of those actions but since I had something working I didn't want to break it. I will test it once these drawings have cleared my desk.
I have made up an extensive dynamic block library over the year, however in the latest version when I have tried to modify blocks with visibility states you can not cycle through the different states it will just revert back to the first one.
I prefer using Visibility State to flip objects instead of actually using the Flip command! Simply because there are less grip points for the user when using this block. My problem is: when adjusting the physical properties of the block by using the dynamic features and then changing the visibility state (e.g. left to right), the block is no longer intact so all of the grip points will no longer alter the block accordingly.
Here at the company I work for, we have different drawing templates for certain clients. The templates share quite a bit of information with only a few differences. I combined them into one dynamic block with different visibility states for each template. But when we get ready to use a particular template, the block will need to be exploded to use all the information available.
My question is what happens to the objects not on the current visibility state when exploded? It seems to just disappear. Does the exploding essentially delete all objects not visible?
I want to be able to update a dynamic block with data from our SQL Server database using a VB.NET program.
The dynamic block is configured to show office locations and has the associated office addresses for each office location embedded within the block. However, over time, offices close, new offices are added, addresses change, and so on. Plus, we have a dynamic block in each sheet size for several template types. So, updating them remotely would be a huge advantage. I'd like to just click a button, and know that the offices in the blocks were up to date and accurate.
Currently, I can use VLISP and the DBX technology to open each file and change the addresses. But, I cannot figure out how to change the visibility state (office name) in the prompt list. Anyhow, I want to drive the changes from a VB external application rather than having to open AutoCAD and run a LISP routine. So...
how to modify the following properties of a dynamic block using VB.NET?
1. The visibility states prompt list. (add, delete, modify)
I run Autocad 2010LT at work, where I do fire alarm drawings. I've been trying to create a dynamic block (sort of a one stop-shop) for my wiring diagrams, and wanted to include device text with it.
My question is, is there a way I can create a dynamic block with multiple visibility states where each state has it's own independent/editable attribute definition?
Basically what I'm trying to acheive is the ability to make a different description layout for each one of my device types. (They all have a different function, and a different address style) Really so I can minimize the time I spend editing the formats when I'm trying to crank out a plan review ASAP.
I try to create dynamic block of Tectus hinges. Bassicaly I would like create multiple visibility block:
first grip - type of hinge (TE240, TE 340....)
second grib - type of view: elevation, side and plan.
For plan view I would like create third grip with options: close, open 90 deg, open 180 deg.
In attached file I'm started working on this. For now I focus on first two type of hinges TS240 and TS340. I'm close to realize my gola but still something doesn't work correct. If you play with grips sometimes block disappear on show as custom view.
I am trying to insert a Dynamic Block and change it's Visibility State. I can insert the block, and the visibility state changes, however, if I manually try to change it after, it does not change, even though the value has changed. My code executes and returns no errors, so I am assuming that I have done something wrong, or missed something out.
public class MyCommands { [CommandMethod("MyGroup", "Bolts", "MyCommandLocal", CommandFlags.Modal)] public void MyCommand() // This method can have any name {
[Code].....
If I insert my block manually, I can change the states and it works fine, but the code seems to break the block.
I am creating some table of contents. The first column contains symbols that are inserted blocks. Now, when I've created dynamic blocks I've made them to have more visibility states. If I insert the block that has such states, only the saved state is visible. Is there any way that I can use more visibility states when inserting some block into table.
At the moment the only solution is to insert another simplified block that I've created just for this insertion. That way my blocks library is getting bigger and bigger only because of this. I don't use simplified blocks in my drawings, except for the thingy mentioned above.