Link text height Property with parameter

Link text height Property with parameter

Anonymous
Not applicable
1,851 Views
7 Replies
Message 1 of 8

Link text height Property with parameter

Anonymous
Not applicable

Can any one help me how to adjust text height with respect to parameter.

 

For Ex.:

If i draw a line of 1000mm(Parameter d1) and i entered text "Line 1000" with text height of (d1/100)mm =10 mm.

when i change length paramter d1to 10000mm then text height should change to d1/100=100 mm.

 

please suggest if is ther any way to link parameter with text properties. Else pleae suggest any solution for this issue.

 

Thanks in advance.

0 Likes
Accepted solutions (3)
1,852 Views
7 Replies
Replies (7)
Message 2 of 8

Libbya
Mentor
Mentor
0 Likes
Message 3 of 8

Anonymous
Not applicable
hi Libbya,

Thank you for the response.

I was able to manage with geometry but i want to control the text. i am not able to control the text height with parameter.

please suggest accordingly.
0 Likes
Message 4 of 8

ojuris
Advisor
Advisor
Accepted solution

hi!

 

is this what you want?

0 Likes
Message 5 of 8

Anonymous
Not applicable
hi ojuris,

Could you please give me the cad drawing in lower version. i have autocad 2012. can you please convert the drawing as suitable. so that i can check and get back to you.
0 Likes
Message 6 of 8

ojuris
Advisor
Advisor
Accepted solution
 
0 Likes
Message 7 of 8

Anonymous
Not applicable
Ya this is the one i am looking for.....

Thanks Ojuris.

Could you please explain me the process how the text is getting bigger and what is the relation you made between text and line length parameter to make the text bigger.
0 Likes
Message 8 of 8

ojuris
Advisor
Advisor
Accepted solution

I add 2 distance parameters - 1 for line length, 2 for text height - both for size you need (in your case Distance1 is 1000, Distance2 10 (1000/100))

 

For 2 parameter I add scale action to scale attribute and for parameter switch Chain Actions to Yes

 

For 1 parameter I add stretch action to change line length and another stretch action with scale factor 0.01 to stretch length of Distance2

 

After that close block editor mode and for attribute add text and field with line legth