AutoCad :: Geology Dynamic Block / Visibility And Lookup Action?
Feb 14, 2013
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.
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.
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.
I have a rather unusual problem. I'm using AutoCADLT2013. I have a dynamic block, with chained parameters. The block works perfectly, however, I'm expanding the contents, and trying to add more polylines to existing actions.
I have the following Actions showing: Stretch, Lookup, and Visibility. All of these actions are on unchained Parameters. The 2 Actions I'm missing are Arrays, both on chained Parameters with no Grips.
I've used ACTIONBAR on both Parameters (Show, then Hide, then Show again, I don't want to use Reset!), yet the Action Bars still won't show!
I've been messing for nigh on 2 hours and I can't figure it out. To make things worse, I can't use the Parameter Manager, due to it disappearing when in Block Editor.
I really don't want to have to start again, as it was a right pain in the rectum to get to work right.
So I've done a reasonable amount of work with dynamic blocks. I have a block with a rotation action and grip to arbitrarily align it. However I realized when trying to combine it with an alignment grip (which actions on the basic or fundamental block rotation angle) that there didn't seem to be a way to some how link a dynamic block rotation action or one of the custom angle properties to a the fundamental block rotation angle. Thus there are two additive rotations at work; the dynamic block one with its grip and the fundamental rotation property.
This can cause some confusion when one person aligns with the grip and another via rotating the block's fundamental property and would also be problematic in the generalized sense if one was trying to select or programmatically read back the net angle alignment.
I've got a block with 2 lines of text, the second line being optional. If the second line is omitted, the first line should be moved down, so it's centered.
I can handle the second line being omitted with a visibility parameter. And I can handle the first line being moved down with a move parameter. But how can I link the two?
Ideally, I'd be able to re-use the line 1 attribute and display it in whichever place was correct, but that doesn't seem to be possible.
I have a block which I want 2 visibility states. VS1 and VS2 share some objects and not others. I have a linear parameter in each which I want to do a stretch action on. The stretch action in each visibility state acts upon entities both shared and unshared between VS1 and VS2. This doesn't seem to work..
I am in the process of fixing one of our dynamic blocks. It's a fairly simple fix where there was a typo in one of the names of our items in the lookup that needed to be fixed.
I changed the name of the item in the lookup table. I went and did the test block and it seemed to work fine, but when I bring the block into a drawing, it reverts back to the old lookup as if I did nothing at all.
I made sure that the path was correct and I even just dragged and dropped straight from Windows Explorer to no avail.Does AutoCAD keep referring to the old block? Did I forget to change something else?
My boss gave me a copy of Autocad 2012. I've messed around with architecture 2010 before so the ribbons are no surprise. One thing I have noticed that's really different is the dynamic block constraints & block table actionblock properties table? I looks very similar to the lookup property table
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?