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

Input labels and line length based on two inputs

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
graphtype
862 Views, 7 Replies

Input labels and line length based on two inputs

Hello!

I'm trying to create a pline in a dynamic block where the length is determined by two values I would input into properties or as attributes. 

 

The first value 'A' will be a ground surface elevation

The second value 'B' will be a ground water elevation

 

I would like to the pline to have a length of A minus B. 

 

I would then also like to have mtext (or any other method of display text) to display the values of A and B.

 

For example, if I have a ground surface of 102 and a ground water of 91, my line length will be 11, and I can display a label of '102' at the top of the line and '91' at the bottom of the line. 

 

I've created dynamic blocks before, but none that have used an expression of two values or having to display inputted values. I'm not really sure where to start with this, or if it's even possible.

 

Thanks! 

--Lawrence.
7 REPLIES 7
Message 2 of 8
Charles_Shade
in reply to: graphtype

Cannot do so.

Attrib and Parameter entries cannot drive the Action.

These only read the Value of the Parameter afterwards.

 

On the opposite end of thsi conversation you can set this up so that the bottom is placed at 91 and then the top is Stretched to 102 and have those Values returned in the Labels (FIELD)

Message 3 of 8
truss_85
in reply to: graphtype

Take a look block attached.
Message 4 of 8
truss_85
in reply to: graphtype

Sorry I forgat attachment

Message 5 of 8
Charles_Shade
in reply to: truss_85

Message 6 of 8
graphtype
in reply to: Charles_Shade

Thanks! I figured out a way to do what I need to with what you and truss_85 posted.
--Lawrence.
Message 7 of 8
graphtype
in reply to: truss_85

Thanks for posting the block, it was greatly appreciated.
--Lawrence.
Message 8 of 8
truss_85
in reply to: graphtype

I am glad to help.

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

Post to forums  

”Boost

 

”Tips

 

”Services