AutoCAD Dynamic Blocks :: Attribute Automatically Prompt For Entering Info Upon Changing Visibility State?

Jan 30, 2013

I want to create a dynamic block with multiple visibility states.  Each of these states will have it's own attribute for users to enter in information.  Is there a way to have the attribute automatically prompt for entering information upon changing the visibility state?  That is without hashing too much into the API and code?

Then maybe even go a step further and clear out existing attribute information if the visibility is changed?

View 5 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Dynamic Blocks Not Changing Visibility State With Automated Process

Oct 6, 2011

I have created a bunch of templates (title block type drawings) for my company. In these templates there is a dynamic block used for a particular note. Based on customer number, this note will be changed.

We have a program that will insert the correct template based on the drawing type. It will know the customer number and change the dynamic block visibility state to reflect the correct text in the note.

Here's the problem; I don't know why, but sometimes the visibility state does not change. It's not the code as it works just fine in some drawings.

I've gone in and just changed the visibility state name, then changed it back, then saved the drawing and it worked.  In some cases, I've also just gone into the template and deleted the dynamic block and re-inserted it, and it began to work again.

Having trouble with dynamic block visibility states not working when using an automated process?

View 2 Replies View Related

AutoCAD Dynamic Blocks :: Add Exact Same Objects And Visibility State To Blocks

Jan 7, 2014

I have over 100 blocks that I need to add the exact same objects and visibility state to.  Is there a way to globally make this change, or even to copy the visibility states from one block to the next without having to recreate the states in each block?  I thought I had previously run across a routine on here that would make changes to multiple blocks at once, but I can't seem to find it now.  

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Visibility State Works In BE But Not DWG

Jun 13, 2013

I have this view label block I have been using for some time know and it worked fine up until today. I asked a user to add a visibility state to show a triangle around the ViewNumber. In doing so the user wanted to cleanup the viibilty state names. In the block editor all the states and names look good, but in the drawing it shows the old vis state names and the added state for the triangle is not available.

Civil 3D 2012 & 2013
HP Z210 Workstation
Intel Xeon CPU E31240 @ 3.30 Hz
12 GB Ram

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Exploding Block With Visibility State

Aug 8, 2012

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? 

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Invisible Attribute Constant Dynamic Block Visibility State?

Jan 24, 2013

I have a dynamic block with several visibility states, and each visibility state has one invisible-constant attribute. I can't seem to wrap my head around dynamic blocks well enough to get the value from the active visibility state invisible constant attribute. I know how to get the visibility state like this:

