Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fields in Dynamic Blocks

13 REPLIES 13
Reply
Message 1 of 14
tddonoho
5247 Views, 13 Replies

Fields in Dynamic Blocks

I wish to place two fields in a dynamic block that will show the length and width of the block (a shelving unit) as the size of the block changes. At AU, John Beltran told me that using the field BlockPlaceholder would accomplish this. When I select BlockPlaceholder in the fields list, it tells me that it is "Only accessible in the block editor." Well, that is where I am, but I cannot make a choice or continue. Any ideas?
13 REPLIES 13
Message 2 of 14
Anonymous
in reply to: tddonoho

1. put you block in a container drawing
2. I do not see any attributes in the block
Message 3 of 14
tddonoho
in reply to: tddonoho

Thank you for your reply. There are no attributes in the block, just Width and Length dimensional constraints and a Block Property Table. I remember John saying something about needing text or attributes but I couldn't see how to convert these to fields.
I put the block into a "container" dwg, just in case.
Message 4 of 14
Anonymous
in reply to: tddonoho

Block Placeholder fields can only be used inside an ATTRIBUTE inside the
Block Editor. Start the ATTDEF command, and click the button at the end of
the Default box to add the field. Then you can add references to your length
and width parameters.

But depending on how your block is set up, you might also be able to use a
regular Object field that pulls the actual length or width of your geometry,
instead of the parameter value. It's up to you.

--
Kate Morrical
AutoCAD LT Technical Marketing Manager
http://blogs.autodesk.com/ltunlimited


wrote in message news:6300919@discussion.autodesk.com...
I wish to place two fields in a dynamic block that will show the length and
width of the block (a shelving unit) as the size of the block changes. At
AU, John Beltran told me that using the field BlockPlaceholder would
accomplish this. When I select BlockPlaceholder in the fields list, it
tells me that it is "Only accessible in the block editor." Well, that is
where I am, but I cannot make a choice or continue. Any ideas?
Message 5 of 14
Anonymous
in reply to: tddonoho

Forgot to add that Object fields don't have to be in attributes, but can be
in text or mtext objects also.

--
Kate Morrical
AutoCAD LT Technical Marketing Manager
http://blogs.autodesk.com/ltunlimited


"Kate M" wrote in message
news:6301029@discussion.autodesk.com...
Block Placeholder fields can only be used inside an ATTRIBUTE inside the
Block Editor. Start the ATTDEF command, and click the button at the end of
the Default box to add the field. Then you can add references to your length
and width parameters.

But depending on how your block is set up, you might also be able to use a
regular Object field that pulls the actual length or width of your geometry,
instead of the parameter value. It's up to you.

--
Kate Morrical
AutoCAD LT Technical Marketing Manager
http://blogs.autodesk.com/ltunlimited


wrote in message news:6300919@discussion.autodesk.com...
I wish to place two fields in a dynamic block that will show the length and
width of the block (a shelving unit) as the size of the block changes. At
AU, John Beltran told me that using the field BlockPlaceholder would
accomplish this. When I select BlockPlaceholder in the fields list, it
tells me that it is "Only accessible in the block editor." Well, that is
where I am, but I cannot make a choice or continue. Any ideas?
Message 6 of 14
Anonymous
in reply to: tddonoho

Hi Kate, I'm new to 2010 environment. I agreed with your post, in 2008 I
would add a BlockPlaceHolder and select the parameter from the list and all
would be great but when I looked into the OP's block the parameters are
"Constrained" and the BPH will not allow me to select those for use in the
field. Could you offer further insight into this?

Thanks, Joe
Message 7 of 14
Anonymous
in reply to: tddonoho

Hi Joe,

It worked for me in 2010 (using the second post from the OP). I started the
ATTDEF command, launched the Insert Field dialog from there, selected Block
Placeholder, and ShelfLength and ShelfWidth were available as block
reference properties.

--
Kate Morrical
AutoCAD LT Technical Marketing Manager
http://blogs.autodesk.com/ltunlimited


"Joe Bouza" wrote in message
news:6301085@discussion.autodesk.com...
Hi Kate, I'm new to 2010 environment. I agreed with your post, in 2008 I
would add a BlockPlaceHolder and select the parameter from the list and all
would be great but when I looked into the OP's block the parameters are
"Constrained" and the BPH will not allow me to select those for use in the
field. Could you offer further insight into this?

Thanks, Joe
Message 8 of 14
Anonymous
in reply to: tddonoho

I'll try again - I received and invalid field parameter message

Thanks - I'll let you know... off for a bite
Message 9 of 14
Anonymous
in reply to: tddonoho

Thanks Kate I revisited the block and got it to work

Joe
Message 10 of 14
tddonoho
in reply to: tddonoho

Kate & Joe: Thank you both. Using the Field/Attribute technique, the block works the way I wanted. I'm intrigued by Kate's comment about setting the block up to use a regular Object field. How would you do that? Any suggestions as to getting the text to read 18" x 48"?
Truman
Message 11 of 14
Anonymous
in reply to: tddonoho

Hi Truman, in earlier version I had success, in the attribute field
definition, selecting the physical line for width & length with the object
option and highlighting the length, but 2010 is giving me some probs.

Maybe Kate will pop back and offer some insight.

Joe
Message 12 of 14
Anonymous
in reply to: tddonoho

Just pick an object instead of a block parameter, and pull one of its
properties. If you want the length and width of a rectangle, though, it will
likely need to be made up of lines (not a polyline), which may or may not
work with whatever else you want to do with the rectangle...

As for the units, you can set your display preference in the field
properties as well. For an existing field, right-click on it, choose "edit
field", and change the units.

--
Kate Morrical
AutoCAD LT Technical Marketing Manager
http://blogs.autodesk.com/ltunlimited


wrote in message news:6301568@discussion.autodesk.com...
Kate & Joe: Thank you both. Using the Field/Attribute technique, the block
works the way I wanted. I'm intrigued by Kate's comment about setting the
block up to use a regular Object field. How would you do that? Any
suggestions as to getting the text to read 18" x 48"?
Truman
Message 13 of 14
Anonymous
in reply to: tddonoho

Thanks Kate I'll try again.

Joe
Message 14 of 14
Anonymous
in reply to: tddonoho

Hello,

I am trying to set up some dynamic blocks that I can use a TABLE to change the visibility states of the block. Put simply, I want to enter a value in a table and have it change the visibility state of the block to match the correct state for the input value. I know how to set up the block, how to set up and change the visibility states of the block with the drop down list. I am relatively new to using fields in general, but my company has tasked me with the job of setting up blocks for what we do, and would like to have a data table to put options in and have it change the different aspects of the block. Is it possible to use fields or some type of lookup function to change the visibility states of a dynamic block? Thank you for your help.

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost

 

”Tips

 

”Services