Change justify of attribute with visibility

Change justify of attribute with visibility

Anonymous
Not applicable
1,277 Views
11 Replies
Message 1 of 12

Change justify of attribute with visibility

Anonymous
Not applicable

Hello all,

please, is possible change justification of attribute with change visibility of dynamic block? More on the picture. Thank you very much for your answer. Ljustify_att.jpg

0 Likes
1,278 Views
11 Replies
Replies (11)
Message 2 of 12

skintsubby
Advisor
Advisor

Hi Lucas

 

I don't think that is possible. As far as I'm aware... Attributes are locked to the same location on different visibility states.

 

Mark

0 Likes
Message 3 of 12

h_s_walker
Mentor
Mentor

You will need an attribute for each visibility state

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 4 of 12

Libbya
Mentor
Mentor

You can use 4 attributes and accomplish the desired functionality.  Create 1 invisible attribute (invisible in properties but visible in each visibility state) that houses the value you would like displayed.  Create the three differently justified attributes and insert a field into each of them that references the value of the invisible attribute.  Make sure the invisible attribute is the one that is edited to change the value.  Regen to update the field.  Post the block if you actually need more details than that.  

0 Likes
Message 5 of 12

Anonymous
Not applicable

Hello, thanks for reply. I know about that, but if i do it in editor od block, regen to update fields doesn't work. If i do it in normal Drawing, so after update field works, but fields are same for all copy of this block 😞 Block uploaded under text.

0 Likes
Message 6 of 12

Libbya
Mentor
Mentor

The block you posted does not contain any fields.  The process I outlined works.  Here is a screencast that shows the step-by-step.  If it does not work for you after following the steps, then post the block that contains the attributes/fields that you were trying to make work.  That way I can point out the errors.  You need to 'jumpstart' the fields by performing a dynamic action.  After that, they work fine.  

 

 

0 Likes
Message 7 of 12

Libbya
Mentor
Mentor

In this screencast I show it working fine.

0 Likes
Message 8 of 12

MMcCall402
Mentor
Mentor

First:  The 4 attributes with fields in the block all have the tag of X.  This could potentially cause problems and should not be done. Rename them to be unique.

Second:  Select the 4 attributes and set all of the misc properties in the properties palette to be No, except for the lock position, that one can be yes.   The issue was that the Verify and Constant properties being set to Yes stripped the field from the attribute when the block was inserted.

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 9 of 12

Libbya
Mentor
Mentor

My last screencast didn't post.  Hmmm.  I'll try again.  

 

 

0 Likes
Message 10 of 12

Libbya
Mentor
Mentor

@MMcCall402 wrote:

First:  The 4 attributes with fields in the block all have the tag of X.  This could potentially cause problems and should not be done. Rename them to be unique.

Second:  Select the 4 attributes and set all of the misc properties in the properties palette to be No, except for the lock position, that one can be yes.   The issue was that the Verify and Constant properties being set to Yes stripped the field from the attribute when the block was inserted.


Ha, I didn't even recognize those as attributes.  I should have looked more closely.  Yup, unique tags are needed for each attribute and constant=yes disables any fields.  Verify=yes can still work, but it should be no just to prevent users from destroying the fields.  Preset=yes is a good idea on the attributes containing fields, again to prevent users from destroying the fields.  Here's a screencast showing the step-by-step to correct the block and shows it working correctly.  

 

 

0 Likes
Message 11 of 12

Anonymous
Not applicable

Hello, thank you all for replays and videos 🙂 But isn't way to not show attribute with fields in properties?

0 Likes
Message 12 of 12

Libbya
Mentor
Mentor

There is not any way that I know of to prevent the field attributes from being displayed in the edit attributes dialog.  

0 Likes