Jump to content

Recommended Posts

Posted

I want to create a dynamic block with 4 visual states.
I want two text values to appear in each state but in different places in each state.
If I understand correctly you cannot move an attribute from state to state.

Fields would work but I have no way of knowing how many of these blocks may be

needed in a particular drawing.

If I copy the attributes from VS to VS when creating the block, they only are available in the first state.
The other states report there is no editable attributes but if I edit the state they are there.

 

Here is a diagram of the 4 visual states. (the red is not part of the block, just a separator)

image.thumb.png.96590a0f0564b6a2911669d099c7b09a.png

 

I had created a block with 8 attributes but users found it confusing or difficult to navigate.

Is there a way to achieve this in a simpler/better fashion?

Posted

This is very similar to the problem of draw a section marker, if your happy with a lisp answer can be done very easy, you have 4 choices or can be based on say 3 point pick. Would use say 2 blocks. a HOR and VER arrow.

 

The other way may be to look at the angle the block is inserted and rotate the attribute about a centre justification, not sure if can do that in a dynamic block. will have a play. Some one else may jump in with a new dynamic block. Did something similar in another post that stretches the gap between the arrows.

Posted

This is indeed a Section Marker.
Lisp is always welcome but I don't know where to start.

Maybe the 8 attribute solution is the closest I can get...

The Text Alignment is different in each of the views.

 

Creating a field as part of the Insert would work but It would have to take into consideration

how many similar fields were existing in the drawing then increment the value/name then reassign

the new field to the new block.
Beyond my novice skill set..

Posted

Have a look at the video linked on this page. I can't quite follow it, but could you create an invisible attribute and echo it to the four positions?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...