Author Topic: Block Visility Field looses value  (Read 6545 times)

0 Members and 1 Guest are viewing this topic.

Shade

  • Guest
Block Visility Field looses value
« on: May 05, 2010, 01:36:13 PM »
Why does my attached block loose its visibility view fields value when I close the drawing?

When I place the block in the drawings the block displays the view value.
Then when I close the drawings and reopen it, the field looses its value.
What I am doing wrong?

Thanks in advance.
Shade  :mrgreen:

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #1 on: May 05, 2010, 01:50:05 PM »
Why does my attached block loose its visibility view fields value when I close the drawing?

When I place the block in the drawings the block displays the view value.
Then when I close the drawings and reopen it, the field looses its value.
What I am doing wrong?

Thanks in advance.
Shade  :mrgreen:


is it possible you have autocad set to SAVE AS to an earlier version that doesn't support dynamic blocks?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

M-dub

  • Guest
Re: Block Visility Field looses value
« Reply #2 on: May 05, 2010, 02:01:23 PM »
That's what I was going to suggest, but when I tried to open it (in 2009), I got the message "This drawing was created by a more recent version of AutoCAD..." so that kind of blew that theory out of the water. ;)

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #3 on: May 05, 2010, 02:05:34 PM »
That's what I was going to suggest, but when I tried to open it (in 2009), I got the message "This drawing was created by a more recent version of AutoCAD..." so that kind of blew that theory out of the water. ;)
nope....it could STILL be saved as downward....even while remembering it was made in the upgrade virus version
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #4 on: May 05, 2010, 02:28:55 PM »
anther thing to try....and the method I typically use when defining blocks with vis states....

I initially set the be VISIBLE....to verify that they are where and what I want them to be....

AND then edit them again....and add the invisibility options....typically this presents less challenges because you see the attribute/field initially....and then modifying the vis state and it's affects are more apparent, than trying to set them as visible, or not fro the start...at least that's my experience with them
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #5 on: May 05, 2010, 02:33:22 PM »
you might also try setting BVMODE to 1


 Specifies that hidden objects are visible but dimmed in the block editor....to verify/validate that visibility state(s) have or are being defined for the object(s) in question
 
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #6 on: May 05, 2010, 02:53:08 PM »
also note this little gem that should be BOLDED in the HELP file........

When you are finished adding elements to your dynamic block definition in the Block Editor, save the block definition.

In the Block Editor, you can save your block definition by clicking the Save Block button on the Block Editor contextual tab, or by entering bsave at the Command prompt. You should then save your drawing to make sure that the block definition is saved in the drawing.

When you save a block definition in the Block Editor, the current values of the geometry and parameters in the block are set as the default values for the block reference. When you create a dynamic block that uses visibility states, the default visibility state for the block reference is the visibility state at the top of the list in the Manage Visibility States dialog box.

Once you've saved the block definition, you can close the Block Editor and try your block in a drawing.

NoteIf you click File menu  Save while you are in the Block Editor, you will save the drawing but not the block definition. You must specifically save the block definition while you are in the Block Editor.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #7 on: May 05, 2010, 02:55:57 PM »
When I place the block in the drawings the block displays the view value.
Then when I close the drawings and reopen it, the field looses its value.
Thanks in advance.
Shade  :mrgreen:


when you say the FIELD loses it's VALUE....I have to ask what Field are you using?  or is it ONLY the visibility state? 
Or are you using a Current Sheet Set FIELD (to which your active drawing belongs to the sheet set) and your NEW drawing does not belong to the Sheet Set...and so you see nothing?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Shade

  • Guest
Re: Block Visility Field looses value
« Reply #8 on: May 05, 2010, 03:32:28 PM »
I am using AutoCAD 2010, but saving to 2007 for internal office use.
I was trying to use a blockplaceholder visibility field in an attribute of the DB.

I would like the block attribute to display the block view name I have set in the DB, when inserted.
This works fine while I am in the drawing and have place and set the blocks, but as soon as I save, exit and reopen the drawing, the value becomes lost and the attribute displays the # instead.
Is there a better way of doing what i wish to have?

By the way thanks for the help....
 

Shade

  • Guest
Re: Block Visility Field looses value
« Reply #9 on: May 05, 2010, 04:05:16 PM »
I think I may have found a bug.

If I switch the attribute from being annotative to normal text, the field keeps its value.
 :ugly:

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Block Visility Field looses value
« Reply #10 on: May 05, 2010, 04:36:04 PM »
By the way thanks for the help....
 

I try....

let me think on that...to see if another way other than 'place holder' would be more effective, and work with ANNOTATIVE text style definitions (if possible)
Be your Best


Michael Farrell
http://primeservicesglobal.com/