(setq ss (ssget "_x" (list '(0 . "INSERT") '(2 . "`*U*,<DynBlockName>") (cons 410 (getvar 'ctab)))))

 but what next?

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Control The Visibility State Of An External Referenced Drawing?

Nov 10, 2012

Is it possible to contol the visibility state of an external referenced drawing? I have an architectural plan drawing that uses a titlesheet drawing as an external reference. In my civil plan i want to use a different title sheet. Instead of having a different titlesheet drawing for the civil drawing i was wondering if i could turn my titlesheet drawing into a dynamic block. In my architectural drawing i would see visibility state #1 & in my civil drawing i would see visibility state #2.

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Visibility State Scope - Restrict To Operate Only On Certain Objects

Nov 26, 2012

With Visibility States there appears to be only 4 options:

Hide for current state.Show for current state.Hide for all statesShow for all states.

I need a 5th option... Do not change visibility when this state is set current.

So, in other words, I'd like to turn objects on or off independently from each other... so lets say I have two sets of objects... I want to toggle on only the 3rd item in set A and only the 5th item set B... but each set would function separately from the other set.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Dynamic Blocks Change Visibility State

Nov 1, 2013

I have 4 Dynamic Blocks with the same name, but each are on different layout pages. I need to change the visibility state of all 4 to the same value. So far every attempt of mine has failed.

My process at this point is to: build a selectionset of all 4 Dynamic Blocks with the same effective name, convert the selectionset to a list of entity names, then use a foreach to change the visibility states one at a time. Currently, I get "error: bad argument type: lselsetp <Entity name: 7ffff7b6c90>". <Entity name: 7ffff7b6c90> is the entity name of the first block in the list. I'm guessing it's because the block is found on a non-current tab
 
(defun chgdynprop (e propname newval / obj v vval sal tot i) (setqobj (if(= (type e) 'vla-object) e (vlax-ename->vla-object e))) (if (= (vlax-get-property obj

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Attribute In Visibility Parameter

Dec 17, 2012

What I'm trying to do is have a graphic scale with a set list of scales the user can pick from. This was easy using the Visibility Parameter.

However, I want to add a "custom" vis state where, once they select this option, the attributed definition box will pop up and give them the option to input whatever scale they are using.Check out the attached .dwg to see what I've done so far (I just have the attributes on the "custom" vis state).

View 7 Replies View Related

AutoCAD Dynamic Blocks :: Visibility Names Are Not Reflected On Attribute

May 17, 2013

I have two visibility states. STATE1 and STATE2 used at attribute .

I only see the first (STATE1) or the default. 

Changing  the state works fine with objects ( a simple box and circle) but not with the attribute.

View 9 Replies View Related

AutoCAD Dynamic Blocks :: Displaying Attribute Info In Multi-leader?

Sep 16, 2013

is there an way to display attribute data using a multi-leader inside a single dynamic block.

To elaborate, I'm trying to create a borehole dynamic block that I can enter the ground level and end of borehole level as attributes, and have them show up in a multi-leader. The reason for the multi-leader is that I can add a background mask to it and it automatically adjusts the length of the outline obox around it.

I just want to insert the borehole block from a tool palette, enter a couple of attributes, stretch the bottom down to whatever level, and I'm done.

I've been playing with it all weekend trying to get fields to show the attributes and I can get it to work if I use another block for the levels (multi-leaders), but even then I have to into the fields an mess with them. It's go to be east so my CAD guys can do it without slowing down, otherwise they may as well carry writing everything out long-hand as they do now.

I'm using Civil 3D 2012, if that matters.

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Insertion Point Of Attribute Changing Within Dynamic Block

Nov 21, 2011

I wish to create a dynamic block containing some attributes. These attributes are inside rectangles that can't be modified in length using linear parameters ; but the attribute has to be always in the middle of the rectangle. So, I draw a line inside the rectangle (in a hidden layer) and insert the attribute with center justification (not sure for the translation) that I place in the middle of this line ; then I put a coincidence constraint (not sure for the translation, but it's the first one) linking the middle of the line with the middle of the attribute.

But here's the problem : when stretching my rectangle, the insertion point of the attribute suddenly changes from "center" to "bottom left".

View 2 Replies View Related

AutoCad :: How To Prevent Edit Attribute Pop Up Prompt For Entering Text In A Block

Dec 18, 2013

How do I prevent "Edit Attribute" pop up prompt for entering text for an attribute in a block? I just want the same attribute text each time I insert the block, I don't want the "Edit Attribute" popup window to re-enter the same text every single time.

I do want the attribute text so mirror won't reverse it (I just want permanent attribute text).

First I delete the old regular text.Second I give the block an Attribute Definition Tag and enter the text I want in the Tag blank. Third I center where I want the text. Forth I save the block.

When I finally insert the block I get the "Edit Attribute" pop up to renter what I want it to say. Like I said earlier, I don't want this pop up, I just want to enter the text once and that's it. Also if I enter nothing in the "Edit Attribute" pop up, then no text will show on the block.

View 3 Replies View Related

AutoCad :: Dynamic Block Changes Visibility State

Nov 20, 2012

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 also attached the original Dynamic block.

Sample1.dwg
Sample2.dwg
Original.dwg

View 1 Replies View Related

AutoCad :: Visibility State For 3D Wireframe Dynamic Block

Dec 2, 2011

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?

View 1 Replies View Related

AutoCad :: Dynamic Block Not Working When Using Visibility State

Apr 11, 2013

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.

details-section_marker(both).dwg

View 2 Replies View Related

AutoCAD 2013 :: Block Editor Visibility State - Editing Old Blocks

May 28, 2012

I installed Autocad 2013 a few weeks ago and I have a lot of blocks made with earlier versions (2008, 2012, etc...) that I need to use. When I try to edit such a block, block editor gives me trouble with visibility states. I can't select visibility states, and when I can, the changes made to that state don't follow and often the program reverts back to the first visibility state for no reason. This is getting to be extremely annoying and I'm thinking of going back to 2012 because of this. Is there a patch or some way to correct this?

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Printing Dynamic Titleblocks With Visibility States

Feb 15, 2012

usage of dynamic title blocks with visiblity states and defining page setup override templates which use same for quick plotting using sheet sets.

I have attached a simple dynamic block that I built which is the outter frame of our company title block, it is designed to allow users to quickly switch between Landscape and Portrait orientations. 

The problem I am having is when I go to define page setups for my Sheet Set Page Setup Override Template I am unable to use the "Extents" option with auto-center because the "Extents", as defined by the page setup, includes ALL objects in the paper space regardless of visibility, so my title block ends up being centered in a stupid way if that printing configuration is used. 

The only solution I have found is to use the "Layout" option when defining page setups, but this option produces other issues in other ways when printing.  I don't want to use the "Window" option either for the potential for users to be using the page setup overrides to print drawings using different paper sizes or drawings that were not originally created using the current template the override is designed to accomodate.

Is there perhaps a system variable that defines whether invisible objects are included in the "Extents" setting in the page setup?  I'm sure you'll all agree that Extents is the way to go in this situation, but it is not performing exactly as required.

View 5 Replies View Related

AutoCAD 2010 :: Visibility State Drop Down Menu Missing From Dynamic Block Toolbar

Feb 10, 2012

I was working on a dynamic block and visibility states, but for uknown reason I don't see the visibility drop down on the block editor toolbar.

Is there a way to turn it on. I am using AutoCad 2010.

See the attached file for a screen shot.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Insert Dynamic Block With Visibility State Pre-selected?

Dec 24, 2013

I currently insert certain dynamic block into drawings with a short function that first inserts the specified dynamic block and then immediately changes the visibility state to one specified as an argument to the function.

I'm wondering if it is possible / better / faster to somehow insert the dynamic block with the decided visibility state simultaneously. I've been amazed by many capabilities of VL so I wouldn't at be surprised if this can be done. (the dynamic blocks I'm inserting could have many multiples in the drawing but I need this method to only affect the one being inserted at the time the function is called. I currently use entlast to decide which one is being inserted.)

View 6 Replies View Related

AutoCAD Dynamic Blocks :: Set Dynamic Visibility To Viewport?

Sep 7, 2011

Is it possible to have 1 instance of a dynamic block  (with multiple visibility states and/or look up properties)  in your drawing and view a different visibility state or look up in different viewports?

View 1 Replies View Related

AutoCAD Dynamic Blocks :: Pass Attribute Values To Dynamic Block Parameters?

Dec 4, 2013

I am looking for a way to use the ATTIN/ATTOUT workflow to bring in data from an excel spreadsheet to drive the size of each of my block's instances. The block will be simple, a rectangle, with width and length parameters. For each entity in my excel/csv file these parameter values are spelled out. I know how to display these parameters in my attributes, but I don't know how, if I were to feed in these values, to drive the geometry. If there's a better way to take a list of width and length values to generate a series of blocks each with a rectangle containing its respective size.

View 1 Replies View Related

AutoCAD Architecture :: Attribute Info In Blocks Not Showing Up?

Jan 4, 2011

I have stored a few blocks in our library in 2D.  They contain attributes such as detail numbers, elevation/sheet numbers, and side attributes for keynotes.  But whenever I drag the blocks in now, instead of prompting for the information to be filled out for the attributes it only asks for insertion point and scale and that's it.  it inserts the block but no text shows up, not even a default text.  There has to be a setting to turn off or on.

View 4 Replies View Related

AutoCad :: Insert Blocks From Excel With Attribute Info?

Jul 19, 2011

I have found a few things on here, but not exactly what I want. We have a excel spreadsheet with borehole references and coordinates. I need to be able to insert a block according to these coordinates and the borehole reference as the attribute.

View 5 Replies View Related

AutoCAD VB :: Detecting Dynamic Block Attribute Visibility With VBA?

Dec 8, 2011

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?

View 1 Replies View Related

AutoCAD .NET :: Dynamic Block Not Changing State

Sep 6, 2011

I have created a bunch of templates (title block type drawings) for my company.  In these templates there is a dynamic block used for a particular note.  Based on customer number, this note will be changed.

We have a program that will insert the correct template based on the drawing type.  It will know the customer number and change the dynamic block visibility state to reflect the correct text in the note.

I don't know why, but sometimes the visibility state does not change.  It's not the code as in some drawings it works just fine.  I've gone in and just changed the visibility state name, then changed it back, then saved the drawing and it worked.

Has trouble with dynamic block visibility states not working when using an automated process?

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Delete Last Attribute In All Of Specific Blocks

Jan 24, 2012

I have the same block repeated multiple times in a drawing, and I want to delete the last attribute in all of the specific blocks.  When I edit the block in block editor, the attributes do not show up.  After I explode the block, there is no text.  The attached image shows the properties of the block.

View 9 Replies View Related

AutoCad :: Dynamic Blocks With Visibility Parameters

Nov 12, 2008

Creating a dynamic block that contained more than one visibility parameter. I have tried and it wouldn't let me do more than one. I was thinking of using multiple visibility to work through some text or attribute option all contained in one block instead of having 5 seperate blocks. Wanted to combine all 5 into one, just cannot get the multiple visibility to work.

View 9 Replies View Related

AutoCad :: Dynamic Blocks - Action Bar Visibility

Jul 10, 2012

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.

View 3 Replies View Related

AutoCAD Dynamic Blocks :: Multiple Visibility States?

Aug 29, 2011

So, while it wasn't common before, I am finding a need for multiple visibility states in blocks more and more these days, since AutoCAD can't do it I was wondering what work around and tricks people had come up with??

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved